-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mergify.yml
96 lines (89 loc) · 2.67 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# See https://doc.mergify.io
pull_request_rules:
- name: Tell them we're good now
actions:
comment:
message: >-
Thank you for contributing! :heart: I will now look into making sure the PR is up-to-date, then proceed to try and merge it!
label:
add: [ready-to-merge]
conditions:
- author!=dependabot[bot]
- author!=dependabot-preview[bot]
- -title~=(WIP|wip)
- label!=blocked
- label!=do-not-merge
- label!=ready-to-merge
- -merged
- -closed
- -approved-reviews-by~=author
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- status-success~=AWS CodeBuild us-east-1
- status-success=continuous-integration/travis-ci/pr
- status-success=Semantic Pull Request
- name: Synchronize that PR to upstream and merge it
actions:
dismiss_reviews:
approved: true
changes_requested: false
merge:
strict: smart
method: squash
strict_method: merge
conditions:
- author!=dependabot[bot]
- author!=dependabot-preview[bot]
- -title~=(WIP|wip)
- label!=blocked
- label!=do-not-merge
- label=ready-to-merge
- -merged
- -closed
- -approved-reviews-by~=author
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- status-success~=AWS CodeBuild us-east-1
- status-success=continuous-integration/travis-ci/pr
- status-success=Semantic Pull Request
- name: Clean branch up
actions:
delete_head_branch: {}
conditions:
- merged
- name: Remove Label
actions:
label:
remove: [ready-to-merge]
conditions:
- merged
- name: Discard stale reviews
actions:
dismiss_reviews:
approved: true
changes_requested: false
conditions:
- base=master
- author!=dependabot[bot]
- author!=dependabot-preview[bot]
# List of people with push permissions on the repository
- author!=eladb
- author!=RomainMuller
- author!=garnaat
- author!=nija-at
- author!=shivlaks
- author!=skinny85
- author!=rix0rrr
- author!=NGL321
- author!=Jerry-AWS
- author!=SomayaB
- name: Let them know the PR title doesn't look right
actions:
comment:
message: >-
The title of this Pull Request does not conform with [Conventional Commits] guidelines. It will need to be adjusted before the PR can be merged.
[Conventional Commits]: https://www.conventionalcommits.org
conditions:
- -status-success=Semantic Pull Request