Skip to content

docs(merge-protections): document auto_merge_conditions#11339

Merged
mergify[bot] merged 1 commit intomainfrom
devs/kozlek/thomasberdy/mrgfy-7108-document-auto-merge-conditions/document-auto-merge-conditions--fe6122a6
Apr 30, 2026
Merged

docs(merge-protections): document auto_merge_conditions#11339
mergify[bot] merged 1 commit intomainfrom
devs/kozlek/thomasberdy/mrgfy-7108-document-auto-merge-conditions/document-auto-merge-conditions--fe6122a6

Conversation

@kozlek
Copy link
Copy Markdown
Contributor

@kozlek kozlek commented Apr 30, 2026

Document the new auto_merge_conditions field in merge_protections_settings,
the conditional form of auto-merge that gates the action on a list of conditions
rather than firing for every PR.

The Auto-Merge page now covers both fields side-by-side, with a behavior matrix,
the rejected values (false, null, {}), the mutual-exclusion rules
(auto_merge and autoqueue), and four migration patterns: bot-only,
label-gated, multi-bot OR, and schedule-restricted. The autoqueue deprecation
callout in the queue rules page now points at auto_merge_conditions and the
Setup page reflects the recommended field in its example. The migration section
also documents the auto-migration transformer's translation rules and deadline
(2026-07-16).

auto_merge is positioned as the boolean shorthand but not yet marked
deprecated (formal deprecation flips with MRGFY-7083).

Fixes MRGFY-7108

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

Copilot AI review requested due to automatic review settings April 30, 2026 13:07
@mergify mergify Bot had a problem deploying to Mergify Merge Protections April 30, 2026 13:07 Failure
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 30, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 🤖 Continuous Integration

Wonderful, this rule succeeded.
  • all of:
    • check-success = build
    • check-success = lint
    • check-success = test
    • any of:
      • check-success = test-broken-links
      • label = ignore-broken-links
    • any of:
      • check-success=Cloudflare Pages
      • -head-repo-full-name~=^Mergifyio/

🟢 👀 Review Requirements

Wonderful, this rule succeeded.
  • any of:
    • #approved-reviews-by >= 2
    • author = dependabot[bot]
    • author = mergify-ci-bot

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert|ui)(?:\(.+\))?:

🟢 🔎 Reviews

Wonderful, this rule succeeded.
  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

🟢 📕 PR description

Wonderful, this rule succeeded.
  • body ~= (?ms:.{48,})

@mergify mergify Bot requested a review from a team April 30, 2026 13:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Merge Protections documentation to introduce and recommend auto_merge_conditions (a conditional auto-merge/auto-queue mechanism) and to clarify migration from the deprecated autoqueue setting.

Changes:

  • Document auto_merge_conditions on the Auto-Merge page, including accepted/rejected values, behavior matrix, constraints, and migration guidance from autoqueue.
  • Update the Merge Protections setup example to use auto_merge_conditions.
  • Adjust the merge-queue rules docs deprecation callout to point readers to auto_merge_conditions migration guidance.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/content/docs/merge-queue/rules.mdx Updates the autoqueue deprecation callout to direct users to auto_merge_conditions and the migration section.
src/content/docs/merge-protections/setup.mdx Updates the recommended Merge Protections configuration example and explanation to use auto_merge_conditions.
src/content/docs/merge-protections/auto-merge.mdx Expands Auto-Merge docs to cover auto_merge_conditions vs auto_merge, including examples, behavior matrix, and autoqueue migration rules.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/content/docs/merge-queue/rules.mdx
Comment thread src/content/docs/merge-protections/setup.mdx
Comment thread src/content/docs/merge-queue/rules.mdx
@kozlek kozlek force-pushed the devs/kozlek/thomasberdy/mrgfy-7108-document-auto-merge-conditions/document-auto-merge-conditions--fe6122a6 branch from 6f6fee0 to 7e2345e Compare April 30, 2026 13:13
@kozlek
Copy link
Copy Markdown
Contributor Author

kozlek commented Apr 30, 2026

Revision history

