Skip to content

Fix: Add workflows permission to rollback workflow#94

Merged
IvanildoBarauna merged 1 commit intomainfrom
fix/rollback-workflow-alignment
Mar 4, 2026
Merged

Fix: Add workflows permission to rollback workflow#94
IvanildoBarauna merged 1 commit intomainfrom
fix/rollback-workflow-alignment

Conversation

@IvanildoBarauna
Copy link
Member

Summary

  • Add workflows: write permission to allow the rollback job to push branches containing workflow files

Problem

When the rollback workflow creates a branch from a release tag, the push was being rejected because the branch contains .github/workflows/rollback.yml and the GITHUB_TOKEN didn't have the workflows permission.

Error

refusing to allow a GitHub App to create or update workflow `.github/workflows/rollback.yml` without `workflows` permission

🤖 Generated with Claude Code

The rollback PR step creates a branch from a release tag that contains
workflow files, which requires the workflows permission.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@IvanildoBarauna IvanildoBarauna merged commit 5c6e45f into main Mar 4, 2026
4 checks passed
@IvanildoBarauna IvanildoBarauna deleted the fix/rollback-workflow-alignment branch March 4, 2026 20:15
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.

1 participant