You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Branch creation GitHub Workflow fails if workflows have been modified since the branch point #184832
The workflow at .github/workflows/cut-release-branch.yml uses the default GitHub token provided to the GitHub workflow. GitHub disallows using this token to modify workflow files themselves (which prevents some privilege escalation attacks). This basically means that if there is a change to any of the workflow files between the branch cut point and the tip of master when the workflow is invoked, the workflow will fail like so:
! [remote rejected] flutter-3.44-candidate.0 -> flutter-3.44-candidate.0 (refusing to allow a GitHub App to create or update workflow `.github/workflows/freeze.yml` without `workflows` permission)
A way to fix this would be to use the FLUTTERACTIONSBOT_CP_TOKEN secret instead of the default workflow GitHub token, but I'd have to verify that this token actually has branch creation permissions.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
Use the `flutteractionsbot` token to push the release branch.
Use the `flutteractionsbot` token to push the release branch. (#184833)
eyebrowsoffire commentedon Apr 17, 2026
Fixed with #184833
github-actions commentedon May 1, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.