Skip to content

ci(Mergify): configuration update#331

Merged
twisti-dev merged 1 commit intoversion/26.1from
mergify/twisti-dev/Ia2488df9f50a42026e1cd3f5d24bef34c580acfd
May 1, 2026
Merged

ci(Mergify): configuration update#331
twisti-dev merged 1 commit intoversion/26.1from
mergify/twisti-dev/Ia2488df9f50a42026e1cd3f5d24bef34c580acfd

Conversation

@twisti-dev
Copy link
Copy Markdown
Contributor

This change has been made by @twisti-dev from the Mergify workflow automation editor.

Signed-off-by: twisti <null>
Copilot AI review requested due to automatic review settings May 1, 2026 09:45
@twisti-dev twisti-dev merged commit 42145ec into version/26.1 May 1, 2026
6 checks passed
@twisti-dev twisti-dev deleted the mergify/twisti-dev/Ia2488df9f50a42026e1cd3f5d24bef34c580acfd branch May 1, 2026 09:45
Copy link
Copy Markdown
Contributor

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

Adds a Mergify configuration to automate PR rebasing and conflict handling in the repository’s CI/automation workflow.

Changes:

  • Introduces Mergify pull request rules for auto-rebase based on “commits behind”.
  • Adds automatic labeling for conflicting PRs.
  • Adds an automated comment to notify authors when a PR is conflicting.

Comment thread .mergify.yml
conditions:
- "#commits-behind >= 10"
actions:
rebase:
Copy link

Copilot AI May 1, 2026

Choose a reason for hiding this comment

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

actions.rebase is declared without a value (rebase:), which parses as null in YAML. Use an explicit empty mapping (or provide required keys) to avoid Mergify config validation/runtime errors.

Suggested change
rebase:
rebase: {}

Copilot uses AI. Check for mistakes.
Comment thread .mergify.yml
Comment on lines +2 to +5
- name: Make sure PR are update before merging with rebase
description: This automatically rebases PRs when they are out-of-date with the
base branch to avoid semantic conflicts (next step us switch to merge
queue).
Copy link

Copilot AI May 1, 2026

Choose a reason for hiding this comment

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

The rule description says PRs are rebased when they are out-of-date with the base branch, but the condition only triggers when #commits-behind >= 10. Either lower the threshold (e.g., > 0) or update the description so it matches the actual behavior.

Suggested change
- name: Make sure PR are update before merging with rebase
description: This automatically rebases PRs when they are out-of-date with the
base branch to avoid semantic conflicts (next step us switch to merge
queue).
- name: Rebase PRs when they are 10 or more commits behind
description: This automatically rebases PRs when they are 10 or more
commits behind the base branch to avoid semantic conflicts (next step
us switch to merge queue).

Copilot uses AI. Check for mistakes.
Comment thread .mergify.yml
@@ -0,0 +1,28 @@
pull_request_rules:
- name: Make sure PR are update before merging with rebase
Copy link

Copilot AI May 1, 2026

Choose a reason for hiding this comment

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

Grammar: update the rule name to use correct pluralization/verb form (e.g., "Make sure PRs are updated before merging with rebase").

Suggested change
- name: Make sure PR are update before merging with rebase
- name: Make sure PRs are updated before merging with rebase

Copilot uses AI. Check for mistakes.
Comment thread .mergify.yml
pull_request_rules:
- name: Make sure PR are update before merging with rebase
description: This automatically rebases PRs when they are out-of-date with the
base branch to avoid semantic conflicts (next step us switch to merge
Copy link

Copilot AI May 1, 2026

Choose a reason for hiding this comment

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

Typo in description: "next step us switch" should be "next step is to switch".

Suggested change
base branch to avoid semantic conflicts (next step us switch to merge
base branch to avoid semantic conflicts (next step is to switch to merge

Copilot uses AI. Check for mistakes.
Comment thread .mergify.yml
toggle:
- conflict
- name: Ping PR author when conflicting
description: Warn the pull request author when their PR are conflicting
Copy link

Copilot AI May 1, 2026

Choose a reason for hiding this comment

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

Grammar: "their PR are conflicting" should be "their PR is conflicting" (or "their PRs are conflicting").

Suggested change
description: Warn the pull request author when their PR are conflicting
description: Warn the pull request author when their PR is conflicting

Copilot uses AI. Check for mistakes.
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.

2 participants