Skip to content

[ci] add more permissions for create-pull-request#11302

Open
chunhtai wants to merge 1 commit intoflutter:mainfrom
chunhtai:add-more
Open

[ci] add more permissions for create-pull-request#11302
chunhtai wants to merge 1 commit intoflutter:mainfrom
chunhtai:add-more

Conversation

@chunhtai
Copy link
Contributor

@chunhtai chunhtai commented Mar 19, 2026

It seems like create pull request also needs content write permission

image

https://github.com/marketplace/actions/create-pull-request

current workflow error

  /usr/bin/git push --force-with-lease origin go_router-23310566202-1:refs/heads/go_router-23310566202-1
  remote: Permission to flutter/packages.git denied to github-actions[bot].
  fatal: unable to access 'https://github.com/flutter/packages/': The requested URL returned error: 403
  Error: The process '/usr/bin/git' failed with exit code 128

https://github.com/flutter/packages/actions/runs/23310566202/job/67796535425#step:3:884

Pre-Review Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2

@gemini-code-assist
Copy link

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@chunhtai chunhtai requested a review from stuartmorgan-g March 19, 2026 20:22
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