Skip to content

ci(codeql): bump init and analyze together to v4.37.3 - #73

Merged
aparragithub merged 1 commit into
mainfrom
ci/codeql-action-v4
Jul 30, 2026
Merged

aparragithub merged 1 commit into
mainfrom
ci/codeql-action-v4

Conversation

@aparragithub

@aparragithub aparragithub commented Jul 30, 2026 •

Copy link
Copy Markdown
Owner

Closes #72
Supersedes #65

Summary

Changes

File Change
.github/workflows/codeql.yml init (line 25) and analyze (line 31) both pinned to e4fba868 (v4.37.3)

Verification

  • v4.37.3 and v4 both dereference to commit e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 (both are annotated tags, so the tag object had to be dereferenced to its target).
  • analyze/action.yml is present at that commit, so one pinned SHA legitimately covers both sub-actions.
  • codeql.yml is the only file in .github/ referencing codeql-action — no other pin was left behind.
  • The workflow YAML parses, and both codeql-action steps resolve to a single distinct SHA.

v4 breaking changes — why they do not apply here

  • Minimum CodeQL bundle raised to 2.19.4: this workflow uses the default bundle on GitHub-hosted ubuntu-latest, which is well past that.
  • CODEQL_ACTION_CLEANUP_TRAP_CACHES deprecated: never set in this repository.

Test plan

  • Both pins resolve to one commit SHA (asserted programmatically)
  • Workflow YAML parses
  • CodeQL and analyze checks pass on this PR — the real proof, since this PR changes the analyzer itself

Follow-up

Close #65 once this merges.

Summary by CodeRabbit

  • Chores
    • Updated the automated security scanning workflow to use newer CodeQL analysis actions.
    • Maintained existing Python security and quality checks.

Dependabot #65 bumped only `codeql-action/init`, which would have left
`analyze` on v3. The CodeQL Action requires both sub-actions to come from
the same release, so a split would break the `analyze` job — one of the
checks gating merges to main.

`v4.37.3` and `v4` both resolve to commit e4fba868, and analyze/action.yml
is present there, so a single pinned SHA covers both. The v4 line raises the
minimum CodeQL bundle to 2.19.4 and deprecates the undocumented
CODEQL_ACTION_CLEANUP_TRAP_CACHES variable; this workflow runs on
GitHub-hosted ubuntu-latest with the default bundle and never sets that
variable, so neither applies.

Refs #72
@coderabbitai

coderabbitai Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 3ae10465-8aa2-4298-a162-529af9b92c93

📥 Commits

Reviewing files that changed from the base of the PR and between 2ffb1e0 and a9f867f.

📒 Files selected for processing (1)
  • .github/workflows/codeql.yml

📝 Walkthrough

Walkthrough

The CodeQL workflow updates both init and analyze actions to the pinned v4.37.3 commit while retaining the existing Python language and security-and-quality query configuration.

Changes

CodeQL workflow update

Layer / File(s) Summary
Align CodeQL action pins
.github/workflows/codeql.yml
Both CodeQL action steps now use the same v4.37.3 pinned commit. Existing language and query settings remain unchanged.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Suggested labels: dependencies, github_actions

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: bumping CodeQL init and analyze together to v4.37.3.
Linked Issues check ✅ Passed The workflow update matches the linked issues by pinning both CodeQL sub-actions to the same v4.37.3 SHA.
Out of Scope Changes check ✅ Passed The PR only changes the CodeQL workflow pins and keeps the existing configuration and behavior intact.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/codeql-action-v4

Comment @coderabbitai help to get the list of available commands.

@aparragithub
aparragithub merged commit f60827b into main Jul 30, 2026
17 checks passed
@aparragithub
aparragithub deleted the ci/codeql-action-v4 branch July 30, 2026 01:30
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.

fix(ci): bump codeql-action/init and /analyze together to v4

1 participant