Infra: Enable pull request auto-merge - #3815
Merged
kevinjqliu merged 1 commit intoAug 20, 2026
Merged
Conversation
kevinjqliu
marked this pull request as ready for review
August 20, 2026 19:39
Contributor
There was a problem hiding this comment.
Pull request overview
Enables GitHub’s pull request auto-merge via ASF’s .asf.yaml repository settings so maintainers can opt into auto-merge on individual PRs once all branch-protection requirements (CI + reviews) are satisfied.
Changes:
- Enable ASF-managed GitHub setting
github.pull_requests.allow_auto_merge: true.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
geruh
approved these changes
Aug 20, 2026
Contributor
Author
|
So I don't need to babysit ci to press the merge button :) |
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.
Rationale for this change
Maintainers currently need to revisit an approved PR after CI completes and merge it manually. This enables GitHub auto-merge through ASF's documented
github.pull_requests.allow_auto_mergesetting, reducing CI polling and context switching.Before: maintainers wait for CI, return to the PR, and merge manually.
After: a maintainer can enable auto-merge once; GitHub waits for the existing review, CI, and branch-protection requirements, then merges automatically. If CI fails, auto-merge will not go through and the PR remains open.
ASF documentation: https://github.com/apache/infrastructure-asfyaml#pull-request-settings
Are these changes tested?
Yes. YAML validation and repository pre-commit checks pass.
Are there any user-facing changes?
No.