[tracker/wip/carlosg/code-style-checks] bar
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/code-style-checks] bar
- Date: Sun, 13 Jun 2021 23:31:53 +0000 (UTC)
commit 2880a2166e45e427573f64b3e12d30f2a01a52ee
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Jun 14 01:21:43 2021 +0200
bar
.gitlab-ci.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e0a63c3ef..74ec1164d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -181,7 +181,9 @@ check-code-style:
- build-fedora-container@x86_64
stage: code-review
script:
- - 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) ;
+ - git fetch origin ;
+ 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) ;
+ echo $common_parent_sha ;
./check-style.py --sha $common_parent_sha ;
if [ $? -ne 0 ] ;
then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]