[infra] authenticate version-updater via flutteractionsbot#8957
Merged
Conversation
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
helin24
approved these changes
May 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Our automated Flutter SDK version-bump presubmit was failing to trigger subsequent CI/CD test workflows and was getting blocked by Google's CLA check. (See for example: #8955.)
GITHUB_TOKENcreations do not trigger downstream actions on PR creation (preventing presubmit tests from running on the PR).github-actions[bot]commits are not registered with Google's CLA bot, blocking the merge path.This PR configures the workflow to authenticate using our organization's pre-approved
flutteractionsbotcredentials, enabling instant CLA compliance and automatic presubmit test execution. (Note I had to create a fork of this repo forflutteractionsbotbehind the scenes, explaining some action failures leading up to the success below).I verified this works by manually kicking off the action, which produced this PR:
#8958
which has the right CLA credentials:
Completes the work started in #8953.
🚀 🚀 🚀
Proposed Changes
CheckoutandCreate Pull Requeststeps to authenticate via the organization'ssecrets.FLUTTERACTIONSBOT_CP_TOKENPAT.committerandauthorgit metadata to matchflutteractionsbot <flutter-actions-bot@google.com>to pass Google's CLA checks automatically.push-to-fork: flutteractionsbot/flutter-intellijto push the PR branch to the bot's fork, bypassing upstream main-branch push restrictions.Verification Results
./gradlew test --tests io.flutter.CIIntegrityTest— BUILD SUCCESSFUL (all meta-tests compile and pass).peter-evans/create-pull-requestspecifications.Replaces #8956
Review the contribution guidelines below:
AUTHORSfile.CHANGELOG.mdif appropriate.Contribution guidelines:
our contributor guide and
the Flutter organization contributor guide
for general expectations for PRs.
dart format.practices (discussion).