-
Notifications
You must be signed in to change notification settings - Fork 1
/
.mergify.yml
37 lines (37 loc) · 934 Bytes
/
.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
pull_request_rules:
- name: Automatic update for PRs
conditions:
- -conflict # skip PRs with conflicts
- -draft # filter-out GH draft PRs
- -closed
- -merged
- "#commits-behind>0"
- label!=do-not-update
actions:
update:
- name: Warn author on conflicts
conditions:
- conflict
actions:
comment:
message: "@{{author}} esse pull request tem conflitos 😩"
label:
add:
- conflict
- name: Automatic merge to staging when there's nothing wrong with it
conditions:
- -conflict
- -draft
- -closed
- -merged
- base=staging
- check-success~=^ubuntu
- check-success~=^Lint
- check-success~=^GitGuardian
- check-success~=^WIP
- check-success~=^pre-commit.ci
- "#approved-reviews-by>0"
- "#commits-behind=0"
actions:
merge:
method: merge