Skip to content

Commit

Permalink
Update reusable-composer-checks.yaml
Browse files Browse the repository at this point in the history
Updated output
  • Loading branch information
bluvulture authored Sep 11, 2024
1 parent d49d1ff commit 63b6b3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reusable-composer-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ jobs:
echo "Raw composer audit output:"
echo "$VULNERABILITIES"
if echo "$VULNERABILITIES" | grep -E 'Found [0-9]+ security vulnerability (advisory|advisories).*'; then
if echo "$VULNERABILITIES" | grep -E 'Found [1-9][0-9]*.*'; then
echo "Security vulnerabilities found!" >> $GITHUB_STEP_SUMMARY
echo "$VULNERABILITIES" >> $GITHUB_STEP_SUMMARY
echo "$VULNERABILITIES" | awk '{print "- " $0}' >> $GITHUB_STEP_SUMMARY
{
echo "VULNERABILITIES_ENV<<EOF"
echo "$VULNERABILITIES"
Expand Down

0 comments on commit 63b6b3e

Please sign in to comment.