Skip to content

Commit 10d2982

Browse files
simle
1 parent ddcd6d2 commit 10d2982

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

.github/workflows/build.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -147,23 +147,6 @@ 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
166-
167150
symfony security:check --format=json > symfony-audit.json || true
168151
169152
FOUND=$(jq -r '.[]?.advisories[]?.cve? // empty' symfony-audit.json | sort | uniq)

0 commit comments

Comments
 (0)