forked from aws-samples/aws-cdk-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
33 lines (31 loc) · 983 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
# See https://doc.mergify.io
pull_request_rules:
- name: automatic merge
actions:
comment:
message: Thank you for contributing! Your pull request is now being automatically merged.
merge:
method: squash
delete_head_branch: {}
dismiss_reviews: {}
conditions:
- -title~=(WIP|wip)
- -label~=^(blocked|do-not-merge)
- -merged
- -closed
- "#approved-reviews-by>=1"
- -approved-reviews-by~=author
- "#changes-requested-reviews-by=0"
- status-success=Semantic Pull Request
- status-success=build
- name: remove stale reviews
actions:
dismiss_reviews: {}
conditions:
- base=master
- name: if fails conventional commits
actions:
comment:
message: Title does not follow the guidelines of [Conventional Commits](https://www.conventionalcommits.org). Please adjust title before merge.
conditions:
- -status-success=Semantic Pull Request