File tree 3 files changed +13
-0
lines changed
3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -495,6 +495,9 @@ jobs:
495
495
run : rm -rf ./release-packages ./test/test-results
496
496
497
497
trivy-scan-repo :
498
+ permissions :
499
+ contents : read # for actions/checkout to fetch code
500
+ security-events : write # for github/codeql-action/upload-sarif to upload SARIF results
498
501
runs-on : ubuntu-20.04
499
502
steps :
500
503
- name : Checkout repo
Original file line number Diff line number Diff line change @@ -17,8 +17,15 @@ concurrency:
17
17
group : ${{ github.workflow }}-${{ github.ref }}
18
18
cancel-in-progress : ${{ github.event_name == 'pull_request' }}
19
19
20
+ permissions :
21
+ contents : read
22
+
20
23
jobs :
21
24
analyze :
25
+ permissions :
26
+ actions : read # for github/codeql-action/init to get workflow details
27
+ contents : read # for actions/checkout to fetch code
28
+ security-events : write # for github/codeql-action/autobuild to send a status report
22
29
name : Analyze
23
30
runs-on : ubuntu-20.04
24
31
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ concurrency:
19
19
group : ${{ github.workflow }}-${{ github.ref }}
20
20
cancel-in-progress : ${{ github.event_name == 'pull_request' }}
21
21
22
+ permissions :
23
+ contents : read
24
+
22
25
jobs :
23
26
ubuntu :
24
27
name : Test installer on Ubuntu
You can’t perform that action at this time.
0 commit comments