From 58155cefa78df96c44849e0a259221a9bb800109 Mon Sep 17 00:00:00 2001 From: Matsu Date: Fri, 29 May 2026 15:32:30 +0300 Subject: [PATCH] ci: Sanitize bash inputs (#31342) Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --- .github/actions/load-n8n-docker/action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/load-n8n-docker/action.yml b/.github/actions/load-n8n-docker/action.yml index 5999c9da22d..3a5475ac3db 100644 --- a/.github/actions/load-n8n-docker/action.yml +++ b/.github/actions/load-n8n-docker/action.yml @@ -37,8 +37,11 @@ runs: - name: Warn on cache miss if: steps.restore.outputs.cache-hit != 'true' shell: bash + env: + BUILD_VARIANT: ${{ inputs.build-variant }} + GITHUB_SHA: ${{ github.sha }} run: | - echo "::warning::Cache miss for n8n-docker-image-${{ inputs.build-variant }}-${{ github.sha }} (SHA ${{ github.sha }}); falling back to rebuild via build-n8n-docker." + echo "::warning::Cache miss for n8n-docker-image-$BUILD_VARIANT-$GITHUB_SHA (SHA $GITHUB_SHA); falling back to rebuild via build-n8n-docker." - name: Rebuild image on cache miss if: steps.restore.outputs.cache-hit != 'true'