-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy path.mergify.yml
More file actions
38 lines (38 loc) · 1.77 KB
/
.mergify.yml
File metadata and controls
38 lines (38 loc) · 1.77 KB
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
pull_request_rules:
- name: Automatic merge dependabot when tested and approved
conditions:
- "author=dependabot[bot]" # merge dependabot PRs automatically, but let dependabot update the branch
- "#approved-reviews-by>=1"
- "#check-failure=0" # Don't auto merge with a failure
- "#check-pending=0" # Don't auto merge with anything pending
actions:
merge:
method: squash
- name: Automatic merge Apollon77 PRs when tested and flagged as automerge
conditions:
- "author=Apollon77" # Apollon77 is the PR author
- "#review-threads-unresolved=0"
- "-draft"
- "#check-failure=0" # Don't auto merge with a failure
- "#check-pending=0" # Don't auto merge with anything pending
- "label=automerge" # merge PRs with the automerge label
actions:
update:
merge:
method: squash
- name: Automatic merge non-dependabot PRs when approved and tested
conditions:
- "author!=dependabot[bot]" # dependabot PRs are handled above
- "author!=Apollon77" # Apollon77 is handled above
- label!="automated-npm-release" # Don't auto merge automated PRs, other processes do this
- label!="automated-docker-release" # Don't auto merge automated PRs, other processes do this
- "#approved-reviews-by>=1"
- "#review-threads-unresolved=0"
- "-draft"
- "#check-failure=0" # Don't auto merge with a failure
- "#check-pending=0" # Don't auto merge with anything pending
- "label=automerge" # merge PRs with the automerge label
actions:
update:
merge:
method: squash