summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2026-05-14 15:23:08 +0100
committerGitHub <noreply@github.com>2026-05-14 15:23:08 +0100
commitdcb892d7d823edb11bdf6f5e13e6f1b5270ac14d (patch)
tree62d4645d25fa2a39aa4025e3bd64cef550855ff8 /.github
parent62ee6457068c23887f9555c5d5c288b50dbf0592 (diff)
parente4a7733dc106a05ef3a79e395d813f2031ed636d (diff)
downloadipaddrcheck-dcb892d7d823edb11bdf6f5e13e6f1b5270ac14d.tar.gz
ipaddrcheck-dcb892d7d823edb11bdf6f5e13e6f1b5270ac14d.zip
Merge pull request #27 from vyos/T8852-mergify-extends
T8852: migrate .github/mergify.yml to extends: mergify
Diffstat (limited to '.github')
-rw-r--r--.github/mergify.yml43
1 files changed, 19 insertions, 24 deletions
diff --git a/.github/mergify.yml b/.github/mergify.yml
index b2cf6ac..e477a6d 100644
--- a/.github/mergify.yml
+++ b/.github/mergify.yml
@@ -1,25 +1,20 @@
-pull_request_rules:
- - name: Label conflicting pull requests
- description: Add a label to a pull request with conflict to spot it easily
- conditions:
- - conflict
- - '-closed'
- actions:
- label:
- toggle:
- - conflicts
+# yaml-language-server: $schema=https://docs.mergify.com/configuration/file-format/
+# Mergify configuration for vyos/ipaddrcheck.
+#
+# Inherits the central baseline from vyos/mergify:.mergify.yml. The central
+# baseline provides:
+# - `defaults.actions.backport.ignore_conflicts: false`
+# - `pull_request_rules` → label conflicting PRs with `conflicts`;
+# T-ID format checks on PR title and commit messages.
+# - `commands_restrictions` → restrict @Mergifyio slash commands to the
+# org Maintainers team + vyosbot. Resolves correctly on both sides of
+# the cross-org mirror: vyos/mergify uses @vyos/maintainers,
+# VyOS-Networks/mergify uses @VyOS-Networks/maintainers.
+#
+# Replaces the inline T8531 predecessor config. Rollout context:
+# T8782 (Mergify central-config rollout), T8852 (fleet migration to
+# `extends:`). See https://vyos.dev/T8782, https://vyos.dev/T8852,
+# and the Confluence spec at
+# https://vyos.atlassian.net/wiki/spaces/VYOS/pages/849477640.
-commands_restrictions:
- backport: &allowed
- conditions:
- - or:
- - sender=@vyos/maintainers
- - sender=vyosbot
- copy: *allowed
- dequeue: *allowed
- queue: *allowed
- rebase: *allowed
- refresh: *allowed
- requeue: *allowed
- squash: *allowed
- update: *allowed
+extends: mergify