summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@andamasov.com>2026-04-26 18:51:47 +0300
committerYuriy Andamasov <yuriy@andamasov.com>2026-04-26 18:51:47 +0300
commita7258ecdf5c4771e23de80994ae6a2a5681792a1 (patch)
treecc964693a38d0d02decea78fe44162d2db363a96 /.github
parent57f8b20f63354ac12d5b1162fc919a79f223255e (diff)
downloadvyos-cloud-init-a7258ecdf5c4771e23de80994ae6a2a5681792a1.tar.gz
vyos-cloud-init-a7258ecdf5c4771e23de80994ae6a2a5681792a1.zip
T8531: add Mergify config with commands restrictions
Diffstat (limited to '.github')
-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 00000000..561cb3a5
--- /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