Skip to content

ci(codeql): upgrade github/codeql-action to v4.38.0 (#54) - #55

Merged
vianbas merged 1 commit into
mainfrom
chore/codeql-action-v4
Sep 13, 2026
Merged

vianbas merged 1 commit into
mainfrom
chore/codeql-action-v4

Conversation

@vianbas

@vianbas vianbas commented Sep 13, 2026

Copy link
Copy Markdown
Owner

Summary

Upgrades github/codeql-action (init, autobuild, analyze) in .github/workflows/codeql.yml from v3.36.2 to v4.38.0. All three steps change together in one PR.

Closes #54

Supersedes #28, #35, #36 and #37 (Dependabot's split v4.36.2 bumps).

Why:

  • CodeQL upload fails on PR chore(ci): run Dependabot monthly with grouped minor/patch updates (#52) #53. The analysis finishes, then stops at "Uploading results" with no error. It failed on two attempts, and a third rerun never started. The same workflow passed on main on 2026-09-11, with an identical runner (2.337.0) and image (ubuntu-24.04 20260907.300.1).
  • v3 is being retired. Every run carries the annotation "CodeQL Action v3 will be deprecated in December 2026". The v3 actions target Node.js 20, which GitHub removes from runners on 2026-09-23; v4 runs on Node.js 24.

Architecture summary

  • Only the three uses: pins in .github/workflows/codeql.yml change. The workflow triggers, permissions and matrix stay the same.
  • The pin is commit b96794f015dfd88f77b49b1c93e0fa7110f94c63. I verified that the v4.38.0 annotated tag in github/codeql-action resolves to that commit, and v4.38.0 is the latest non-prerelease v4 release (2026-09-09).
  • Nothing in the v4 changelog affects this config. v4 runs on Node.js 24 and needs CodeQL bundle ≥ 2.19.4; the runner uses 2.27.0.

Security considerations

  • The action stays pinned by full commit SHA, with the version recorded in a comment.
  • permissions stays at contents: read and security-events: write.
  • Keeps code scanning uploads working on a supported action version.

Testing evidence

  • The YAML parses, and all three CodeQL steps resolve to b96794f.
  • git diff --check is clean.
  • No other codeql-action references remain in the repo.
  • The CodeQL check on this PR is the real test: both languages need to pass and upload results.

Known limitations

Follow-up issues

Checklist

  • Branch is not main; this PR targets main.
  • Conventional commit message.
  • git diff --check is clean.
  • No secrets, real/personal data, or proprietary references.
  • Contracts updated first where applicable: n/a.
  • Docs updated to match the change: n/a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:devops github-actions GitHub Actions workflow dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci(codeql): upgrade github/codeql-action from v3 to v4

1 participant