From 2efea500108d07d50587067da468566dff956aaf Mon Sep 17 00:00:00 2001 From: jagpreetsinghsasan Date: Thu, 7 Sep 2023 11:33:19 +0530 Subject: [PATCH] Added quotes violation of action lint Signed-off-by: jagpreetsinghsasan --- .github/workflows/ci.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b47fea9370..faa3c322e2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -71,8 +71,8 @@ jobs: - name: Run optimized cli script id: optimize-ci run: | - OPTIMIZED_CI_OUTPUT=$(node tools/optimize-ci.js ${{ steps.changed-files.outputs.all_changed_files }}) - echo "OPTIMIZED_CI_OUTPUT=$OPTIMIZED_CI_OUTPUT" >> $GITHUB_OUTPUT + OPTIMIZED_CI_OUTPUT="$(node tools/optimize-ci.js ${{ steps.changed-files.outputs.all_changed_files }})" + echo "OPTIMIZED_CI_OUTPUT=$OPTIMIZED_CI_OUTPUT" >> "$GITHUB_OUTPUT" - name: List the changed-files run: echo "The output is ${{ steps.optimize-ci.outputs.OPTIMIZED_CI_OUTPUT }}" @@ -142,7 +142,7 @@ jobs: - name: Set env.GIT_INDEX_FILE_COUNT id: set_env_git_index_file_count run: | - echo "GIT_INDEX_FILE_COUNT=$(git status --porcelain | wc -l)" >> $GITHUB_ENV + echo "GIT_INDEX_FILE_COUNT=$(git status --porcelain | wc -l)" >> "$GITHUB_ENV" - name: Print env.GIT_INDEX_FILE_COUNT id: print_env_git_index_file_count @@ -1986,7 +1986,7 @@ jobs: - name: npm_install_@devcontainers/cli@0.44.0 run: npm install -g @devcontainers/cli@0.44.0 - name: npx_yes_devcontainers_cli_build - run: npx --yes @devcontainers/cli@0.44.0 build --workspace-folder=./ --log-level=trace --push=false --config=./.devcontainer/devcontainer.json --image-name=$IMAGE_NAME + run: npx --yes @devcontainers/cli@0.44.0 build --workspace-folder=./ --log-level=trace --push=false --config=./.devcontainer/devcontainer.json --image-name="$IMAGE_NAME" ghcr-examples-carbon-accounting: needs: get-diff if: contains(needs.get-diff.outputs.all-changed-files, 'examples/carbon-accounting')