From 6fdf9882a35f1e005b053d07e27a76397f6042d3 Mon Sep 17 00:00:00 2001 From: Ion Alpha Date: Wed, 8 Jul 2026 06:51:36 +0000 Subject: [PATCH] fix(ci): use the `languages` input for CodeQL init The `github/codeql-action/init` input is `languages`, not `language`. With the singular key the action warned "Unexpected input(s) 'language'" and ignored it, falling back to language autodetection so both matrix legs analyzed the same detected set instead of the intended `go` and `actions`. Use `languages` so each leg initializes the language the matrix selects. --- .github/workflows/codeql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index dc6797e9..787f59cc 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -25,6 +25,6 @@ jobs: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - uses: github/codeql-action/init@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4 with: - language: ${{ matrix.language }} + languages: ${{ matrix.language }} - uses: github/codeql-action/autobuild@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4 - uses: github/codeql-action/analyze@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4