From bbbbcaafbb50f37439ce10135622e79ac4a0cb76 Mon Sep 17 00:00:00 2001 From: Teake Nutma <t.a.nutma@rug.nl> Date: Mon, 20 Jun 2022 16:50:01 +0200 Subject: [PATCH] Fix bug --- templates/changedfiles/branch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/changedfiles/branch.yml b/templates/changedfiles/branch.yml index 8123b3c..e66b2e3 100644 --- a/templates/changedfiles/branch.yml +++ b/templates/changedfiles/branch.yml @@ -17,7 +17,7 @@ changed_files_branch: # multiple commits at once. If it's not set, use the first parent of the # commit (which for merge commits is from the branch where you merged into). - | - if [ "$CI_COMMIT_BEFORE_SHA" = "0000000000000000000000000000000000000000"]; then + if [ "$CI_COMMIT_BEFORE_SHA" = "0000000000000000000000000000000000000000" ]; then echo "CI_COMMIT_BEFORE_SHA is not set." CHANGED_FILES_COMPARE_REF=$(git rev-parse HEAD^) echo "Using ${CHANGED_FILES_COMPARE_REF} as previous reference instead." -- GitLab