Skip to content

Commit

Permalink
Set in-progress when needed and rerun CI in merge queue (#1244)
Browse files Browse the repository at this point in the history
* Set in-progress when need and rerun CI in merge queue

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
sea212 and mergify[bot] authored Jan 22, 2024
1 parent c8604f9 commit bb0eab6
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,29 @@ pull_request_rules:
- s:accepted
- s:in-progress
- s:review-needed

- name: Set in-progress label after changes are pushed
conditions:
- commits[-1].date_committer>=0 days 00:01 ago
actions:
label:
add:
- s:in-progress
remove:
- s:accepted
- s:available
- s:blocked
- s:on-hold
- s:review-needed
- s:revision-needed
- name: Trigger CI after Mergify merged the base branch (fix merge queue)
conditions:
- commits[-1].author=mergify[bot]
- label=s:in-progress
- queue-position=0
actions:
label:
remove:
- s:in-progress
add:
- s:accepted

0 comments on commit bb0eab6

Please sign in to comment.