File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1414 # Don't attempt to run FOSSA on forks
1515 if : github.repository_owner == 'spinframework'
1616 runs-on : ubuntu-latest
17+ env :
18+ FOSSA_API_KEY : d21f74dd762b95fa3e318b70e8428ca5 # This is a push-only token that is safe to be exposed
1719 permissions :
1820 contents : read
1921 steps :
2224 - name : " Run FOSSA Scan"
23252426 with :
25- api-key : d21f74dd762b95fa3e318b70e8428ca5 # This is a push-only token that is safe to be exposed
27+ api-key : ${{ env.FOSSA_API_KEY }}
28+
29+ - name : " Run FOSSA Test"
30+ if : github.event_name == 'pull_request'
31+ 32+ with :
33+ api-key : ${{ env.FOSSA_API_KEY }}
34+ run-tests : true
35+ # TODO: uncomment once we have scans from the main branch
36+ # test-diff-revision: ${{ github.event.pull_request.base.sha }}
You can’t perform that action at this time.
0 commit comments