forked from wwosimulation/Narrator-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
48 lines (48 loc) · 1.28 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
47
48
pull_request_rules:
- name: Automatic merge on approval
conditions:
- "#approved-reviews-by>=1"
- label!=noautomerge
actions:
merge:
method: squash
- name: Auto-Label Testing
conditions:
- -draft
actions:
label:
add:
- "Waiting for Testing"
- name: Auto-Label Changes
conditions:
- changes-requested-reviews-by=thewilloftheshadow
actions:
label:
add:
- "Waiting for Changes"
- name: automatic merge for ImgBot pull requests
conditions:
- author=imgbot[bot]
actions:
label:
remove:
- "Waiting for Changes"
- "Waiting for Testing"
merge:
method: squash
- name: close stale pull request
conditions:
- base=main
- -closed
- updated-at<3 days ago
actions:
close:
message: |
This pull request looks stale. Feel free to reopen it if you think it's a mistakke.
- name: Autoreviewer
conditions:
- -closed
actions:
request_reviews:
users:
- thewilloftheshadow