Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 8f2b7e5

Browse files
committed
Let mergify automatically approve Dependabot PRs and merge approved PRs
1 parent ef46512 commit 8f2b7e5

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.mergify.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
pull_request_rules:
2+
- name: Automatically merge on CI success and review approval
3+
conditions:
4+
- base=master
5+
- "#approved-reviews-by>=1"
6+
- approved-reviews-by=@awslabs/developer-experience
7+
- -approved-reviews-by~=author
8+
- status-success=continuous-integration/travis-ci/pr
9+
- status-success=continuous-integration/travis-ci/push
10+
# - status-success=Semantic Pull Request
11+
- label!=work-in-progress
12+
- -title~=(WIP|wip)
13+
- -merged
14+
- -closed
15+
- author!=dependabot[bot]
16+
- author!=dependabot-preview[bot]
17+
actions:
18+
merge:
19+
method: squash
20+
strict: smart
21+
strict_method: merge
22+
23+
- name: Automatically approve Dependabot PRs
24+
conditions:
25+
- base=master
26+
- author~=^dependabot(|-preview)\[bot\]$
27+
- status-success=continuous-integration/travis-ci/pr
28+
- status-success=continuous-integration/travis-ci/push
29+
# - status-success=Semantic Pull Request
30+
- -title~=(WIP|wip)
31+
- -label~=(blocked|do-not-merge)
32+
- -merged
33+
- -closed
34+
actions:
35+
review:
36+
type: APPROVE

0 commit comments

Comments
 (0)