Skip to content

ci: bump github/codeql-action to 4.37.9 and group its bumps - #796

Merged
DavidCozens merged 1 commit into
mainfrom
ci/group-codeql-action-bumps
Aug 31, 2026
Merged

ci: bump github/codeql-action to 4.37.9 and group its bumps#796
DavidCozens merged 1 commit into
mainfrom
ci/group-codeql-action-bumps

Conversation

@DavidCozens

@DavidCozens DavidCozens commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Purpose

Supersedes #793 and #794, which both fail analyze-codeql and cannot pass on their own.

Dependabot treats github/codeql-action/init and github/codeql-action/analyze as two dependencies, so it raised one PR per line — #794 bumping init, #793 bumping analyze, both to the same v4.37.9 SHA. CodeQL will not tolerate the halves disagreeing: init stamps its version into the config file that analyze later loads, and analyze refuses a config another version wrote.

##[error]Loaded a configuration file for version '4.37.6', but running version '4.37.9'
##[error]analyze post-action step failed: …

The job says so as a warning 30 s before it fails, which is the line to grep for if this shape recurs:

##[warning]Not all workflow steps that use `github/codeql-action` actions use the same version.

analyze-codeql and CodeQL are both required contexts on main, so merging either PR alone would have blocked every subsequent PR until the other landed.

Change Description

Two parts.

The bump. Both pins in codeql.yml move to cdf488f595d80d6e07e03d4674febd5ab45fa938 together — the two-line change Dependabot should have raised as one. The SHA was checked against the upstream tag rather than taken from the PR body: v4.37.9 is an annotated tag whose commit is cdf488f5, which is what both PRs proposed.

The grouping. A groups: entry for github/codeql-action* in the github-actions ecosystem, so the next release arrives as one PR holding both pins. Without it the split recurs on every codeql-action release — #793/#794 is the symptom, not the cause.

The grouping is also what makes the SHA pinning mean what it says. Pinning by digest is a hardening posture, and a configuration in which two halves of one action can drift to different digests has a gap in exactly the place the pinning was meant to close. The comment in dependabot.yml records that, so a future reader does not un-group it as mere PR-noise reduction.

Scoped to this one action deliberately: other action bumps stay individual, which keeps their changelog entries and their blast radius separate.

Test Evidence

CI is the evidence here — analyze-codeql passing on this branch is the assertion, since it is the check both superseded PRs fail. Everything else was already green on both of them (29 of 30 lanes).

Locally: the SHA verified against the upstream annotated tag as above; dependabot.yml parsed to confirm the group attaches to the github-actions ecosystem and leaves the pip ecosystem untouched; check_references.py and check_platform_docs.py both clean.

Areas Affected

.github/workflows/codeql.yml and .github/dependabot.yml. No source, no build, no documentation. #793 and #794 can be closed once this merges — Dependabot will also close them itself on its next run, having seen the dependency reach the version they proposed.

Summary by CodeRabbit

  • Chores

    • Improved automated security analysis processes with updated scanning tools.
    • Streamlined scheduled maintenance updates to keep security checks aligned and easier to manage.
  • Security

    • Maintained current security-analysis configurations to support ongoing code quality and vulnerability monitoring.

Dependabot raised #793 and #794, each bumping one half of the init/analyze
pair. init stamps its version into the config file analyze then loads, so
either PR alone fails analyze-codeql with "Loaded a configuration file for
version '4.37.6', but running version '4.37.9'". Both are required checks,
so merging either would have blocked main.

Bumps both pins to cdf488f, verified as the commit tag v4.37.9 resolves to,
and groups github/codeql-action* so the split cannot recur.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

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

Run ID: f3ad5982-761e-4e1f-b89a-c29c1b5d7f69

📥 Commits

Reviewing files that changed from the base of the PR and between b2083ad and f99e804.

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

Included review availability: 3 reviews are currently available. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.


Walkthrough

The pull request updates both pinned CodeQL actions to v4.37.9 and groups matching Dependabot updates into one weekly pull request.

Changes

CodeQL maintenance

Layer / File(s) Summary
CodeQL pins and update grouping
.github/workflows/codeql.yml, .github/dependabot.yml
The CodeQL initialisation and analysis actions use pinned v4.37.9 commits. Dependabot groups all github/codeql-action updates into one weekly pull request.

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

Merge Risk: ⚪ Minimal · up to f99e8

This change aligns both CodeQL workflow pins and groups future updates for that action, with no actionable merge-blocking risk remaining after normal checks and review.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title follows the required Conventional Commits format and clearly identifies both main changes: the CodeQL action update and Dependabot grouping.
Description check ✅ Passed The description includes all required sections. It explains the purpose, changes, test evidence, affected areas, failure context, and validation performed.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/group-codeql-action-bumps

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

@github-actions

Copy link
Copy Markdown
Contributor

☀️   Quality Summary

   JUnit   build-linux-gcc (Whole Project): ✅ successful — 1532 passed
   JUnit   build-freertos-host-tdd-plustcp (Whole Project): ✅ successful — 1884 passed
   JUnit   build-linux-clang (Whole Project): ✅ successful — 1463 passed
   JUnit   sanitize-linux-gcc (Whole Project): ✅ successful — 1463 passed
   JUnit   integration-linux-openssl (Whole Project): ✅ successful — 16 passed
   JUnit   integration-linux-mbedtls (Whole Project): ✅ successful — 14 passed
   JUnit   integration-windows-openssl (Whole Project): ✅ successful — 16 passed
   JUnit   bdd-linux-syslog-ng (Whole Project): ✅ successful — 49 passed, 3 skipped
   JUnit   bdd-windows-otel (Whole Project): ✅ successful — 46 passed, 6 skipped
   JUnit   bdd-freertos-qemu-plustcp (Whole Project): ✅ successful — 45 passed, 7 skipped
   JUnit   bdd-freertos-qemu-lwip (Whole Project): ✅ successful — 45 passed, 7 skipped
   JUnit   build-windows-msvc (Whole Project): ✅ successful — 1305 passed
   JUnit   build-linux-tunable-override (Whole Project): ✅ successful — 1463 passed
   ⚠️   Clang-Tidy (Whole Project): No warnings
   ⚠️   CPPCheck (Whole Project): No warnings


Created by Quality Monitor v4.15.0 (#82d77af). More details are shown in the GitHub Checks Result.

@DavidCozens
DavidCozens merged commit fd4d43a into main Aug 31, 2026
37 checks passed
@DavidCozens
DavidCozens deleted the ci/group-codeql-action-bumps branch August 31, 2026 19:41
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.

1 participant