summaryrefslogtreecommitdiff
path: root/.github/mergify.yml
diff options
context:
space:
mode:
authorJohn Estabrook <jsestabrook@gmail.com>2026-05-11 09:01:44 -0500
committerGitHub <noreply@github.com>2026-05-11 09:01:44 -0500
commit086ddbe1dbec577cfbdfc2d8197bb45e4ddfd139 (patch)
treea1f3fa2d97dfbb7652d750dfee5f21f92d7039bd /.github/mergify.yml
parent9ad8731f281625936e5578ac703109b87b5d8254 (diff)
parent2ed7afc1d5f24a187f931883f7bfc82103c7b7f1 (diff)
downloadvyos-cloud-init-086ddbe1dbec577cfbdfc2d8197bb45e4ddfd139.tar.gz
vyos-cloud-init-086ddbe1dbec577cfbdfc2d8197bb45e4ddfd139.zip
Merge pull request #93 from vyos/T8531-restrict-mergify-commands
T8531: add Mergify config with commands restrictions
Diffstat (limited to '.github/mergify.yml')
-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 00000000..b2cf6ace
--- /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