Skip to content

Commit

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

0 comments on commit 8683c23

Please sign in to comment.