Skip to content

Commit f8fb249

Browse files
JosephJoseph
authored andcommitted
Add security-events write permission to CI workflow for Trivy scan uploads
1 parent 508333b commit f8fb249

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
schedule:
99
- cron: '0 0 * * 0' # Weekly on Sunday
1010

11+
permissions:
12+
contents: read
13+
security-events: write
14+
actions: read
15+
1116
jobs:
1217
lint-python:
1318
name: Lint Python Scripts

0 commit comments

Comments
 (0)