Chore/upstream go witness (#4) #4
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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- if: ${{ env.FOSSA_API_KEY != '' }} | |
name: "Run FOSSA Scan" | |
uses: fossas/fossa-action@47ef11b1e1e3812e88dae436ccbd2d0cbd1adab0 # v1.3.3 | |
with: | |
api-key: ${{ env.FOSSA_API_KEY }} |