Skip to content

Workflow file for this run

name: FOSSA scan
on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
permissions:
contents: read
jobs:
fossa-scan:
runs-on: ubuntu-latest
steps:
- name: "Checkout Code"
uses: actions/checkout@v3
- name: "Run FOSSA Scan"
uses: fossas/fossa-action@main # Use a specific version if locking is preferred
with:
api-key: ${{secrets.fossaApiKey}}
#- name: "Run FOSSA Test"
# uses: fossas/fossa-action@main # Use a specific version if locking is preferred
# with:
# api-key: ${{secrets.fossaApiKey}}
# run-tests: true
- name: "Run FOSSA CLI"
- run: |
echo "Inside group"
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | sudo bash
fossa analyze