Skip to content

Commit 23665d5

Browse files
Patel230claude
andcommitted
fix(docker): grant security-events: write for Trivy SARIF upload
The 'Upload Trivy image scan results' step (codeql-action/upload-sarif) needs security-events: write, which the workflow's permissions block lacked ('Resource not accessible by integration'). Add it. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4d999e9 commit 23665d5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ on:
1515
permissions:
1616
contents: read
1717
packages: write
18+
security-events: write
1819

1920
env:
2021
REGISTRY: ghcr.io

0 commit comments

Comments
 (0)