[tracker/wip/carlosg/code-style-checks: 1/2] foo




commit 7edb9a621edbc539208d2efeeab84746b31ed8cb
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Jun 13 22:25:36 2021 +0200

    foo

 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4fc96b4f4..d506a9838 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -183,7 +183,8 @@ check-code-style:
     GIT_DEPTH: "100"
   stage: code-review
   script:
-    - if [[ x"$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" != "x" ]] ;
+    - env;
+      if [[ x"$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" != "x" ]] ;
       then
         export common_parent_sha=$(diff --old-line-format='' --new-line-format='' <(git rev-list 
--first-parent "${ORIGIN}/${CI_MERGE_REQUEST_TARGET_BRANCH_NAME:-${CI_DEFAULT_BRANCH}}") <(git rev-list 
--first-parent HEAD) | head -1)
         ./check-style.py --sha $common_parent_sha;


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