summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@andamasov.com>2026-04-26 18:51:38 +0300
committerYuriy Andamasov <yuriy@andamasov.com>2026-04-26 18:51:38 +0300
commit9ab74236446b45c6f439e10a639937452cef96ac (patch)
treee884c31d08d3620e4e3dcc68a7f601dd51438e7a
parent0cc2bbfc54370cce2d2c7540fb155e464207f1be (diff)
downloadvyos-1x-9ab74236446b45c6f439e10a639937452cef96ac.tar.gz
vyos-1x-9ab74236446b45c6f439e10a639937452cef96ac.zip
T8531: add Mergify config with commands restrictions
-rw-r--r--.github/mergify.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/mergify.yml b/.github/mergify.yml
new file mode 100644
index 000000000..561cb3a51
--- /dev/null
+++ b/.github/mergify.yml
@@ -0,0 +1,26 @@
+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
+
+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
+ unqueue: *allowed
+ update: *allowed