Skip to content

Commit 67e1c3c

Browse files
author
Andrei Neagu
committed
automatic queue adding once coditions are met
1 parent 6ab4fbb commit 67e1c3c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/mergify.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,17 @@ pull_request_rules:
5959
workflow:
6060
dispatch:
6161
- workflow: ci-testing-deploy.yml
62+
63+
- name: Automatically add PR to queue if it meets the conditions
64+
conditions:
65+
- "label=🤖-automerge" # Only queue PRs with this label
66+
- "label!=🤖-do-not-merge" # Do not queue PRs with this label
67+
- "base=master"
68+
- "-draft" # PR is not in draft state
69+
- "-conflict" # PR has no conflicts
70+
- "#approved-reviews-by>=2" # Requires 2 approvals
71+
- "#changes-requested-reviews-by=0" # No requested changes
72+
- "#review-threads-unresolved=0" # All review threads resolved
73+
actions:
74+
queue:
75+
name: default

0 commit comments

Comments
 (0)