Skip to content

ci(deps): bump github/codeql-action/analyze from 3.35.5 to 4.36.2#261

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/github/codeql-action/analyze-4.36.2
Open

ci(deps): bump github/codeql-action/analyze from 3.35.5 to 4.36.2#261
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/github/codeql-action/analyze-4.36.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 1, 2026

Copy link
Copy Markdown
Contributor

Bumps github/codeql-action/analyze from 3.35.5 to 4.36.2.

Release notes

Sourced from github/codeql-action/analyze's releases.

v4.36.2

  • Cache CodeQL CLI version information across Actions steps. #3943
  • Reduce requests while waiting for analysis processing by using exponential backoff when polling SARIF processing status. #3937
  • Update default CodeQL bundle version to 2.25.6. #3948

v4.36.1

No user facing changes.

v4.36.0

  • Breaking change: Bump the minimum required CodeQL bundle version to 2.19.4. #3894
  • Add support for SHA-256 Git object IDs. #3893
  • Update default CodeQL bundle version to 2.25.5. #3926

v4.35.5

  • We have improved how the JavaScript bundles for the CodeQL Action are generated to avoid duplication across bundles and reduce the size of the repository by around 70%. This should have no effect on the runtime behaviour of the CodeQL Action. #3899
  • For performance and accuracy reasons, improved incremental analysis will now only be enabled on a pull request when diff-informed analysis is also enabled for that run. If diff-informed analysis is unavailable (for example, because the PR diff ranges could not be computed), the action will fall back to a full analysis. #3791
  • If multiple inputs are provided for the GitHub-internal analysis-kinds input, only code-scanning will be enabled. The analysis-kinds input is experimental, for GitHub-internal use only, and may change without notice at any time. #3892
  • Added an experimental change which, when running a Code Scanning analysis for a PR with improved incremental analysis enabled, prefers CodeQL CLI versions that have a cached overlay-base database for the configured languages. This speeds up analysis for a repository when there is not yet a cached overlay-base database for the latest CLI version. We expect to roll this change out to everyone in May. #3880

v4.35.4

  • Update default CodeQL bundle version to 2.25.4. #3881

v4.35.3

  • Upcoming breaking change: Add a deprecation warning for customers using CodeQL version 2.19.3 and earlier. These versions of CodeQL were discontinued on 9 April 2026 alongside GitHub Enterprise Server 3.15, and will be unsupported by the next minor release of the CodeQL Action. #3837
  • Configurations for private registries that use Cloudsmith or GCP OIDC are now accepted. #3850
  • Best-effort connection tests for private registries now use GET requests instead of HEAD for better compatibility with various registry implementations. For NuGet feeds, the test is now always performed against the service index. #3853
  • Fixed a bug where two diagnostics produced within the same millisecond could overwrite each other on disk, causing one of them to be lost. #3852
  • Update default CodeQL bundle version to 2.25.3. #3865

v4.35.2

  • The undocumented TRAP cache cleanup feature that could be enabled using the CODEQL_ACTION_CLEANUP_TRAP_CACHES environment variable is deprecated and will be removed in May 2026. If you are affected by this, we recommend disabling TRAP caching by passing the trap-caching: false input to the init Action. #3795
  • The Git version 2.36.0 requirement for improved incremental analysis now only applies to repositories that contain submodules. #3789
  • Python analysis on GHES no longer extracts the standard library, relying instead on models of the standard library. This should result in significantly faster extraction and analysis times, while the effect on alerts should be minimal. #3794
  • Fixed a bug in the validation of OIDC configurations for private registries that was added in CodeQL Action 4.33.0 / 3.33.0. #3807
  • Update default CodeQL bundle version to 2.25.2. #3823

v4.35.1

v4.35.0

v4.34.1

  • Downgrade default CodeQL bundle version to 2.24.3 due to issues with a small percentage of Actions and JavaScript analyses. #3762

v4.34.0

  • Added an experimental change which disables TRAP caching when improved incremental analysis is enabled, since improved incremental analysis supersedes TRAP caching. This will improve performance and reduce Actions cache usage. We expect to roll this change out to everyone in March. #3569
  • We are rolling out improved incremental analysis to C/C++ analyses that use build mode none. We expect this rollout to be complete by the end of April 2026. #3584
  • Update default CodeQL bundle version to 2.25.0. #3585

... (truncated)

Changelog

Sourced from github/codeql-action/analyze's changelog.

CodeQL Action Changelog

See the releases page for the relevant changes to the CodeQL CLI and language packs.

[UNRELEASED]

No user facing changes.

4.36.2 - 04 Jun 2026

  • Cache CodeQL CLI version information across Actions steps. #3943
  • Reduce requests while waiting for analysis processing by using exponential backoff when polling SARIF processing status. #3937
  • Update default CodeQL bundle version to 2.25.6. #3948

