Skip to content

Commit

Permalink
Update output
Browse files Browse the repository at this point in the history
  • Loading branch information
katjuell committed Oct 1, 2024
1 parent c417487 commit 94ae392
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/presubmit-metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 94ae392

Please sign in to comment.