File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : FOSSA Scanning
2+
3+ on :
4+ push :
5+ branches : ["main", "master", "release/**"]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : read
10+ id-token : write
11+
12+ jobs :
13+ fossa-scanning :
14+ runs-on : ubuntu-latest
15+ timeout-minutes : 30
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
19+
20+ # The FOSSA token is shared between all repos in Rancher's GH org. It can be
21+ # used directly and there is no need to request specific access to EIO.
22+ - name : Read FOSSA token
23+ uses : rancher-eio/read-vault-secrets@main
24+ with :
25+ secrets : |
26+ secret/data/github/org/rancher/fossa/push token | FOSSA_API_KEY_PUSH_ONLY
27+
28+ - name : FOSSA scan
29+ uses : fossas/fossa-action@main
30+ with :
31+ api-key : ${{ env.FOSSA_API_KEY_PUSH_ONLY }}
32+ # Only runs the scan and do not provide/returns any results back to the
33+ # pipeline.
34+ run-tests : false
You can’t perform that action at this time.
0 commit comments