Skip to content

Commit 04366e0

Browse files
runningcodeclaude
andauthored
ci(build): Add packages:write permission to snapshot workflow (#3224)
## Summary Fixes failed action here: https://github.com/getsentry/sentry-cli/actions/runs/23303634015 - Adds `packages: write` to the snapshot workflow's top-level permissions. GitHub validates reusable workflow permissions statically — even though the docker jobs in `build.yml` have `if: !inputs.is-snapshot` and won't run, the caller must still grant the permissions they declare. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a1e2592 commit 04366e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/snapshot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
permissions:
88
contents: write
9+
packages: write
910

1011
jobs:
1112
prepare:

0 commit comments

Comments
 (0)