[gjs/mozjs78: 25/50] CI: Use GNOME/gjs as the base for IWYU comparison




commit ac1afd4619820df786163cd3e823a910ece4e0b7
Author: Philip Chimento <philip chimento gmail com>
Date:   Tue Jul 28 18:31:47 2020 -0700

    CI: Use GNOME/gjs as the base for IWYU comparison
    
    If this job is run from a fork, then previously we would use the fork's
    master branch as the base for comparison, which is probably out of date
    versus the GNOME master branch.

 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 230ce056..103a6c73 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -193,7 +193,9 @@ iwyu:
   stage: source_check
   image: registry.gitlab.gnome.org/gnome/gjs:fedora.mozjs68-debug
   script:
-    - ./tools/run_iwyu.sh origin/master
+    - git remote add upstream https://gitlab.gnome.org/GNOME/gjs
+    - git fetch upstream
+    - ./tools/run_iwyu.sh upstream/master
   only:
     - branches
   except:


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