diff --git a/templates/changedfiles/branch.yml b/templates/changedfiles/branch.yml index 8123b3cf5f99fa3cc8e0da40eb18e9e43e43a889..e66b2e3bf7de9a981967a3f9cb9a6c061574c0ab 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."