File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -495,6 +495,9 @@ jobs:
495495 run : rm -rf ./release-packages ./test/test-results
496496
497497 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
498501 runs-on : ubuntu-20.04
499502 steps :
500503 - name : Checkout repo
Original file line number Diff line number Diff line change @@ -17,8 +17,15 @@ concurrency:
1717 group : ${{ github.workflow }}-${{ github.ref }}
1818 cancel-in-progress : ${{ github.event_name == 'pull_request' }}
1919
20+ permissions :
21+ contents : read
22+
2023jobs :
2124 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
2229 name : Analyze
2330 runs-on : ubuntu-20.04
2431
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ concurrency:
1919 group : ${{ github.workflow }}-${{ github.ref }}
2020 cancel-in-progress : ${{ github.event_name == 'pull_request' }}
2121
22+ permissions :
23+ contents : read
24+
2225jobs :
2326 ubuntu :
2427 name : Test installer on Ubuntu
You can’t perform that action at this time.
0 commit comments