dryang / rpms / systemd

Forked from rpms/systemd a year ago
Clone
04e329
From 4c241b812ea79f3faa02c45f95834842c7847b76 Mon Sep 17 00:00:00 2001
04e329
From: Jan Macku <jamacku@redhat.com>
04e329
Date: Wed, 21 Sep 2022 15:14:26 +0200
04e329
Subject: [PATCH] ci(mergify): Update policy - Drop LGTM checks
04e329
04e329
rhel-only
04e329
04e329
Related: #2122499
04e329
---
04e329
 .github/workflows/differential-shellcheck.yml |  1 +
04e329
 .mergify.yml                                  | 28 ++++++-------------
04e329
 2 files changed, 9 insertions(+), 20 deletions(-)
04e329
04e329
diff --git a/.github/workflows/differential-shellcheck.yml b/.github/workflows/differential-shellcheck.yml
04e329
index fa94679b51..4399f0bc64 100644
04e329
--- a/.github/workflows/differential-shellcheck.yml
04e329
+++ b/.github/workflows/differential-shellcheck.yml
04e329
@@ -13,6 +13,7 @@ permissions:
04e329
 
04e329
 jobs:
04e329
   lint:
04e329
+    name: Differential ShellCheck
04e329
     runs-on: ubuntu-latest
04e329
 
04e329
     permissions:
04e329
diff --git a/.mergify.yml b/.mergify.yml
04e329
index 3afd04f18e..a5eed6a82a 100644
04e329
--- a/.mergify.yml
04e329
+++ b/.mergify.yml
04e329
@@ -11,16 +11,10 @@ pull_request_rules:
04e329
         - -check-success=build (stream8, GCC_ASAN)
04e329
         # CentOS Stream CI
04e329
         - -check-success=CentOS CI (CentOS Stream 8)
04e329
-        # LGTM
04e329
-        - and:
04e329
-          - "-check-success=LGTM analysis: JavaScript"
04e329
-          - "-check-neutral=LGTM analysis: JavaScript"
04e329
-        - and:
04e329
-          - "-check-success=LGTM analysis: Python"
04e329
-          - "-check-neutral=LGTM analysis: Python"
04e329
-        - and:    
04e329
-          - "-check-success=LGTM analysis: C/C++"
04e329
-          - "-check-neutral=LGTM analysis: C/C++"
04e329
+        # CodeQL
04e329
+        - -check-success=CodeQL
04e329
+        # Other
04e329
+        - -check-success=Differential ShellCheck
04e329
     actions:
04e329
       label:
04e329
         add:
04e329
@@ -36,16 +30,10 @@ pull_request_rules:
04e329
           - check-success=build (stream8, GCC_ASAN)
04e329
           # CentOS Stream CI
04e329
           - check-success=CentOS CI (CentOS Stream 8)
04e329
-          # LGTM
04e329
-          - or:
04e329
-            - "check-success=LGTM analysis: JavaScript"
04e329
-            - "check-neutral=LGTM analysis: JavaScript"
04e329
-          - or:
04e329
-            - "check-success=LGTM analysis: Python"
04e329
-            - "check-neutral=LGTM analysis: Python"
04e329
-          - or:    
04e329
-            - "check-success=LGTM analysis: C/C++"
04e329
-            - "check-neutral=LGTM analysis: C/C++"
04e329
+          # CodeQL
04e329
+          - check-success=CodeQL
04e329
+          # Other
04e329
+          - check-success=Differential ShellCheck
04e329
     actions:
04e329
       label:
04e329
         remove: