summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2026-04-29 09:43:09 +0100
committerGitHub <noreply@github.com>2026-04-29 09:43:09 +0100
commit1a254cb07b208b7b8db5f785642b356c07245b37 (patch)
treef4aab1f3b545262d63d83cd0e7eba80951dbb378 /.github
parentd751342e29e3c8e33174967ad54a67c3484f9154 (diff)
parent6897a5c867acb642ccf7fc2b7ee7aa05140a10f7 (diff)
downloadvyatta-bash-1a254cb07b208b7b8db5f785642b356c07245b37.tar.gz
vyatta-bash-1a254cb07b208b7b8db5f785642b356c07245b37.zip
Merge pull request #23 from vyos/T8531-restrict-mergify-commands
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 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