summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-13 23:20:24 +0300
committerGitHub <noreply@github.com>2026-05-13 23:20:24 +0300
commit969a87d317a4199e0c8c08cfc9e97074e632996c (patch)
treefdc0c2f8cfc4ed031b11926145bccb03db474fa2 /.github
parentbfc681807ab2eafe3bfcea55be148deaba29f298 (diff)
parentee2942a39e11b8d7996ba2f7f3ac53545300d647 (diff)
downloadvyos-documentation-969a87d317a4199e0c8c08cfc9e97074e632996c.tar.gz
vyos-documentation-969a87d317a4199e0c8c08cfc9e97074e632996c.zip
Merge pull request #2015 from vyos/yuriy/mergify-fix-tid-override-rule-name
ci(mergify): fix T-ID-override rule name to match central baseline
Diffstat (limited to '.github')
-rw-r--r--.github/mergify.yml33
1 files changed, 13 insertions, 20 deletions
diff --git a/.github/mergify.yml b/.github/mergify.yml
index 8dc66929..26e41c03 100644
--- a/.github/mergify.yml
+++ b/.github/mergify.yml
@@ -34,17 +34,23 @@ pull_request_rules:
# noise.
#
# Per Mergify `extends:` semantics, same-name rules in the child REPLACE
- # the parent's. The two rules below keep the original names so the parent
- # versions are dropped; conditions are constructed to never match (a PR
- # cannot simultaneously be closed and not closed), so the `toggle` action
- # always falls into the "remove label" branch — cleaning up the labels on
- # any PR that previously had them.
+ # the parent's. The override below MUST use the parent's exact rule name
+ # — `Flag T-ID format violation in PR title or commit messages` — or the
+ # parent rule keeps firing and `invalid-title` labels every PR. (The
+ # earlier two-rule override shipped in 3d44fe06 used the wrong names
+ # and was a no-op; PR #2014 surfaced the regression.)
+ #
+ # Conditions are constructed to never match (a PR cannot simultaneously
+ # be closed and not closed), so the `toggle` action always falls into
+ # the "remove label" branch — cleaning up `invalid-title` on any PR
+ # that picked it up while the broken override was in place.
# ------------------------------------------------------------------
- - name: Flag PR title not matching T-ID format
+ - name: Flag T-ID format violation in PR title or commit messages
description: >
Disabled in vyos-documentation — this repo does not require Phorge
- T-IDs in PR titles. Conventional-commits style is acceptable.
+ T-IDs in PR titles or commit message headlines. Conventional-commits
+ style (`fix(ext): …`, `ci(...): …`, `chore(deps): …`) is acceptable.
conditions:
- closed
- '-closed'
@@ -52,16 +58,3 @@ pull_request_rules:
label:
toggle:
- invalid-title
-
- - name: Flag commit message not matching T-ID format
- description: >
- Disabled in vyos-documentation — this repo does not require Phorge
- T-IDs in commit message headlines. Conventional-commits style is
- acceptable.
- conditions:
- - closed
- - '-closed'
- actions:
- label:
- toggle:
- - invalid-commit-title