File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -2,30 +2,30 @@ name: Run Fossa Scan
22
33on :
44 push :
5- tags :
6- - ' *'
5+ branches :
6+ # v1.27, v1.28, v1.29 and so on
7+ - " v1.*"
8+ # For manual scans.
9+ workflow_dispatch :
710
811jobs :
912 fossa :
1013 runs-on : ubuntu-latest
1114 permissions :
1215 contents : read
1316 id-token : write # needed for the Vault authentication
14- continue-on-error : true # we know that fossa test will report errors
1517 steps :
16- - name : Load Secrets from Vault
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+
21+ - name : Read FOSSA token
1722 uses : rancher-eio/read-vault-secrets@main
1823 with :
1924 secrets : |
20- secret/data/github/repo/${{ github.repository }}/fossa/credentials token | FOSSA
21- - name : Checkout Repo
22- uses : actions/checkout@v4
23- - name : Run Fossa analyze
24- 25- with :
26- api-key : ${{ env.FOSSA }}
27- - name : Run Fossa test
28- 25+ secret/data/github/org/rancher/fossa/push token | FOSSA_API_KEY_PUSH_ONLY
26+
27+ - name : FOSSA scan
28+ uses : fossas/fossa-action@main
2929 with :
30- api-key : ${{ env.FOSSA }}
31- run-tests : true
30+ api-key : ${{ env.FOSSA_API_KEY_PUSH_ONLY }}
31+ run-tests : false
You can’t perform that action at this time.
0 commit comments