File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,11 @@ jobs:
34
34
uses : actions/checkout@v3
35
35
36
36
- name : Run FOSSA scan and upload build data
37
- # Fails on pull requests when using the API key secret.
38
- # In order to run it on pull requests we would need to
39
- # generate a push only token and specify that as plain
40
- # text here:
41
- # https://github.com/fossa-contrib/fossa-action#push-only-api-token
42
- # BUT, it also requires that the fork have its own
43
- # independent integration setup with fossa.com.
44
- if : github.ref == 'refs/heads/main'
45
37
uses : fossa-contrib/fossa-action@v3
46
38
with :
47
- fossa-api-key : ${{ secrets.FOSSA_API_KEY }}
39
+ # This is a push-only API token: https://github.com/fossa-contrib/fossa-action#push-only-api-token
40
+ fossa-api-key : f62c11ef0c249fef239947f01279aa0f
41
+ github-token : ${{ github.token }}
48
42
49
43
- name : Check for changes in Go files
50
44
if : steps.skip-workflow.outputs.skip-workflow == 'false'
You can’t perform that action at this time.
0 commit comments