4.36.1 - 02 Jun 2026

No user facing changes.

4.36.0 - 22 May 2026

  • Breaking change: Bump the minimum required CodeQL bundle version to 2.19.4. #3894
  • Add support for SHA-256 Git object IDs. #3893
  • Update default CodeQL bundle version to 2.25.5. #3926

4.35.5 - 15 May 2026

  • We have improved how the JavaScript bundles for the CodeQL Action are generated to avoid duplication across bundles and reduce the size of the repository by around 70%. This should have no effect on the runtime behaviour of the CodeQL Action. #3899
  • For performance and accuracy reasons, improved incremental analysis will now only be enabled on a pull request when diff-informed analysis is also enabled for that run. If diff-informed analysis is unavailable (for example, because the PR diff ranges could not be computed), the action will fall back to a full analysis. #3791
  • If multiple inputs are provided for the GitHub-internal analysis-kinds input, only code-scanning will be enabled. The analysis-kinds input is experimental, for GitHub-internal use only, and may change without notice at any time. #3892
  • Added an experimental change which, when running a Code Scanning analysis for a PR with improved incremental analysis enabled, prefers CodeQL CLI versions that have a cached overlay-base database for the configured languages. This speeds up analysis for a repository when there is not yet a cached overlay-base database for the latest CLI version. We expect to roll this change out to everyone in May. #3880

4.35.4 - 07 May 2026

  • Update default CodeQL bundle version to 2.25.4. #3881

4.35.3 - 01 May 2026

  • Upcoming breaking change: Add a deprecation warning for customers using CodeQL version 2.19.3 and earlier. These versions of CodeQL were discontinued on 9 April 2026 alongside GitHub Enterprise Server 3.15, and will be unsupported by the next minor release of the CodeQL Action. #3837
  • Configurations for private registries that use Cloudsmith or GCP OIDC are now accepted. #3850
  • Best-effort connection tests for private registries now use GET requests instead of HEAD for better compatibility with various registry implementations. For NuGet feeds, the test is now always performed against the service index. #3853
  • Fixed a bug where two diagnostics produced within the same millisecond could overwrite each other on disk, causing one of them to be lost. #3852
  • Update default CodeQL bundle version to 2.25.3. #3865

4.35.2 - 15 Apr 2026

  • The undocumented TRAP cache cleanup feature that could be enabled using the CODEQL_ACTION_CLEANUP_TRAP_CACHES environment variable is deprecated and will be removed in May 2026. If you are affected by this, we recommend disabling TRAP caching by passing the trap-caching: false input to the init Action. #3795
  • The Git version 2.36.0 requirement for improved incremental analysis now only applies to repositories that contain submodules. #3789
  • Python analysis on GHES no longer extracts the standard library, relying instead on models of the standard library. This should result in significantly faster extraction and analysis times, while the effect on alerts should be minimal. #3794
  • Fixed a bug in the validation of OIDC configurations for private registries that was added in CodeQL Action 4.33.0 / 3.33.0. #3807
  • Update default CodeQL bundle version to 2.25.2. #3823

... (truncated)

Commits
  • 8aad20d Merge pull request #3949 from github/update-v4.36.2-dcb947ce1
  • f521b08 Add additional changelog notes
  • 8aeff0f Update changelog for v4.36.2
  • dcb947c Merge pull request #3948 from github/update-bundle/codeql-bundle-v2.25.6
  • c251bce Add changelog note
  • 62953c1 Update default bundle to codeql-bundle-v2.25.6
  • 423b570 Merge pull request #3946 from github/dependabot/npm_and_yarn/npm-minor-5d507a...
  • c35d1b1 Merge pull request #3947 from github/dependabot/github_actions/dot-github/wor...
  • cb1a588 Merge pull request #3937 from github/robertbrignull/waitForProcessing_backoff
  • ba47406 Merge pull request #3943 from github/henrymercer/cache-cli-version-info
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github/codeql-action/analyze](https://github.com/github/codeql-action) from 3.35.5 to 4.36.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@458d36d...8aad20d)

---
updated-dependencies:
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.36.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jul 1, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ce86772713

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".


- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@458d36d7d4f47d0dd16ca424c1d3cda0060f1360 # v3
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v3

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Pin CodeQL init and analyze to the same version

This updates only codeql-action/analyze to the v4.36.2 SHA while the preceding codeql-action/init step remains pinned to the v3 SHA. CodeQL’s changelog says mixing CodeQL Action versions in one workflow is unsupported and that non-init steps now error when they load a config generated by a different init version; since this workflow always runs init before analyze, the analysis step will fail instead of uploading results. Update init to the matching v4 SHA/tag as well, or keep analyze on v3.

Useful? React with 👍 / 👎.

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

helebest commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Automated Dependabot review — ❌ STOP at CI (fail-fast)

Change: github/codeql-action/analyze 458d36d (v3.35.5) → 8aad20d (v4.36.2) in .github/workflows/codeql.yml.

Step 1 — Code review

  • Consistency: The action reference is bumped to the v4.36.2 SHA, but the inline pin comment still reads # v3 (stale — should read # v4).
  • Correctness (blocking): This PR bumps only codeql-action/analyze to v4 while leaving codeql-action/init at v3 in the same workflow. The CodeQL Action requires init and analyze to be the same major version; a split v3-init / v4-analyze configuration is unsupported.

Step 2/3 — Regression & CI

CI is failing. The Analyze Python job (run 28523782998) ends with:

CodeQL job status was configuration error.
Analysis upload status is failed.
##[warning] ... github/codeql-action/init@458d36d... (v3) are being forced to run on Node.js 24

The v3 init step is mismatched against the v4 analyze, producing a CodeQL configuration error. This is a hard, reproducible failure (not transient).

Decision

Per the fail-fast policy, processing stops here — not merged.

Root cause & recommendation: Dependabot split the github/codeql-action monorepo bump into two PRs — #259 (init) and this one (analyze) — but the two must move to v4 together. Neither can go green alone. Suggested resolution: bump init and analyze to v4.36.2 in a single commit (and fix the # v3# v4 comments), then close the redundant PR; or ·@·d·ependabot r·ecreate after grouping the codeql-action updates. Leaving this to the maintainer since it requires combining/altering the Dependabot branches.


Generated by Claude Code

helebest commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Automated Dependabot review — github/codeql-action/analyze 3.35.5 → 4.36.2

Step 1: Code review

  • Consistency / Effectiveness ✅ — The diff bumps github/codeql-action/analyze from 458d36d (v3.35.5) to 8aad20d (v4.36.2) in .github/workflows/codeql.yml, matching the description. SHA verified against the upstream v4.36.2 tag.
  • Security ✅ — SHA-pinned. The v3→v4 major bump's only breaking change is raising the minimum CodeQL bundle to 2.19.4; this repo uses the default bundle (2.25.6), so it is unaffected.
  • Minor nit — the trailing comment is still # v3 on a v4 SHA (a Dependabot artifact). Cosmetic only.

Step 2 & 3: Regression + CI — ❌ FAILED (stopping here)

The required Analyze Python check fails with a configuration error:

##[error]Loaded a configuration file for version '3.35.5', but running version '4.36.2'
##[error]analyze post-action step failed: Loaded a configuration file for version '3.35.5', but running version '4.36.2'
CodeQL job status was configuration error.

Root cause: github/codeql-action/* requires init and analyze to run at the same version. This PR bumps only analyze → v4.36.2, while init in the same codeql.yml stays at v3.35.5 (bumped separately in #259). The mismatch makes CodeQL fail hard, so this PR cannot pass CI on its own. #259 fails symmetrically (init v4 / analyze v3).

Per the fail-fast policy I am stopping and not merging.

Recommended fix (a maintainer decision — the two PRs are mutually blocking and I won't unilaterally combine Dependabot PRs): land the init and analyze bumps together so both reach v4.36.2 in one commit — e.g. group them via a Dependabot group for github/codeql-action, or manually apply both hunks in a single PR / merge the pair back-to-back. Neither #259 nor #261 will go green in isolation.


Generated by Claude Code

helebest commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Automated Dependabot review — ❌ blocked at CI (fail-fast)

Step 1 — Code review

  • Change: github/codeql-action/analyze pinned SHA 458d36d8aad20d. The new SHA resolves to codeql-action v4.36.2 (confirmed by the job env CODEQL_ACTION_VERSION: 4.36.2), matching the PR title.
  • Consistency nit: the inline version comment was left as # v3 but the SHA is now v4.36.2 — it should read # v4. Dependabot did not refresh the comment on this major bump.

Step 2/3 — Regression / CI:FAILED. The Analyze Python (CodeQL) check errors out with a configuration error (CodeQL job status was configuration error), because on this branch analyze is v4.36.2 while init is still v3.35.5.

Root cause: Dependabot split the codeql-action major bump into two separate PRs — this one (analyze → v4.36.2) and #259 (init → v4.36.2). CodeQL requires init and analyze to run the same version, so each PR fails on its own with the mirror-image mismatch.

Decision: Per fail-fast, this PR is not merged. Neither #261 nor #259 can pass CI in isolation, and merging either alone would break CodeQL on main.

Suggested resolution (needs a maintainer decision): land both bumps atomically — bump both init and analyze to 8aad20d (v4.36.2) in a single commit/PR, then close the two split PRs. A Dependabot group for github/codeql-action/* prevents recurrence. Also fix the # v3# v4 comment.


Generated by Claude Code

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

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant