Skip to content

Commit

Permalink
Avoid mergify dequeue (#1245)
Browse files Browse the repository at this point in the history
* Avoid mergify deque

* Set review needed only shortly after Mergify commit
  • Loading branch information
sea212 authored Jan 23, 2024
1 parent bb0eab6 commit 0cab1fa
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ pull_request_rules:
- s:review-needed
- name: Set in-progress label after changes are pushed
conditions:
- commits[-1].date_committer>=0 days 00:01 ago
- commits[-1].author!=mergify[bot]
- commits[-1].date_committer>=0 days 00:01 ago
actions:
label:
add:
Expand All @@ -51,12 +52,19 @@ pull_request_rules:
- name: Trigger CI after Mergify merged the base branch (fix merge queue)
conditions:
- commits[-1].author=mergify[bot]
- label=s:in-progress
- commits[-1].date_committer>=0 days 00:01 ago
- queue-position=0
actions:
label:
remove:
- s:in-progress
add:
- s:accepted

- s:review-needed
- name: Remove CI trigger label
conditions:
- commits[-1].author=mergify[bot]
- label=s:review-needed
- queue-position=0
actions:
label:
remove:
- s:review-needed

0 comments on commit 0cab1fa

Please sign in to comment.