ryantimwilson / rpms / systemd

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