Skip to content

Commit ef996cd

Browse files
committed
Secure anchore analysis workflow
Signed-off-by: freddidierRTE <[email protected]>
1 parent 52ccd48 commit ef996cd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/anchore-analysis.yml

+6
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ on:
77
- cron: '0 1 * * *'
88
workflow_dispatch:
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
Anchore-Build-Scan:
15+
permissions:
16+
contents: read # for actions/checkout to fetch code
17+
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
1218
runs-on: ubuntu-latest
1319
steps:
1420
- name: Checkout the code

0 commit comments

Comments
 (0)