-
Notifications
You must be signed in to change notification settings - Fork 3
/
.mergify.yml
38 lines (35 loc) · 1.01 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
pull_request_rules:
- name: automatic approve dependabot pull requests
conditions:
- author=dependabot[bot]
- status-success=Travis CI - Pull Request
actions:
review:
type: APPROVE
# For Dockerfile updates, trigger codebuild, merge on codebuild status
- name: write issue comment to start codebuild job
conditions:
- author=dependabot[bot]
- files=Dockerfile
- "#approved-reviews-by>=1"
actions:
comment:
message: go codebuild go
- name: automatic merge for tardigrade-ci updates
conditions:
- author=dependabot[bot]
- files=Dockerfile
- status-success=codebuild/default/pr
- "#approved-reviews-by>=1"
actions:
merge:
method: merge
# For regular dependabot pr, automatically merge on approve
- name: automatic merge for dependabot pull requests
conditions:
- author=dependabot[bot]
- "#approved-reviews-by>=1"
- files!=Dockerfile
actions:
merge:
method: merge