summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/mergify.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/mergify.yml b/.github/mergify.yml
new file mode 100644
index 0000000..b2cf6ac
--- /dev/null
+++ b/.github/mergify.yml
@@ -0,0 +1,25 @@
+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
+ update: *allowed