Skip to content

Commit

Permalink
CDXA validation
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <anleonar@redhat.com>
  • Loading branch information
andrew-m-leonard committed Dec 16, 2024
1 parent 5325473 commit 1c64059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate-cdxa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: |
ls -l
XML_FILES=$(gh pr view "$PR_NUMBER" --repo "$REPOSITORY" --json files | jq -r '.files[] | .path')
for XML_FILE in "$XML_FILES"; do
echo "$XML_FILES" | while read XML_FILE; do
echo "CycloneDX validating file: $XML_FILE"
./cyclonedx-linux-x64 validate --input-file "$XML_FILE" --fail-on-errors --input-version v1_6
done
Expand Down

0 comments on commit 1c64059

Please sign in to comment.