# Type Changes Reason Date
1 initial 6f6fee0 2026-04-30 13:13 UTC
2 content 6f6fee0 → 7e2345e 2026-04-30 13:13 UTC
3 content 7e2345e → f649ef4 2026-04-30 13:21 UTC
4 content f649ef4 → 1569c35 2026-04-30 13:27 UTC
5 content 1569c35 → a0ef308 2026-04-30 13:35 UTC
6 content a0ef308 → 23d9a97 2026-04-30 14:01 UTC
7 content 23d9a97 → 15f9de7 2026-04-30 14:05 UTC

@mergify mergify Bot had a problem deploying to Mergify Merge Protections April 30, 2026 13:14 Failure
@kozlek kozlek force-pushed the devs/kozlek/thomasberdy/mrgfy-7108-document-auto-merge-conditions/document-auto-merge-conditions--fe6122a6 branch from 7e2345e to f649ef4 Compare April 30, 2026 13:21
@mergify mergify Bot had a problem deploying to Mergify Merge Protections April 30, 2026 13:22 Failure
@kozlek kozlek force-pushed the devs/kozlek/thomasberdy/mrgfy-7108-document-auto-merge-conditions/document-auto-merge-conditions--fe6122a6 branch from f649ef4 to 1569c35 Compare April 30, 2026 13:27
@mergify mergify Bot had a problem deploying to Mergify Merge Protections April 30, 2026 13:27 Failure
@kozlek kozlek marked this pull request as ready for review April 30, 2026 13:30
@kozlek kozlek force-pushed the devs/kozlek/thomasberdy/mrgfy-7108-document-auto-merge-conditions/document-auto-merge-conditions--fe6122a6 branch from 1569c35 to a0ef308 Compare April 30, 2026 13:35
@mergify mergify Bot had a problem deploying to Mergify Merge Protections April 30, 2026 13:35 Failure
remyduthu
remyduthu previously approved these changes Apr 30, 2026
@mergify mergify Bot requested a review from a team April 30, 2026 13:39
@kozlek kozlek force-pushed the devs/kozlek/thomasberdy/mrgfy-7108-document-auto-merge-conditions/document-auto-merge-conditions--fe6122a6 branch from a0ef308 to 23d9a97 Compare April 30, 2026 14:01
@mergify mergify Bot dismissed remyduthu’s stale review April 30, 2026 14:01

Pull request has been modified.

@mergify mergify Bot had a problem deploying to Mergify Merge Protections April 30, 2026 14:01 Failure
Document the new `auto_merge_conditions` field in `merge_protections_settings`,
the conditional form of auto-merge that gates the action on a list of conditions
rather than firing for every PR.

The Auto-Merge page now covers both fields side-by-side, with a behavior matrix,
the rejected values (`false`, `null`, `{}`), the mutual-exclusion rules
(`auto_merge` and `autoqueue`), and four migration patterns: bot-only,
label-gated, multi-bot OR, and schedule-restricted. The `autoqueue` deprecation
callout in the queue rules page now points at `auto_merge_conditions` and the
Setup page reflects the recommended field in its example. The migration section
also documents the auto-migration transformer's translation rules and deadline
(2026-07-16).

`auto_merge` is positioned as the boolean shorthand but not yet marked
deprecated (formal deprecation flips with MRGFY-7083).

Fixes MRGFY-7108

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Change-Id: Ife6122a6078570f5dc803256ad674b55ac90d2d8
@kozlek kozlek force-pushed the devs/kozlek/thomasberdy/mrgfy-7108-document-auto-merge-conditions/document-auto-merge-conditions--fe6122a6 branch from 23d9a97 to 15f9de7 Compare April 30, 2026 14:05
@mergify mergify Bot deployed to Mergify Merge Protections April 30, 2026 14:05 Active
@mergify mergify Bot requested a review from a team April 30, 2026 14:09
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 30, 2026

Merge Queue Status

This pull request spent 3 minutes 1 second in the queue, including 2 minutes 34 seconds running CI.

Required conditions to merge

mergify Bot added a commit that referenced this pull request Apr 30, 2026
@mergify mergify Bot added the queued label Apr 30, 2026
@mergify mergify Bot merged commit f2c9f6a into main Apr 30, 2026
8 checks passed
@mergify mergify Bot deleted the devs/kozlek/thomasberdy/mrgfy-7108-document-auto-merge-conditions/document-auto-merge-conditions--fe6122a6 branch April 30, 2026 14:22
@mergify mergify Bot removed the queued label Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants