Skip to content

Commit cd6d450

Browse files
committed
ci(Mergify): configuration update
Signed-off-by: Andrei Neagu <null>
1 parent c05bb58 commit cd6d450

File tree

1 file changed

+30
-35
lines changed

1 file changed

+30
-35
lines changed

.github/mergify.yml

Lines changed: 30 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,35 @@
11
pull_request_rules:
2-
- name: Automatic merge
3-
description: Conditions required for automatic merging of a PR
4-
conditions:
5-
# let Mergify know that the PR can be merged (added manually)
6-
- label = 🤖-automerge
7-
# block Mergify from merging the PR (added manually)
8-
- label != 🤖-do-not-merge
9-
10-
# list of CI checks that need to pass in order for the PR to be merged
11-
- check-success=unit-tests
12-
- check-success=integration-tests
13-
- check-success=system-tests
14-
15-
# Check for required reviews
16-
- "#approved-reviews-by>=2" # Requires 2 approving reviews
17-
- "#changes-requested-reviews-by=0" # No changes requested
18-
- "#review-threads-unresolved=0" # All review threads resolved
19-
20-
# Optional but recommended checks
21-
- base=master
22-
- -draft # PR is not in draft state
23-
- -conflict # No merge conflicts
24-
actions:
25-
merge:
26-
27-
28-
- name: retry CI on failure
29-
conditions:
30-
- base=master
31-
- or:
2+
- name: automatic update for PR ready to be merged
3+
conditions:
4+
- -draft
5+
- label=🤖-automerge
6+
actions:
7+
update:
8+
- name: Automatic merge
9+
description: Conditions required for automatic merging of a PR
10+
conditions:
11+
- label = 🤖-automerge
12+
- label != 🤖-do-not-merge
13+
- check-success=unit-tests
14+
- check-success=integration-tests
15+
- check-success=system-tests
16+
- "#approved-reviews-by>=2"
17+
- "#changes-requested-reviews-by=0"
18+
- "#review-threads-unresolved=0"
19+
- base=master
20+
- -draft
21+
- -conflict
22+
actions:
23+
merge:
24+
- name: retry CI on failure
25+
conditions:
26+
- base=master
27+
- or:
3228
- check-failure=unit-tests
3329
- check-failure=integration-tests
3430
- check-failure=system-tests
35-
actions:
36-
github_actions:
37-
workflow:
38-
dispatch:
31+
actions:
32+
github_actions:
33+
workflow:
34+
dispatch:
3935
- workflow: .github/workflows/ci-testing-deploy.yml
40-

0 commit comments

Comments
 (0)