[nautilus/cherry-pick-bb5a72d6] ci: Do not run style check on stable branches




commit 7e605a78a77ee584f65c017ade2a78ab80e1783e
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]