[infra] authenticate version-updater via flutteractionsbot#8956
Closed
pq wants to merge 1 commit into
Closed
Conversation
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
4 tasks
pq
added a commit
that referenced
this pull request
May 7, 2026
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.) * Standard `GITHUB_TOKEN` creations do not trigger downstream actions on PR creation (preventing presubmit tests from running on the PR). * system `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 `flutteractionsbot` credentials, enabling instant CLA compliance and automatic presubmit test execution. (Note I had to create a fork of this repo for `flutteractionsbot` behind 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: <img width="1832" height="534" alt="image" src="https://github.com/user-attachments/assets/c39b2e4c-910b-4399-9d81-cd743b80cf9b" /> Completes the work started in #8953. 🚀 🚀 🚀 --- ### Proposed Changes * **[Modified] [.github/workflows/update_flutter.yaml](file:///+github/workflows/update_flutter.yaml)**: * Configured the `Checkout` and `Create Pull Request` steps to authenticate via the organization's `secrets.FLUTTERACTIONSBOT_CP_TOKEN` PAT. * Explicitly overrode `committer` and `author` git metadata to match `flutteractionsbot <flutter-actions-bot@google.com>` to pass Google's CLA checks automatically. * Configured `push-to-fork: flutteractionsbot/flutter-intellij` to push the PR branch to the bot's fork, bypassing upstream main-branch push restrictions. --- ### Verification Results * **JUnit Integrity Tests**: Checked locally using `./gradlew test --tests io.flutter.CIIntegrityTest` — **BUILD SUCCESSFUL** (all meta-tests compile and pass). * **YAML Syntax Vetted**: Validated structured parameters against the latest `peter-evans/create-pull-request` specifications. Replaces #8956 --- Review the contribution guidelines below: - [x] I’ve reviewed the contributor guide and applied the relevant portions to this PR. - [x] I've included the required information in the description above. - [x] My up-to-date information is in the `AUTHORS` file. - [x] I've updated `CHANGELOG.md` if appropriate. <details> <summary>Contribution guidelines:</summary><br> - See our [contributor guide](../CONTRIBUTING.md) and the [Flutter organization contributor guide]([https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md) for general expectations for PRs. - Larger or significant changes should be discussed in an issue before creating a PR. - Dart contributions to our repos should follow the [Dart style guide](https://dart.dev/guides/language/effective-dart) and use `dart format`. - Java and Kotlin contributions should strive to follow Java and Kotlin best practices ([discussion](#8098)). </details>
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.
This should resolve the CLA issues we're seeing in
#8955.
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).