From 8f2fb39e56a83e1ce45a572efedc16f5e205aae3 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 26 Mar 2026 14:13:13 +0100 Subject: [PATCH] fixup! codeql: run static analysis as part of CI builds As of b133d3071ae6 (github: simplify computation of the job's distro, 2025-01-10), the `apt-get update` call that is guarded by `$distro` in the `ci/install-dependencies.sh` script requires the `CI_JOB_IMAGE` variable to set correctly (which is used to initialize `distro` in the GitHub Actions-specific part at the top of `ci/lib.sh`). Let's do the same in the CodeQL workflow. Noticed-by: Derrick Stolee Noticed-by: Tyrie Vella Noticed-by: Matthew John Cheetham Signed-off-by: Johannes Schindelin --- .github/workflows/codeql.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e7aa7d5c0548ee..2f9ad45f91fa9c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,6 +30,7 @@ jobs: if: matrix.language == 'cpp' env: jobname: codeql + CI_JOB_IMAGE: ubuntu-latest # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL