Platform/fossa test #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- 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 --debug --revision 1.0 --branch fossa-test --unpack-archives |