Skip to content

Infra: Enable pull request auto-merge - #3815

Merged
kevinjqliu merged 1 commit into
apache:mainfrom
kevinjqliu:kevinjqliu/codex-enable-auto-merge
Aug 20, 2026
Merged

Infra: Enable pull request auto-merge#3815
kevinjqliu merged 1 commit into
apache:mainfrom
kevinjqliu:kevinjqliu/codex-enable-auto-merge

Conversation

@kevinjqliu

Copy link
Copy Markdown
Contributor

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_merge setting, 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.

@kevinjqliu
kevinjqliu marked this pull request as ready for review August 20, 2026 19:39
Copilot AI lite review requested due to automatic review settings August 20, 2026 19:39

Copilot AI 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.

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.

@kevinjqliu

Copy link
Copy Markdown
Contributor Author

So I don't need to babysit ci to press the merge button :)

@kevinjqliu
kevinjqliu merged commit e43be1e into apache:main Aug 20, 2026
13 checks passed
@kevinjqliu
kevinjqliu deleted the kevinjqliu/codex-enable-auto-merge branch August 20, 2026 20:05
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.

3 participants