From bfc6aa7e81e0f17beb53443790ba9e8f888f46db Mon Sep 17 00:00:00 2001 From: Kathleen Juell Date: Tue, 1 Oct 2024 10:46:25 -0400 Subject: [PATCH] No env context --- .github/workflows/presubmit-metadata.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/presubmit-metadata.yaml b/.github/workflows/presubmit-metadata.yaml index 8c4e529a7..7e34460b3 100644 --- a/.github/workflows/presubmit-metadata.yaml +++ b/.github/workflows/presubmit-metadata.yaml @@ -21,13 +21,13 @@ jobs: find ./images -name '*metadata.yaml' | while read -r file; do if yq eval '.keywords[]' "$file" | grep -voE '(application|base|fips|ai|ai-gpu|stigs|featured)'; then echo "$file" has keywords that are not on allow list. Please update. - echo "UPDATES_NEEDED='true'" >> $GITHUB_ENV + echo "UPDATES_NEEDED = true" >> $GITHUB_ENV fi done - name: Output result shell: bash id: output-result - if: ${{ env.UPDATES_NEEDED == 'true' }} + if: ${{ UPDATES_NEEDED == true }} run: | echo "Please update your files" exit 1