Skip to content

T8782: adopt central Mergify baseline via extends: mergify (backport #2005)#2007

Merged
dmbaturin merged 1 commit into
circinusfrom
mergify/bp/circinus/pr-2005
May 12, 2026
Merged

T8782: adopt central Mergify baseline via extends: mergify (backport #2005)#2007
dmbaturin merged 1 commit into
circinusfrom
mergify/bp/circinus/pr-2005

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented May 12, 2026

Change Summary

Adds .github/mergify.yml that inherits the central baseline from vyos/mergify:.mergify.yml via extends: mergify. This brings four behaviors into the repo:

  • defaults.actions.backport.ignore_conflicts: false — the new safety default added in T8782. Backport cherry-picks that conflict now fail loudly (error comment on the source PR, no destination PR created) instead of committing literal <<<<<<< / ======= / >>>>>>> markers.
  • pull_request_rules → label conflicting PRs with conflicts.
  • commands_restrictions@Mergifyio slash commands restricted to @vyos/maintainers + vyosbot.

This repo currently has no .mergify.yml — backports run off Mergify GitHub-App defaults. After this PR merges, all four inherited behaviors apply.

Incident driving this adoption (2026-05-12)

vyos-documentation#1994 was backported via @Mergifyio backport sagitta circinus. Cherry-pick conflicted in docs/conf.py; Mergify's pre-T8782 default (ignore_conflicts: true) committed the markers. The resulting PRs (#1998, #1999) were merged anyway, and Read the Docs builds on both circinus and sagitta failed with SyntaxError: invalid syntax (conf.py, line 309). Fix-forwards #2000 (circinus) and #2001 (sagitta) removed the markers and re-applied the patch correctly.

Adopting the central baseline closes the gap for this repo so the same failure mode cannot recur via the Mergify-managed backport path.

Related Task(s)

Related PR(s)

Backport

Not applicable — this is a CI/configuration change, not a documentation content change.

Verification before merge

After the central baseline PR (vyos/mergify#1) lands and this PR merges, run the end-to-end verification on a throwaway PR per the T8782 spec: deliberately introduce a conflicting backport and confirm Mergify (a) posts an error comment on the source PR, (b) does not open a destination PR, and (c) does not commit a marker file anywhere.

🤖 Generated by robots


This is an automatic backport of pull request #2005 done by Mergify.

Adds .github/mergify.yml that inherits from vyos/mergify:.mergify.yml.
The central baseline provides:
  - defaults.actions.backport.ignore_conflicts: false (new in T8782 —
    makes backport conflicts fail loudly instead of committing literal
    `<<<<<<< / ======= / >>>>>>>` markers; see incident below)
  - pull_request_rules → label conflicting PRs with `conflicts`
  - commands_restrictions → restrict @Mergifyio slash commands to
    @vyos/maintainers + vyosbot

Why this repo, why now: 2026-05-12, PR #1994 was backported via
`@Mergifyio backport sagitta circinus`. Cherry-pick conflicted in
docs/conf.py; Mergify's pre-T8782 default (`ignore_conflicts: true`)
committed the markers, the resulting PRs (#1998 / #1999) were merged
anyway, and Read the Docs builds on both branches broke with
`SyntaxError: invalid syntax (conf.py, line 309)`. Fix-forwards
#2000 (circinus) and #2001 (sagitta) restored both branches. Adopting
the central baseline closes the gap for this repo so the same failure
mode cannot recur via the Mergify-managed backport path.

Spec: https://vyos.atlassian.net/wiki/spaces/VYOS/pages/849477640
IS-432: https://vyos.atlassian.net/browse/IS-432

🤖 Generated by [robots](https://vyos.io)

(cherry picked from commit 3cdfbc2)
@dmbaturin dmbaturin merged commit e02da12 into circinus May 12, 2026
7 checks passed
@dmbaturin dmbaturin deleted the mergify/bp/circinus/pr-2005 branch May 12, 2026 10:29
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.

2 participants