Skip to content

ci: update codeql-action from retired v2 to v3 - #3441

Open
kobihikri wants to merge 1 commit into
spotify:masterfrom
kobihikri:ci/codeql-v3
Open

ci: update codeql-action from retired v2 to v3#3441
kobihikri wants to merge 1 commit into
spotify:masterfrom
kobihikri:ci/codeql-v3

Conversation

@kobihikri

Copy link
Copy Markdown

Hi, and thank you for luigi.

Three-line CI maintenance fix: codeql.yml still uses github/codeql-action/{init,autobuild,analyze}@v2, and CodeQL Action v2 was discontinued in January 2025 (GitHub changelog: "CodeQL Action v2 is now discontinued… workflows using it may eventually break"). v3 is the drop-in replacement — same inputs, same behavior.

The repo has no dependabot config for github-actions, so nothing would bump this automatically; hence the manual PR.

For transparency: I used AI assistance to spot and draft this; I verified the workflow refs and the v2 retirement notice myself.

@kobihikri
kobihikri requested review from a team and dlstadther as code owners July 15, 2026 17:39
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, but i also see the following:

Warning: CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/

Simple fix though

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.

2 participants