Skip to content

[ci] Add permission to release_from_branches.yml - #11397

Merged
auto-submit[bot] merged 3 commits into
flutter:mainfrom
hannah-hyj:fix-permission-error
Mar 30, 2026
Merged

[ci] Add permission to release_from_branches.yml#11397
auto-submit[bot] merged 3 commits into
flutter:mainfrom
hannah-hyj:fix-permission-error

Conversation

@hannah-hyj

Copy link
Copy Markdown
Member

when the caller workflow (release_from_branches.yml ) calls reusable_release.yml, the reusable workflow cannot have more permissions than the caller.

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
Copy Markdown
Contributor

Note

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

@chunhtaichunhtai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chunhtaichunhtai changed the title Add permission to release_from_branches.yml[ci] Add permission to release_from_branches.ymlMar 30, 2026
@hannah-hyjhannah-hyj added CICD Run CI/CD autosubmit Merge PR when tree becomes green via auto submit App labels Mar 30, 2026
@auto-submit
auto-submitBot merged commit 1de9829 into flutter:mainMar 30, 2026
81 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 31, 2026
github-merge-queueBot pushed a commit to flutter/flutter that referenced this pull request Mar 31, 2026
flutter/packages@582f0e7...b04f3e5
2026-03-30 jhy03261997@gmail.com [ci] Compares commits before creating a
sync PR to sync release branch back to the main branch.
(flutter/packages#11398)
2026-03-30 jhy03261997@gmail.com [ci] Add permission to
release_from_branches.yml (flutter/packages#11397)
2026-03-30 srawlins@google.com [pigeon] Reduces lint rules ignored in
generated Dart code (flutter/packages#11230)
2026-03-30 stuartmorgan@google.com [google_maps_flutter] Add missing
exports (flutter/packages#11196)
2026-03-30 89637597+eflat64@users.noreply.github.com [vector_graphic]
docs: corrected width/height description in VectorGraphic
(flutter/packages#11361)
2026-03-30 47866232+chunhtai@users.noreply.github.com [ci] Uses
fluttergithubbot to create branches and PRs (flutter/packages#11368)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com on the revert to ensure that a
human
is aware of the problem.
To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
ahmedsameha1 pushed a commit to ahmedsameha1/flutter that referenced this pull request Apr 14, 2026
…r#184393)
flutter/packages@582f0e7...b04f3e5
2026-03-30 jhy03261997@gmail.com [ci] Compares commits before creating a
sync PR to sync release branch back to the main branch.
(flutter/packages#11398)
2026-03-30 jhy03261997@gmail.com [ci] Add permission to
release_from_branches.yml (flutter/packages#11397)
2026-03-30 srawlins@google.com [pigeon] Reduces lint rules ignored in
generated Dart code (flutter/packages#11230)
2026-03-30 stuartmorgan@google.com [google_maps_flutter] Add missing
exports (flutter/packages#11196)
2026-03-30 89637597+eflat64@users.noreply.github.com [vector_graphic]
docs: corrected width/height description in VectorGraphic
(flutter/packages#11361)
2026-03-30 47866232+chunhtai@users.noreply.github.com [ci] Uses
fluttergithubbot to create branches and PRs (flutter/packages#11368)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com on the revert to ensure that a
human
is aware of the problem.
To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
mbcorona pushed a commit to mbcorona/flutter that referenced this pull request Apr 15, 2026
…r#184393)
flutter/packages@582f0e7...b04f3e5
2026-03-30 jhy03261997@gmail.com [ci] Compares commits before creating a
sync PR to sync release branch back to the main branch.
(flutter/packages#11398)
2026-03-30 jhy03261997@gmail.com [ci] Add permission to
release_from_branches.yml (flutter/packages#11397)
2026-03-30 srawlins@google.com [pigeon] Reduces lint rules ignored in
generated Dart code (flutter/packages#11230)
2026-03-30 stuartmorgan@google.com [google_maps_flutter] Add missing
exports (flutter/packages#11196)
2026-03-30 89637597+eflat64@users.noreply.github.com [vector_graphic]
docs: corrected width/height description in VectorGraphic
(flutter/packages#11361)
2026-03-30 47866232+chunhtai@users.noreply.github.com [ci] Uses
fluttergithubbot to create branches and PRs (flutter/packages#11368)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com on the revert to ensure that a
human
is aware of the problem.
To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
creatorpiyush pushed a commit to creatorpiyush/packages that referenced this pull request Jun 10, 2026
when the caller workflow (release_from_branches.yml ) calls reusable_release.yml, the reusable workflow cannot have more permissions than the caller.
## Pre-Review Checklist
**Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). 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.
[^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.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmitMerge PR when tree becomes green via auto submit AppCICDRun CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@hannah-hyj@chunhtai