Skip to content

Commit f452c9d

Browse files
authored
Disable SARIF upload for now: they are rejected (#6605)
See https://github.blog/changelog/2025-07-21-code-scanning-will-stop-combining-multiple-sarif-runs-uploaded-in-the-same-sarif-file/ We are using https://github.com/whisperity/CodeChecker-Action, so likely need to work with upstream to fix this. For now run the check, but disable SARIF uploads.
2 parents c7592d7 + fa24a4c commit f452c9d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/codechecker.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
opam pin add -y dune-compiledb https://github.com/edwintorok/dune-compiledb/releases/download/0.6.0/dune-compiledb-0.6.0.tbz
3939
4040
- name: Trim dune cache
41-
run: opam exec -- dune cache trim --size=2GiB
41+
run: opam exec -- dune cache trim --size=2GiB
4242

4343
- name: Generate compile_commands.json
4444
run: opam exec -- make compile_commands.json
@@ -73,7 +73,10 @@ jobs:
7373
name: codechecker_sarif
7474
path: codechecker.sarif
7575

76-
- name: Upload SARIF report
77-
uses: github/codeql-action/upload-sarif@v3
78-
with:
79-
sarif_file: codechecker.sarif
76+
# TODO: reenable after fixing
77+
# https://github.blog/changelog/2025-07-21-code-scanning-will-stop-combining-multiple-sarif-runs-uploaded-in-the-same-sarif-file/
78+
#
79+
#- name: Upload SARIF report
80+
# uses: github/codeql-action/upload-sarif@v3
81+
# with:
82+
# sarif_file: codechecker.sarif

0 commit comments

Comments
 (0)