Skip to content

Commit 8fd24a2

Browse files
GitHKAndrei Neagu
andauthored
🎨 Update PR queueing rules for Mergify (#7121)
Co-authored-by: Andrei Neagu <[email protected]>
1 parent 6c43f66 commit 8fd24a2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

β€Ž.github/mergify.ymlβ€Ž

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
# NOTE: the PR is added to the queue when all checks have passed
2+
# and the CI is fully grean and ready to be merged
13
queue_rules:
24
- name: default
3-
branch_protection_injection_mode: merge
45
queue_conditions:
56
# general prerequisits fo accept the PR in the queue
67
- label=πŸ€–-automerge # let Mergify know that the PR can be merged (added manually)
@@ -20,10 +21,11 @@ queue_rules:
2021
- check-success=integration-tests
2122
- check-success=system-tests
2223

24+
# NOTE: these rules help you to forget about the PR
25+
# and let mergify update it and deal with flaky tests
2326
pull_request_rules:
2427
- name: update branch if behind master
2528
conditions:
26-
- queue-name=default # only run if already queued
2729
- label=πŸ€–-automerge
2830
- label!=πŸ€–-do-not-merge
2931
- base=master
@@ -32,7 +34,6 @@ pull_request_rules:
3234

3335
- name: retry CI on fails (used for flaky tests)
3436
conditions:
35-
- queue-name=default # only run if already queued
3637
- label=πŸ€–-automerge
3738
- label!=πŸ€–-do-not-merge
3839
- base=master

0 commit comments

Comments
Β (0)