[nautilus/gnome-40] ci: Do not run style check on stable branches



commit 8ec71d02c8c31f99a6070b73716fa0bb32b440f9
Author: Ondrej Holy <oholy redhat com>
Date:   Wed Aug 11 09:53:33 2021 +0200

    ci: Do not run style check on stable branches
    
    The style check job currently fails on stable branches since the recent
    uncrustify change. We could use older image on stable, or backport the code
    changes, but I think that the style check job on stable branches is not
    actually needed. Let's disable the style check job on stable branches to
    fix pipeline there and avoid this situation in the future.
    
    
    (cherry picked from commit bb5a72d685bf1bb2924cf7a59d971da98dd8a04e)

 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c6eddf810..217855edb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -67,6 +67,8 @@ style check:
         - gcc data/lineup-parameters.c `pkg-config --cflags --libs gio-2.0 gio-unix-2.0` -o 
data/lineup-parameters
         - LANG=C.utf8 data/run-uncrustify.sh
         - git diff --exit-code | tee uncrustify.diff
+    except:
+        - /^gnome-.*$/
 
 update image:
     variables:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]