Skip to content

Commit 6a773c9

Browse files
nabramovitznorman-abramovitz
authored andcommitted
ci: use autobuild for CodeQL Go analysis
Go has no build-free extraction mode in CodeQL; the initial build-mode: none failed init. autobuild resolves src/jetstream/go.mod on its own.
1 parent 51d6f3c commit 6a773c9

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
include:
31-
# build-mode: none — build-free extraction; avoids generating the
32-
# gitignored src/jetstream/extra_plugins.go and a Go toolchain setup.
33-
# Switch go to autobuild if traced-build precision is ever needed.
31+
# Go has no build-free mode — CodeQL requires autobuild or manual.
32+
# autobuild resolves src/jetstream/go.mod and builds without the
33+
# gitignored extra_plugins.go (it only adds blank plugin imports).
3434
- language: go
35-
build-mode: none
35+
build-mode: autobuild
36+
# JS/TS needs no build — build-free extraction.
3637
- language: javascript-typescript
3738
build-mode: none
3839
steps:

0 commit comments

Comments
 (0)