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 14
14
# Don't attempt to run FOSSA on forks
15
15
if : github.repository_owner == 'spinframework'
16
16
runs-on : ubuntu-latest
17
+ env :
18
+ FOSSA_API_KEY : d21f74dd762b95fa3e318b70e8428ca5 # This is a push-only token that is safe to be exposed
17
19
permissions :
18
20
contents : read
19
21
steps :
22
24
- name : " Run FOSSA Scan"
23
25
uses : fossas/fossa-action@v1.7.0
24
26
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
+ uses : fossas/fossa-action@v1.7.0
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