Skip to content

Commit 9b4fa15

Browse files
derrickburnsclaude
andcommitted
Fix CodeQL: use build-mode manual for Scala
Changed from build-mode: none to build-mode: manual to properly trace the SBT compilation process. This ensures CodeQL can extract from the Scala->JVM bytecode compilation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1d0c0c0 commit 9b4fa15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949
with:
5050
languages: java
5151
queries: security-and-quality
52-
# Use none build-mode for Scala projects with manual build
53-
build-mode: none
52+
# Use manual build-mode for Scala to avoid autobuild
53+
build-mode: manual
5454

55-
# MANUAL BUILD: compile Scala so the extractor can see .class files
55+
# MANUAL BUILD: compile Scala so the CodeQL tracer can extract the build
5656
- name: Compile (Scala -> JVM bytecode)
5757
run: |
5858
sbt ++${{ env.SCALA_VERSION }} -Dspark.version=${{ env.SPARK_VERSION }} \

0 commit comments

Comments
 (0)