Skip to content

Commit bd858d6

Browse files
pcarletonclaude
andauthored
fix: add contents write permission to update-packages job (#3138)
The update-packages job needs to push tags to the repository but was missing the required `permissions: contents: write`. This caused the workflow to fail with a 403 error when trying to push the version tag. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
1 parent 4750df4 commit bd858d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ jobs:
6969
if: ${{ needs.create-metadata.outputs.npm_packages != '[]' || needs.create-metadata.outputs.pypi_packages != '[]' }}
7070
runs-on: ubuntu-latest
7171
environment: release
72+
permissions:
73+
contents: write
7274
outputs:
7375
changes_made: ${{ steps.commit.outputs.changes_made }}
7476
steps:

0 commit comments

Comments
 (0)