Skip to content

Commit bfd2869

Browse files
ashwin-antclaude
andauthored
fix: add permissions to release job in auto-release workflow (#504)
## Summary - Adds `contents: write` and `pull-requests: write` permissions to the `release` job in the auto-release workflow - This ensures the reusable `build-and-publish` workflow has the necessary permissions to create releases and interact with pull requests ## Test plan - [ ] Verify the auto-release workflow runs successfully on the next version bump commit - [ ] Confirm the release job can create GitHub releases and update pull requests as expected ## Changelog <!-- CHANGELOG:START --> <!-- CHANGELOG:END --> 🤖 Generated with [Claude Code](https://claude.com/claude-code) (100% 1-shotted by claude) Co-authored-by: Claude <noreply@anthropic.com>
1 parent 678165f commit bfd2869

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/auto-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ jobs:
4545
4646
release:
4747
needs: check-trigger
48+
permissions:
49+
contents: write
50+
pull-requests: write
4851
uses: ./.github/workflows/build-and-publish.yml
4952
with:
5053
version: ${{ needs.check-trigger.outputs.version }}

0 commit comments

Comments
 (0)