From a48cc04bd7cede0883408c1c656237c16ac332c0 Mon Sep 17 00:00:00 2001 From: Splines Date: Tue, 14 Nov 2023 20:13:46 +0100 Subject: [PATCH] Fix spaces in changed files --- .github/workflows/linter.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 08eda31ad..4e1d37bb5 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -33,8 +33,8 @@ jobs: - name: Get changed ruby files (git diff) run: | changedFiles=$(git diff-tree --name-only --diff-filter=d -r HEAD^1 HEAD | grep '\.rb$' || test $? = 1;) - echo "Changed ruby files: $changedFiles" - echo "CHANGED_FILES=$changedFiles" >> $GITHUB_ENV + echo "Changed ruby files: \n$changedFiles" + echo "CHANGED_FILES='$changedFiles'" >> $GITHUB_ENV # See RuboCop command line flags here: # https://docs.rubocop.org/rubocop/usage/basic_usage.html#command-line-flags