Skip to content

Commit 97c2a93

Browse files
committed
infra(mergify): add new rules
1 parent 5fe889d commit 97c2a93

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

.github/mergify.yml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
queue_rules:
2+
- name: dep-update
3+
batch_size: 100
4+
batch_max_wait_time: 30 min
5+
queue_conditions:
6+
- author=dependabot[bot]
7+
18
pull_request_rules:
29
- name: Automatic approve for Dependabot pull requests
310
conditions:
@@ -6,24 +13,39 @@ pull_request_rules:
613
review:
714
type: APPROVE
815

16+
- name: Automatic merge for Dependabot pull requests
17+
conditions:
18+
- author=dependabot[bot]
19+
- "#approved-reviews-by>=1"
20+
- check-success=test
21+
actions:
22+
queue:
23+
924
- name: Automatic approve for GitHub Actions Bot pull requests
1025
conditions:
1126
- author=github-actions[bot]
1227
actions:
1328
review:
1429
type: APPROVE
1530

16-
- name: Automatic merge for GitHub Actions Bot pull requests with label "doc-theme"
31+
- name: Automatic approve for GitHub Readme Profile pull requests
1732
conditions:
18-
- author=github-actions[bot]
33+
- author=gh-readme-profile
34+
actions:
35+
review:
36+
type: APPROVE
37+
38+
- name: Automatic merge for GitHub Readme Profile pull requests with label "doc-theme"
39+
conditions:
40+
- author=gh-readme-profile
1941
- "#approved-reviews-by>=1"
2042
- label=doc-theme
2143
actions:
2244
merge:
2345

24-
- name: Automatic merge for GitHub Actions Bot pull requests with label "doc-translation"
46+
- name: Automatic merge for GitHub Readme Profile pull requests with label "doc-translation"
2547
conditions:
26-
- author=github-actions[bot]
48+
- author=gh-readme-profile
2749
- "#approved-reviews-by>=1"
2850
- label=doc-translation
2951
actions:

0 commit comments

Comments
 (0)