|
|
984f77 |
From 0feaf0be515c02a10ca12f726b4a8424262cf09c Mon Sep 17 00:00:00 2001
|
|
|
984f77 |
From: Jan Macku <jamacku@redhat.com>
|
|
|
984f77 |
Date: Tue, 19 Jul 2022 12:43:43 +0200
|
|
|
984f77 |
Subject: [PATCH] ci(Mergify): Add `ci-waived` logic
|
|
|
984f77 |
|
|
|
984f77 |
RHEL-only
|
|
|
984f77 |
|
|
|
984f77 |
Related: #2087152
|
|
|
984f77 |
---
|
|
|
984f77 |
.mergify.yml | 32 ++++++++++++++++++--------------
|
|
|
984f77 |
1 file changed, 18 insertions(+), 14 deletions(-)
|
|
|
984f77 |
|
|
|
984f77 |
diff --git a/.mergify.yml b/.mergify.yml
|
|
|
984f77 |
index 6fa400effd..3afd04f18e 100644
|
|
|
984f77 |
--- a/.mergify.yml
|
|
|
984f77 |
+++ b/.mergify.yml
|
|
|
984f77 |
@@ -4,6 +4,7 @@
|
|
|
984f77 |
pull_request_rules:
|
|
|
984f77 |
- name: Add `needs-ci` label on CI fail
|
|
|
984f77 |
conditions:
|
|
|
984f77 |
+ - label!=ci-waived
|
|
|
984f77 |
- or:
|
|
|
984f77 |
# Unit tests
|
|
|
984f77 |
- -check-success=build (stream8, GCC)
|
|
|
984f77 |
@@ -27,21 +28,24 @@ pull_request_rules:
|
|
|
984f77 |
|
|
|
984f77 |
- name: Remove `needs-ci` label on CI success
|
|
|
984f77 |
conditions:
|
|
|
984f77 |
- # Unit tests
|
|
|
984f77 |
- - check-success=build (stream8, GCC)
|
|
|
984f77 |
- - check-success=build (stream8, GCC_ASAN)
|
|
|
984f77 |
- # CentOS Stream CI
|
|
|
984f77 |
- - check-success=CentOS CI (CentOS Stream 8)
|
|
|
984f77 |
- # LGTM
|
|
|
984f77 |
- or:
|
|
|
984f77 |
- - "check-success=LGTM analysis: JavaScript"
|
|
|
984f77 |
- - "check-neutral=LGTM analysis: JavaScript"
|
|
|
984f77 |
- - or:
|
|
|
984f77 |
- - "check-success=LGTM analysis: Python"
|
|
|
984f77 |
- - "check-neutral=LGTM analysis: Python"
|
|
|
984f77 |
- - or:
|
|
|
984f77 |
- - "check-success=LGTM analysis: C/C++"
|
|
|
984f77 |
- - "check-neutral=LGTM analysis: C/C++"
|
|
|
984f77 |
+ - label=ci-waived
|
|
|
984f77 |
+ - and:
|
|
|
984f77 |
+ # Unit tests
|
|
|
984f77 |
+ - check-success=build (stream8, GCC)
|
|
|
984f77 |
+ - check-success=build (stream8, GCC_ASAN)
|
|
|
984f77 |
+ # CentOS Stream CI
|
|
|
984f77 |
+ - check-success=CentOS CI (CentOS Stream 8)
|
|
|
984f77 |
+ # LGTM
|
|
|
984f77 |
+ - or:
|
|
|
984f77 |
+ - "check-success=LGTM analysis: JavaScript"
|
|
|
984f77 |
+ - "check-neutral=LGTM analysis: JavaScript"
|
|
|
984f77 |
+ - or:
|
|
|
984f77 |
+ - "check-success=LGTM analysis: Python"
|
|
|
984f77 |
+ - "check-neutral=LGTM analysis: Python"
|
|
|
984f77 |
+ - or:
|
|
|
984f77 |
+ - "check-success=LGTM analysis: C/C++"
|
|
|
984f77 |
+ - "check-neutral=LGTM analysis: C/C++"
|
|
|
984f77 |
actions:
|
|
|
984f77 |
label:
|
|
|
984f77 |
remove:
|