Skip to content

codeql: do call apt-get update#870

Merged
dscho merged 1 commit intovfs-2.53.0from
fix-codeql-install-dependencies
Mar 26, 2026
Merged

codeql: do call apt-get update#870
dscho merged 1 commit intovfs-2.53.0from
fix-codeql-install-dependencies

Conversation

@dscho
Copy link
Member

@dscho dscho commented Mar 26, 2026

As of b133d30 (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.

/cc @derrickstolee @tyrielv @mjcheetham

As of b133d30 (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 <stolee@gmail.com>
Noticed-by: Tyrie Vella <tyrielv@gmail.com>
Noticed-by: Matthew John Cheetham <mjcheetham@outlook.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho requested a review from mjcheetham March 26, 2026 13:19
@dscho dscho self-assigned this Mar 26, 2026
@dscho dscho enabled auto-merge March 26, 2026 13:22
@dscho dscho merged commit cc9e5db into vfs-2.53.0 Mar 26, 2026
126 checks passed
@dscho dscho deleted the fix-codeql-install-dependencies branch March 26, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants