Skip to content
Snippets Groups Projects
Unverified Commit ba4a7e49 authored by Artem Pelenitsyn's avatar Artem Pelenitsyn Committed by GitHub
Browse files

[ mergify ] fix condition of 'merge delay passed' label (#8448)

* [ mergify ] fix condition of 'merge delay passed' label

Add the same conditions that we apply for the last stage of PR: 2 approvers and merge-me label. Otherwise, we get a lot of old PRs as well as some current ones getting the label prematurely.
parent f736940c
No related branches found
No related tags found
No related merge requests found
pull_request_rules:
# implementing PR delay logic: apply a label after 2 days of inactivity
# the label will allow Mergify to merge (see #8442)
# the label will allow Mergify to merge (see #8442, #8448)
- actions:
label:
add:
......@@ -9,6 +9,8 @@ pull_request_rules:
name: Wait for 2 days before validating merge
conditions:
- updated-at<2 days ago
- label=merge me
- '#approved-reviews-by>=2'
# rebase+merge strategy
- actions:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment