From 14b6a9576059e1915a952032516abbf673573376 Mon Sep 17 00:00:00 2001 From: DTLP Date: Thu, 6 Jun 2024 14:05:16 +0100 Subject: [PATCH] upd --- .github/workflows/kyverno-checks.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/kyverno-checks.yaml b/.github/workflows/kyverno-checks.yaml index 7fb7d2e4..163ddc05 100644 --- a/.github/workflows/kyverno-checks.yaml +++ b/.github/workflows/kyverno-checks.yaml @@ -19,7 +19,8 @@ jobs: - name: Get list of changed files id: changed-files run: | - echo "changed-files=\"$(git diff --name-only --diff-filter=d HEAD^1 HEAD)\"" >> "$GITHUB_OUTPUT" + echo "changed-files=$(git diff --name-only --diff-filter=d HEAD^1 HEAD)" | \ + while IFS= read -r line; do printf 'changed-files=%q\n' "$line"; done >> "$GITHUB_OUTPUT" - name: Check for kyverno in changed files id: kyverno-check run: |