diff --git a/.evergreen.yml b/.evergreen.yml index c3e7021d5..cc0a97fa9 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -7908,8 +7908,10 @@ functions: cat .sbom/vulnerability-report.md fi - # Fails if the report failed and is not a patch, including during releases: if [[ "${is_patch}" != "true" ]]; then + # Run `snyk monitor` to keep `main` tracked + npx snyk monitor --org=dcd6db53-1532-4e65-beca-55db83f2cd52 --file=package-lock.json + # Fails if the report failed and is not a patch, including during releases: exit $return_code fi diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index a57afb815..1c8892659 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -816,8 +816,10 @@ functions: cat .sbom/vulnerability-report.md fi - # Fails if the report failed and is not a patch, including during releases: if [[ "${is_patch}" != "true" ]]; then + # Run `snyk monitor` to keep `main` tracked + npx snyk monitor --org=dcd6db53-1532-4e65-beca-55db83f2cd52 --file=package-lock.json + # Fails if the report failed and is not a patch, including during releases: exit $return_code fi