summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@andamasov.com>2026-04-26 18:51:43 +0300
committerYuriy Andamasov <yuriy@andamasov.com>2026-04-26 18:51:43 +0300
commitd849098c1726e56e12d0c99a5e27caf8c33d8cae (patch)
tree00dbd7749cda9ba7c733669941fa8c2e51405fc1
parent88def99069a51282c5986cc222e2e00952264e44 (diff)
downloadvyos-http-api-tools-d849098c1726e56e12d0c99a5e27caf8c33d8cae.tar.gz
vyos-http-api-tools-d849098c1726e56e12d0c99a5e27caf8c33d8cae.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 0000000..561cb3a
--- /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