-
Notifications
You must be signed in to change notification settings - Fork 3
/
.mergify.yml
46 lines (42 loc) · 1.02 KB
/
.mergify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
pull_request_rules:
- name: backport patches to cryostat-v3.0 branch
conditions:
- base=main
- label=backport
actions:
backport:
branches:
- cryostat-v3.0
assignees:
- "{{ author }}"
- name: auto label PRs from reviewers
conditions:
- author=@reviewers
actions:
label:
add:
- safe-to-test
- name: dismiss stale reviews
conditions:
- base=main
actions:
dismiss_reviews:
approved: [ 'mergify', 'Mergifyio' ]
changes_requested: [ 'mergify', 'Mergifyio' ]
- name: request reviews from the reviewers team
conditions:
- label=review-requested
actions:
request_reviews:
teams:
- "@cryostatio/reviewers"
- name: remove review-requested label upon reviewing
conditions:
- or:
- "#approved-reviews-by>0"
- "#changes-requested-reviews-by>0"
- "#commented-reviews-by>0"
actions:
label:
remove:
- review-requested