Skip to content

Commit 1a31cd4

Browse files
chore(mergify): Configure mergify for github actions.
1 parent 7637a7b commit 1a31cd4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.mergify.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
pull_request_rules:
2+
- name: Automatically squash and merge on CI success
3+
conditions:
4+
- status-success=Unit Tests
5+
- status-success=Docs can be generated
6+
- status-success=Downstream projects still work
7+
- 'label=ready to squash and merge'
8+
actions:
9+
delete_head_branch: {}
10+
merge:
11+
method: squash
12+
strict: smart
13+
- name: Automatically rebase and merge on CI success
14+
conditions:
15+
- status-success=Unit Tests
16+
- status-success=Docs can be generated
17+
- status-success=Downstream projects still work
18+
- 'label=ready to rebase and merge'
19+
actions:
20+
delete_head_branch: {}
21+
merge:
22+
method: rebase
23+
strict: smart

0 commit comments

Comments
 (0)