You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: split tests into separate workflow to avoid running on irrelevant changes
Moved the `prepare_test_image_testdata`, `tests`, and `docker` jobs from
`checks.yml` into a new `tests.yml` workflow file.
Configured `paths-ignore` for the `tests.yml` workflow so that these long-running
tests are skipped if changes only affect markdown files, documentation,
or other unrelated GitHub Actions workflows. This prevents unnecessary test runs
while still executing quick lint and formatting checks in `checks.yml`.
Additionally, fixed zizmor alerts for cache poisoning and credential persistence
in the docker job, and formatted the new file with prettier. Fixed out-of-date
test snapshots that were causing CI failures.
Co-authored-by: another-rex <106129829+another-rex@users.noreply.github.com>
Copy file name to clipboardExpand all lines: cmd/osv-scanner/scan/source/__snapshots__/command_test.snap
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -897,7 +897,7 @@ Scanned <rootdir>/testdata/sbom-insecure/with-duplicates.cdx.xml file and found
897
897
Warning: plugin transitivedependency/pomxml can be risky when run on untrusted artifacts. Please ensure you trust the source code and artifacts before proceeding.
898
898
Filtered 10 local/unscannable package/s from the scan.
899
899
900
-
Total 26 packages affected by 181 known vulnerabilities (20 Critical, 78 High, 56 Medium, 3 Low, 24 Unknown) from 4 ecosystems.
900
+
Total 26 packages affected by 181 known vulnerabilities (20 Critical, 78 High, 56 Medium, 4 Low, 23 Unknown) from 4 ecosystems.
@@ -3356,7 +3356,7 @@ Warning: plugin transitivedependency/pomxml can be risky when run on untrusted a
3356
3356
Scanned <rootdir>/testdata/locks-insecure/osv-scanner-custom-git-tag.json file and found 1 package
3357
3357
Warning: plugin transitivedependency/pomxml can be risky when run on untrusted artifacts. Please ensure you trust the source code and artifacts before proceeding.
3358
3358
3359
-
Total 1 package affected by 40 known vulnerabilities (5 Critical, 15 High, 20 Medium, 0 Low, 0 Unknown) from 1 ecosystem.
3359
+
Total 1 package affected by 40 known vulnerabilities (4 Critical, 16 High, 20 Medium, 0 Low, 0 Unknown) from 1 ecosystem.
0 commit comments