From 94ae3927d58c41887f3cb46557ef81739a7f8951 Mon Sep 17 00:00:00 2001 From: Kathleen Juell Date: Tue, 1 Oct 2024 08:11:22 -0400 Subject: [PATCH] Update output --- .github/workflows/presubmit-metadata.yaml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/presubmit-metadata.yaml b/.github/workflows/presubmit-metadata.yaml index fee49fab7..6fd04da31 100644 --- a/.github/workflows/presubmit-metadata.yaml +++ b/.github/workflows/presubmit-metadata.yaml @@ -20,18 +20,7 @@ jobs: set +o pipefail 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 - cat "$file" has keywords that are not on allow list. Please update. >> output_log.txt + echo "$file" has keywords that are not on allow list. Please update. >> $GITHUB_OUTPUT fi done echo '::endgroup::' - - name: Output results - shell: bash - id: output-results - run: | - set -e - cd "${GITHUB_WORKSPACE}" - set +o pipefail - if [ -s output_log.txt ]; then - cat output_log.txt - exit 1 - fi