File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -26,23 +26,15 @@ permissions:
2626 security-events : write
2727 # Read commit contents
2828 contents : read
29+ # Actions read-only
30+ actions : read
2931
3032jobs :
31- scan-scheduled :
32- if : ${{ github.event_name == 'push' || github.event_name == 'schedule' }}
33+ scan :
3334 uses : " google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@ba0b4d196d231340e0ae94ae00933c8be0984192" # v1.7.4
3435 with :
3536 # Example of specifying custom arguments
3637 scan-args : |-
3738 -r
3839 --skip-git
3940 ./
40- scan-pr :
41- if : ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }}
42- uses : " google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@ba0b4d196d231340e0ae94ae00933c8be0984192" # v1.7.4
43- with :
44- # Example of specifying custom arguments
45- scan-args : |-
46- -r
47- --skip-git
48- ./
You can’t perform that action at this time.
0 commit comments