Skip to content

Commit 1a254cb

Browse files
authored
Merge pull request #23 from vyos/T8531-restrict-mergify-commands
T8531: add Mergify config with commands restrictions
2 parents d751342 + 6897a5c commit 1a254cb

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/mergify.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
pull_request_rules:
2+
- name: Label conflicting pull requests
3+
description: Add a label to a pull request with conflict to spot it easily
4+
conditions:
5+
- conflict
6+
- '-closed'
7+
actions:
8+
label:
9+
toggle:
10+
- conflicts
11+
12+
commands_restrictions:
13+
backport: &allowed
14+
conditions:
15+
- or:
16+
- sender=@vyos/maintainers
17+
- sender=vyosbot
18+
copy: *allowed
19+
dequeue: *allowed
20+
queue: *allowed
21+
rebase: *allowed
22+
refresh: *allowed
23+
requeue: *allowed
24+
squash: *allowed
25+
unqueue: *allowed
26+
update: *allowed

0 commit comments

Comments
 (0)