Skip to content

Bump CodeQL workflow to non-retired action versions#620

Open
Valyrian-Code wants to merge 1 commit into
GeoNode:masterfrom
Valyrian-Code:ci/bump-codeql-actions-v3
Open

Bump CodeQL workflow to non-retired action versions#620
Valyrian-Code wants to merge 1 commit into
GeoNode:masterfrom
Valyrian-Code:ci/bump-codeql-actions-v3

Conversation

@Valyrian-Code

Copy link
Copy Markdown
Contributor

Problem

.github/workflows/codeql.yml pins CodeQL Action v2 (github/codeql-action/init@v2, github/codeql-action/analyze@v2) and actions/checkout@v3.

GitHub retired CodeQL Action v2 (changelog, 2025-01-10). Workflows still on v2 run on an unsupported runtime and may eventually stop working.

Fix

  • github/codeql-action/init@v2@v3
  • github/codeql-action/analyze@v2@v3
  • actions/checkout@v3@v4

v3 is the current widely-adopted baseline (v4 also exists, but v3 keeps this a minimal, low-risk version bump).

Verification

  • Change is version-string-only; codeql.yml still parses as valid YAML.

GitHub retired CodeQL Action v2 (announced 2025-01-10); workflows still
on v2 run on an unsupported runtime and may stop working. Update
codeql-action init/analyze v2 -> v3 and actions/checkout v3 -> v4.
Copilot AI review requested due to automatic review settings June 9, 2026 20:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Valyrian-Code

Copy link
Copy Markdown
Contributor Author

I went with v3 since it's the established baseline with the widest adoption, to keep this a minimal, low-risk bump. CodeQL Action v4 is also out (Node 24) if you'd prefer to jump straight there — just say the word and I'll update.

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