ryantimwilson / rpms / systemd

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