Skip to content

Conversation

@pcarleton
Copy link
Member

Summary

  • Adds permissions: contents: write to the update-packages job in the release workflow

The update-packages job needs to push version tags to the repository (git push origin "$VERSION") but was missing the required permissions. This caused the workflow to fail with a 403 error:

remote: Permission to modelcontextprotocol/servers.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/modelcontextprotocol/servers/': The requested URL returned error: 403

Fixes: https://github.com/modelcontextprotocol/servers/actions/runs/20333312338/job/58413643079

Test plan

  • Re-run the release workflow after merging

🤖 Generated with Claude Code

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]>
@pcarleton pcarleton merged commit bd858d6 into main Dec 18, 2025
22 checks passed
@pcarleton pcarleton deleted the fix-release-workflow-permissions branch December 18, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants