Skip to content

Commit ca9e596

Browse files
committed
fixup: revert codeql-action SHA bump (newer version regressed no-source-seen)
Bumping github/codeql-action from c6f9311 -> 2a1689e in PR #68's M4 track caused `analyze (javascript-typescript, none)` to fail with "CodeQL could not process any code written in JavaScript/TypeScript" where it previously succeeded on main. The repo is Rust-primary; the JS/TS leg is intentionally a no-op existence check that the older action treated as benign but the newer action rejects as a fatal error. Reverting codeql/{init,analyze,upload-sarif} to c6f9311 only; the other 6 action SHA bumps (checkout, cache, upload-artifact, rust-cache, scorecard-action) remain at HEAD. Will file a follow-up issue to either (a) bump codeql with a build-mode that accepts empty JS/TS, or (b) drop the JS/TS leg entirely from codeql.yml.
1 parent 8da6a65 commit ca9e596

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ jobs:
3838
uses: actions/checkout@1cce3390c2bfda521930d01229c073c7ff920824 # v6.0.2
3939

4040
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@2a1689ed43ccdf7eea07e03a75371ce6801d28e6 # v3
41+
uses: github/codeql-action/init@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v3
4242
with:
4343
languages: ${{ matrix.language }}
4444
build-mode: ${{ matrix.build-mode }}
4545

4646
- name: Perform CodeQL Analysis
47-
uses: github/codeql-action/analyze@2a1689ed43ccdf7eea07e03a75371ce6801d28e6 # v3
47+
uses: github/codeql-action/analyze@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v3
4848
with:
4949
category: "/language:${{ matrix.language }}"

.github/workflows/scorecard-enforcer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
publish_results: true
4040

4141
- name: Upload SARIF
42-
uses: github/codeql-action/upload-sarif@2a1689ed43ccdf7eea07e03a75371ce6801d28e6 # v4
42+
uses: github/codeql-action/upload-sarif@c6f931105cb2c34c8f901cc885ba1e2e259cf745 # v4
4343
with:
4444
sarif_file: results.sarif
4545

0 commit comments

Comments
 (0)