Skip to content

Commit b28558f

Browse files
simle
1 parent ddcd6d2 commit b28558f

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -147,22 +147,7 @@ jobs:
147147
echo
148148
fi
149149
150-
composer audit --no-interaction --format=json > composer-audit.json || true
151-
152-
REPORTED=$(jq -r '
153-
(.advisories? // [] | .[]? | .cve? // empty),
154-
(.["ignored-advisories"]? // {} | to_entries[] | select(.value != null) | .value[] | .cve? // empty)
155-
' composer-audit.json | sort | uniq)
156-
157-
DIFF=$(comm -23 <(echo "$REPORTED") <(echo "$IGNORED"))
158-
159-
if [ -n "$DIFF" ]; then
160-
echo "❌ New vulnerabilities found by Composer audit:"
161-
echo "$DIFF"
162-
exit 1
163-
else
164-
echo "✅ No new vulnerabilities found by Composer audit."
165-
fi
150+
composer audit --no-interaction
166151
167152
symfony security:check --format=json > symfony-audit.json || true
168153

0 commit comments

Comments
 (0)