Skip to content

Commit b7946cc

Browse files
authored
chore(ci): run snyk monitor on an ongoing basis COMPASS-8022 (#5948)
1 parent 5f1d7be commit b7946cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.evergreen/functions.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,8 +917,10 @@ functions:
917917
918918
echo
919919
920-
# Fails if the report failed and is not a patch, including release branches:
921920
if [[ "$EVERGREEN_IS_PATCH" != "true" ]]; then
921+
# Run `snyk monitor` to keep `main` tracked
922+
npx snyk monitor --org=dcd6db53-1532-4e65-beca-55db83f2cd52 --file=package-lock.json
923+
# Fails if the report failed and is not a patch, including release branches:
922924
exit $return_code
923925
fi
924926

0 commit comments

Comments
 (0)