diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml new file mode 100644 index 000000000..d8be91668 --- /dev/null +++ b/.github/workflows/fossa.yml @@ -0,0 +1,23 @@ +name: FOSSA License Scan +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +permissions: + contents: read # for actions/checkout to fetch code + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 + + - name: Run FOSSA scan and upload build data + uses: fossa-contrib/fossa-action@6728dc6fe9a068c648d080c33829ffbe56565023 # v2.0.0 + with: + # FOSSA Push-Only API Token + fossa-api-key: 8135a2e556de91096707c7b37504b353 + github-token: ${{ github.token }}