There was an error while loading. Please reload this page.
1 parent 13e3f6c commit d966334Copy full SHA for d966334
1 file changed
.github/scripts/filter-sarif.py
@@ -14,6 +14,10 @@
14
# Keep at least one run
15
runs = runs if len(runs) > 0 else [sarif["runs"][0]]
16
17
+ # GitHub expects each tool to only create 1 run, but Snyk splits the results
18
+ # across multiple runs. As a workaround, we rename the tools for each run to
19
+ # ensure they are unique in thef ile.
20
+ # https://github.blog/changelog/2025-07-21-code-scanning-will-stop-combining-multiple-sarif-runs-uploaded-in-the-same-sarif-file/
21
for i, run in enumerate(runs):
22
run["tool"]["driver"]["name"] += f"_{i}"
23
0 commit comments