Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Commit 941e2d4

Browse files
committed
chore: Add mergify rules
1 parent 921525a commit 941e2d4

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.mergify.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
pull_request_rules:
2+
- name: Automatic merge on approval
3+
conditions:
4+
- approved-reviews-by=Snazzah
5+
actions:
6+
merge:
7+
method: merge
8+
- name: Merge non-breaking dependencies automatically
9+
conditions:
10+
- author~=^dependabot(|-preview)\[bot\]$
11+
- title~=from (?P<major>\d+).\d+.\d+ to (?P=major).\d+.\d+
12+
actions:
13+
merge:
14+
method: merge
15+
- name: Notify breaking dependencies automatically
16+
conditions:
17+
- author~=^dependabot(|-preview)\[bot\]$
18+
- title~=from (?P<major>\d+).\d+.\d+ to (?!(?P=major).\d+.\d+)
19+
actions:
20+
comment:
21+
message: |
22+
This PR features a major change and requires further approval.
23+
request_reviews:
24+
users:
25+
- Snazzah

0 commit comments

Comments
 (0)