forked from aws/aws-cdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
85 lines (82 loc) · 3.35 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
# 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:
strict: smart
method: squash
strict_method: merge
delete_head_branch: {}
conditions:
- author!=dependabot[bot]
- author!=dependabot-preview[bot]
- -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~=AWS CodeBuild us-east-1
- status-success=Semantic Pull Request
- name: comment checklist
actions:
comment:
message: |
Thanks so much for taking the time to contribute to the AWS CDK ❤️
We will shortly assign someone to review this pull request and help get it
merged. In the meantime, please **take a minute to make sure you follow this
checklist**:
* **PR title `type(scope): text`**
* __type__: `fix`, `feat`, `refactor` go into CHANGELOG, `chore` is hidden
- __scope__: name of module without `aws-` or `cdk-` prefix or postfix (e.g. `s3` instead of `aws-s3-deployment`)
- __text__: use all **lower-case**, **do not** end with a period, do not include issue refs
* **PR Description**
- __Rationale__: describe rationale of change and approach taken
- __Issues__: indicate issues fixed via: `fixes #xxx` or `closes #xxx`
- __Breaking?__: last paragraph: `BREAKING CHANGE: <describe what changed + link for details>`
* **Testing**
- Unit test added. Prefer to add a new test rather than modify existing tests
- **CLI or init templates change**? Re-run/add [CLI integration tests](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md#running-cli-integration-tests)
* **Documentation**
- **README**: update module README to describe new features
- **API docs**: public APIs must be documented. Copy from official AWS docs when possible
- **Design**: for significant features, follow [design process](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md#step-2-design-optional)
conditions:
- author!=dependabot[bot]
- author!=dependabot-preview[bot]
- base=master
- -merged
- -closed
- name: remove stale reviews
actions:
dismiss_reviews: {}
conditions:
- author!=dependabot[bot]
- author!=dependabot-preview[bot]
# List out all the people whose work is okay to provisionally approve
- author!=eladb
- author!=RomainMuller
- author!=garnaat
- author!=nija-at
- author!=shivlaks
- author!=skinny85
- author!=rix0rrr
- author!=NGL321
- author!=Jerry-AWS
- author!=SomayaB
- base=master
- -merged
- -closed
- 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:
- author!=dependabot[bot]
- author!=dependabot-preview[bot]
- status-failure=Semantic Pull Request
- -merged
- -closed