Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platform/fossa test #3

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .fossa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
version: 3
30 changes: 30 additions & 0 deletions .github/workflows/fossa-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: FOSSA Scan
on:
pull_request:

permissions:
repository-projects: read
contents: write
id-token: write
packages: write
actions: write

jobs:
fossa_scan:
runs-on: ubuntu-latest

steps:
- name: Install LFS Dependencies
run: sudo apt update && sudo apt install git git-lfs -y

- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
lfs: true

- name: Install FOSSA CLI
run: |
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash ;
export FOSSA_API_KEY=${{ secrets.FOSSA_API_KEY }};
fossa analyze --experimental-force-first-party-scans --debug --revision 1.0 --branch fossa-test --unpack-archives