Skip to content

Commit 0ef80ba

Browse files
authored
Merge pull request #1952 from tkatila/workflow-trivy-root-permissions
workflow: add root permissions for periodic trivy
2 parents 6f87219 + 84f4873 commit 0ef80ba

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)