Skip to content

Commit 84f4873

Browse files
committed
workflow: add root permissions for periodic trivy
Signed-off-by: Tuomas Katila <[email protected]>
1 parent 6f87219 commit 84f4873

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/trivy-periodic.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ on:
66
branches:
77
- main
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
trivy-scan-vulns:
1114
permissions:
12-
contents: read
1315
security-events: write
1416
actions: read
1517
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)