Skip to content

ci(mergify): merge PRs into main automatically once CI passes - #11

Merged
mairp merged 2 commits into
mainfrom
ci/mergify-automerge
Sep 25, 2026
Merged

mairp merged 2 commits into
mainfrom
ci/mergify-automerge

Conversation

@mairp

@mairp mairp commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Adds .mergify.yml so Mergify merges PRs into main on its own:

  • Queue conditions: base main, not a draft, no do-not-merge label, and the validate and secret-scan checks green.
  • Merge method: merge commits titled <PR title> (#N), like the manual merges so far.
  • After merge: the head branch is deleted.

To keep a PR from merging on its own, open it as a draft or add the do-not-merge label.

https://claude.ai/code/session_016d5AJ1LjeunQ5sz5XEvxQQ

Queue rule "default": base main, not a draft, no do-not-merge label, and
the validate + secret-scan checks green. Merge commits keep the repo's
"<title> (#N)" style; head branches are deleted after merge.

Claude-Session: https://claude.ai/code/session_016d5AJ1LjeunQ5sz5XEvxQQ
Signed-off-by: mairp <[email protected]>
@mergify

mergify Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Caution

The updated Mergify configuration is adding new deprecated fields:

  • queue_rules → commit_message_template

@mergify

mergify Bot commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 Merge protection satisfied — ready to merge.

Show 1 satisfied protection

🟢 📃 Configuration Change Requirements

Mergify configuration change

  • any of:
    • check-success = @mergify/Configuration changed
    • check-success = @mergify/Configuration has been deleted

@mergify

mergify Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

…ditions

pull_request_rules need Mergify Workflow Automation, which is not
activated here, so the queue action would never run. auto_merge_conditions
auto-queues matching PRs with the merge queue alone. Drops the
delete-head-branch rule for the same reason.

Claude-Session: https://claude.ai/code/session_016d5AJ1LjeunQ5sz5XEvxQQ
Signed-off-by: mairp <[email protected]>
@mairp
mairp merged commit 51ee1d8 into main Sep 25, 2026
5 checks passed
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