Skip to content

Commit aefec4c

Browse files
authored
chore: add mergify auto-merge for renovate (#780)
1 parent c9d918f commit aefec4c

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

.github/mergify.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,19 @@ pull_request_rules:
66
label:
77
toggle:
88
- conflict
9+
10+
- name: Automatic merge on approval
11+
conditions:
12+
- "#commits-behind=0"
13+
- or:
14+
- "#approved-reviews-by>=1"
15+
- label=ci:auto-merge
16+
- not:
17+
and:
18+
- "head*=renovate/lockfile-maintenance-*"
19+
- "created-at>24h ago"
20+
- base=master
21+
- check-success=build
22+
actions:
23+
merge:
24+
method: squash

.github/renovate.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,10 @@
1818
],
1919
"separateMajorMinor": false,
2020
"updateNotScheduled": false,
21-
"rangeStrategy": "bump"
21+
"rangeStrategy": "bump",
22+
"labels": [
23+
"ci:auto-merge",
24+
"dependencies"
25+
],
26+
"prConcurrentLimit": 3
2227
}

0 commit comments

Comments
 (0)