Adding support for supplying POM on Maven Attestor #132
Workflow file for this run
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: | |
push: | |
branches: ["main"] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: ["main"] | |
schedule: | |
- cron: "0 0 * * 1" | |
permissions: | |
contents: read | |
jobs: | |
fossa-scan: | |
env: | |
FOSSA_API_KEY: ${{ secrets.fossaApiKey }} | |
runs-on: ubuntu-latest | |
steps: | |
- if: ${{ env.FOSSA_API_KEY != '' }} | |
name: "Checkout Code" | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- if: ${{ env.FOSSA_API_KEY != '' }} | |
name: "Run FOSSA Scan" | |
uses: fossas/fossa-action@f61a4c0c263690f2ddb54b9822a719c25a7b608f # v1.3.1 | |
with: | |
api-key: ${{ env.FOSSA_API_KEY }} |