Skip to content

fix(ci): add write permissions to update-flake-lock workflow#2637

Open
DreadPirateRobertz wants to merge 1 commit intosteveyegge:mainfrom
DreadPirateRobertz:fix/update-flake-lock-permissions
Open

fix(ci): add write permissions to update-flake-lock workflow#2637
DreadPirateRobertz wants to merge 1 commit intosteveyegge:mainfrom
DreadPirateRobertz:fix/update-flake-lock-permissions

Conversation

@DreadPirateRobertz
Copy link

Summary

  • Adds contents: write and pull-requests: write permissions to the update-flake-lock workflow
  • The workflow uses peter-evans/create-pull-request and DeterminateSystems/update-flake-lock, both need to push a branch and open a PR

Test plan

  • Manually trigger the workflow after merge to verify it succeeds

Fixes #2630

🤖 Generated with Claude Code

The workflow needs contents:write and pull-requests:write permissions
for the GITHUB_TOKEN to push branches and create PRs.

Fixes steveyegge#2630

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: gastown/crew/zhora
Rig: gastown
Role: crew
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.

fix(ci): update-flake-lock workflow fails with 403 — missing GITHUB_TOKEN permissions

1 participant