Skip to content

ci: restore automatic Flutter update checks and merging - #33

Merged
hgraceb merged 1 commit into
masterfrom
codex/fix-flutter-update-token
Nov 16, 2026
Merged

hgraceb merged 1 commit into
masterfrom
codex/fix-flutter-update-token

Conversation

@hgraceb

@hgraceb hgraceb commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Flutter update PRs created with GITHUB_TOKEN require manual workflow approval, while the separately dispatched CI run does not satisfy the PR's required checks. Use the FLUTTER_UPDATE_TOKEN repository secret to create updates and enable GitHub auto-merge, so the normal PR checks run and all required checks must pass before merging.

Remove the separate CI dispatch and workflow_run merge callback. Before enabling auto-merge, verify that the PR has the expected author, repository, branches, generated head commit, and only a modification to .github/flutter-version. Git commit authorship remains github-actions[bot].

Validation: local JavaScript/Bash syntax checks, 14 PR eligibility cases, 3 token validation cases, and git diff --check passed. All three required checks passed in https://github.com/hgraceb/nested_scroll_views/actions/runs/43863094466 and GitHub auto-merged this PR. Post-merge CI https://github.com/hgraceb/nested_scroll_views/actions/runs/43863771463 and updater dispatch https://github.com/hgraceb/nested_scroll_views/actions/runs/43863824998 both succeeded. The configured repository secret authenticated successfully. The repository already tests the latest stable (3.50.0), so the updater correctly created no update PR; the next version update will exercise the PAT-based PR creation and auto-merge path.

@hgraceb
hgraceb enabled auto-merge (squash) November 16, 2026 12:03
@hgraceb
hgraceb merged commit 3588d82 into master Nov 16, 2026
4 checks passed
@hgraceb
hgraceb deleted the codex/fix-flutter-update-token branch November 16, 2026 12:07
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