ci: Sanitize bash inputs (#31342)

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
Matsu 2026-05-29 15:32:30 +03:00 committed by GitHub
parent d431710a4c
commit 58155cefa7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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'