[skip ci] sync Mergify label loop bug. (#7714)

When the title has `[skip ci]` but CI is running two rules are fighting each other.

This change ensure label ci-passed is added and not removed by other rules

Signed-off-by: Mehdi Abaakouk <sileht@sileht.net>
This commit is contained in:
Mehdi ABAAKOUK 2021-09-10 11:28:21 +02:00 committed by GitHub
parent 0548995477
commit a20275eb05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
.github/mergify.yml vendored
View File

@ -83,6 +83,7 @@ pull_request_rules:
- name: Remove ci-passed when unittest failed
conditions:
- base=master
- -title~=\[skip ci\]
- "check-failure=Build and test AMD64 Ubuntu 18.04"
actions:
label:
@ -92,6 +93,7 @@ pull_request_rules:
- name: Remove ci-passed when ci failed
conditions:
- base=master
- -title~=\[skip ci\]
- "check-failure=continuous-integration/jenkins/pr-merge"
actions:
label:
@ -101,6 +103,7 @@ pull_request_rules:
- name: Remove ci-passed when ci pending
conditions:
- base=master
- -title~=\[skip ci\]
- "check-pending=continuous-integration/jenkins/pr-merge"
actions:
label: