Skip to content

ci(deps): bump github/codeql-action/analyze from 4.37.3 to 4.37.5 - #194

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 10, 2026

Copy link
Copy Markdown
Contributor

Bumps github/codeql-action/analyze from 4.37.3 to 4.37.5.

Release notes

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

v4.37.5

  • Fixed a bug where a network error while streaming the download of the CodeQL bundle could terminate the init Action instead of falling back to downloading the bundle before extracting it. #4061

v4.37.4

  • This version of the CodeQL Action adds support for the tools input for the codeql-action/init step to be specified using a github-codeql-tools repository property. This feature will gradually be rolled out following the release of this version. Once rolled out, this allows for the CodeQL CLI version that is used in GitHub-managed workflows, such as Default Setup, to be set to a custom value. For example, customers who run into issues with rate limits when a new CodeQL CLI version is released can set the value to toolcache to always use the CodeQL CLI version that is available in the runner toolcache. For Advanced Setup workflows, the value provided for tools in the workflow definition always takes precedence unless the value of the repository property starts with !. #4037
  • Update default CodeQL bundle version to 2.26.2. #4051
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.37.6 - 04 Aug 2026

  • Changed the default filepath for the new remote file address format that was introduced in CodeQL Action 4.37.0 / 3.37.0 to .github/codeql-config.yml to align it with the suggested path that is used elsewhere. #4070

4.37.5 - 03 Aug 2026

  • Fixed a bug where a network error while streaming the download of the CodeQL bundle could terminate the init Action instead of falling back to downloading the bundle before extracting it. #4061

4.37.4 - 29 Jul 2026

  • This version of the CodeQL Action adds support for the tools input for the codeql-action/init step to be specified using a github-codeql-tools repository property. This feature will gradually be rolled out following the release of this version. Once rolled out, this allows for the CodeQL CLI version that is used in GitHub-managed workflows, such as Default Setup, to be set to a custom value. For example, customers who run into issues with rate limits when a new CodeQL CLI version is released can set the value to toolcache to always use the CodeQL CLI version that is available in the runner toolcache. For Advanced Setup workflows, the value provided for tools in the workflow definition always takes precedence unless the value of the repository property starts with !. #4037
  • Update default CodeQL bundle version to 2.26.2. #4051

4.37.3 - 22 Jul 2026

No user facing changes.

4.37.2 - 21 Jul 2026

  • The new address format for the config-file input that was introduced in CodeQL Action 4.37.0 is now enabled by default. In addition to the format described there, the remote= prefix can now be used to explicitly indicate that the input refers to a remote file. All previous input formats continue to be accepted as well. #4023
  • The CodeQL Action can now make use of configured private registries in Default Setup to retrieve CodeQL configuration files from remote repositories that require authentication. This will allow customers to store their CodeQL configuration in a single repository that can then be referenced by Default Setup workflows in other repositories. We expect to roll this and other, related changes out to everyone in July. #4007

4.37.1 - 16 Jul 2026

  • Upcoming breaking change: Add a deprecation warning for customers using CodeQL version 2.20.6 and earlier. These versions of CodeQL were discontinued on 1 July 2026 alongside GitHub Enterprise Server 3.16, and will be unsupported by the next minor release of the CodeQL Action. #3956
  • Update default CodeQL bundle version to 2.26.1. #4019

4.37.0 - 08 Jul 2026

  • Update default CodeQL bundle version to 2.26.0. #3995
  • In addition to the existing input format, the config-file input for the codeql-action/init step will soon support a new [owner/]repo[@ref][:path] format. All components except the repository name are optional. If omitted, owner defaults to the same owner as the repository the analysis is running for, ref to main, and path to .github/codeql-action.yaml. Support for this format ships in this version of the CodeQL Action, but will only be enabled over the coming weeks. #3973

4.36.3 - 01 Jul 2026

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

... (truncated)

Commits
  • d1ba80a Merge pull request #4067 from github/update-v4.37.5-1cd4d01d5
  • e74600b Update changelog for v4.37.5
  • 1cd4d01 Merge pull request #4061 from github/henrymercer/turbo-system
  • d2bfc30 Merge pull request #4050 from github/mbg/status/registries
  • 68028fc Merge pull request #4062 from github/sam-robson/migrate-enterprise-release-pat
  • c29563e ci: use federated enterprise release PAT
  • 155e522 Link the PR from the changelog entry
  • 2d3b351 Handle network errors when streaming the CodeQL bundle download
  • 5d3eb98 Merge pull request #4055 from github/dependabot/npm_and_yarn/npm-minor-203262...
  • c5f739b Merge branch 'main' into dependabot/npm_and_yarn/npm-minor-2032624187
  • 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)

Summary by CodeRabbit

  • Chores
    • Updated the CodeQL analysis workflow to a newer patch release.

Bumps [github/codeql-action/analyze](https://github.com/github/codeql-action) from 4.37.3 to 4.37.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@e4fba86...d1ba80a)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: ci. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Aug 10, 2026
@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The CodeQL workflow now uses the pinned github/codeql-action/analyze v4.37.5 revision instead of v4.37.3.

Changes

CodeQL workflow update

Layer / File(s) Summary
Update CodeQL analysis action
.github/workflows/codeql.yml
The workflow updates the pinned CodeQL analysis action from v4.37.3 to v4.37.5.

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

Suggested reviewers: thedavidweng

🚥 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 and concisely identifies the CodeQL action dependency update from version 4.37.3 to 4.37.5.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/github_actions/github/codeql-action/analyze-4.37.5

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

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/codeql.yml:
- Line 45: Update the CodeQL workflow’s init and autobuild steps to use revision
d1ba80a13dd99fba24a470575428917156a28b43 (v4.37.5), matching the existing
analyze step so every CodeQL action uses one consistent revision.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 16a8843a-a8e6-4d0e-a2e9-ad972d99ce05

📥 Commits

Reviewing files that changed from the base of the PR and between 3a8acdd and 551bedc.

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


- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
uses: github/codeql-action/analyze@d1ba80a13dd99fba24a470575428917156a28b43 # v4.37.5

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -eu
file=".github/workflows/codeql.yml"
cat -n "$file" | sed -n '1,80p'
printf '\nCodeQL action references:\n'
rg -n 'github/codeql-action/(init|autobuild|analyze)@' "$file"
printf '\nRepository status:\n'
git status --short

Repository: thedavidweng/OpenLoop

Length of output: 2142


🏁 Script executed:

#!/bin/bash
set -eu
file=".github/workflows/codeql.yml"
cat -n "$file" | sed -n '1,80p'
printf '\nCodeQL action references:\n'
rg -n 'github/codeql-action/(init|autobuild|analyze)@' "$file"

Repository: thedavidweng/OpenLoop

Length of output: 2122


🏁 Script executed:

#!/bin/bash
set -eu

resolve_tag() {
  tag="$1"
  ref_json="$(curl -fsSL "https://api.github.com/repos/github/codeql-action/git/ref/tags/$tag")"
  type="$(printf '%s' "$ref_json" | jq -r '.object.type')"
  object_sha="$(printf '%s' "$ref_json" | jq -r '.object.sha')"
  if [ "$type" = tag ]; then
    commit_sha="$(curl -fsSL "https://api.github.com/repos/github/codeql-action/git/tags/$object_sha" | jq -r '.object.sha')"
  else
    commit_sha="$object_sha"
  fi
  printf '%s tag_object_type=%s resolved_commit=%s\n' "$tag" "$type" "$commit_sha"
}

resolve_tag v4.37.3
resolve_tag v4.37.5

printf '\nPinned commit existence:\n'
for sha in e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 d1ba80a13dd99fba24a470575428917156a28b43; do
  curl -fsSL "https://api.github.com/repos/github/codeql-action/commits/$sha" | jq -r '[.sha, .commit.message | split("\n")[0]] | `@tsv`'
done

Repository: thedavidweng/OpenLoop

Length of output: 210


🌐 Web query:

github codeql-action mixing versions init autobuild analyze unsupported versions

💡 Result:

Mixing different versions of the CodeQL Action in the same workflow is unsupported and can lead to unpredictable results [1][2]. GitHub has implemented validation to detect this issue [1][2]: 1. The codeql-action/init step will emit a warning if it detects that different versions of the CodeQL Action (e.g., init, autobuild, or analyze) are being used within the same workflow file [1][2]. 2. Subsequent steps, such as analyze, will throw an error if they attempt to load a configuration file generated by a different version of the init step [1][2]. To avoid these issues, ensure that all references to the CodeQL Action steps (init, autobuild, and analyze) in your workflow file use the exact same version tag or commit SHA [3][1]. It is generally recommended to reference the CodeQL Action using a major version tag (such as v4) to ensure your workflow automatically receives the latest bug fixes and updates while maintaining consistency across all steps [4]. Additionally, using unsupported or discontinued versions of the CodeQL CLI can lead to failures or deprecation warnings [1][2]. GitHub regularly updates the CodeQL Action to drop support for older CLI versions that have reached the end of their lifecycle [1][2]. If you encounter warnings about unsupported versions, you should update your workflow to use a supported version of the CodeQL Action, or if necessary, pin to a specific older version of the action that still supports your required CLI version [1][5][6].

Citations:


🏁 Script executed:

#!/bin/bash
set -eu

resolve_tag() {
  tag="$1"
  ref_json="$(curl -fsSL "https://api.github.com/repos/github/codeql-action/git/ref/tags/$tag")"
  type="$(printf '%s' "$ref_json" | jq -r '.object.type')"
  object_sha="$(printf '%s' "$ref_json" | jq -r '.object.sha')"
  if [ "$type" = tag ]; then
    commit_sha="$(curl -fsSL "https://api.github.com/repos/github/codeql-action/git/tags/$object_sha" | jq -r '.object.sha')"
  else
    commit_sha="$object_sha"
  fi
  printf '%s tag_object_type=%s resolved_commit=%s\n' "$tag" "$type" "$commit_sha"
}

resolve_tag v4.37.3
resolve_tag v4.37.5

printf '\nPinned commit existence:\n'
for sha in e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 d1ba80a13dd99fba24a470575428917156a28b43; do
  curl -fsSL "https://api.github.com/repos/github/codeql-action/commits/$sha" |
    jq -r '[.sha, (.commit.message | split("\n")[0])] | `@tsv`'
done

Repository: thedavidweng/OpenLoop

Length of output: 210


🏁 Script executed:

#!/bin/bash
set -eu
repo="https://github.com/github/codeql-action.git"

printf '%s\n' 'Tag refs:'
git ls-remote "$repo" \
  "refs/tags/v4.37.3" "refs/tags/v4.37.3^{}" \
  "refs/tags/v4.37.5" "refs/tags/v4.37.5^{}"

printf '%s\n' 'Exact pinned-object lookup:'
for sha in e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 d1ba80a13dd99fba24a470575428917156a28b43; do
  printf '%s: ' "$sha"
  git ls-remote "$repo" | awk -v sha="$sha" '$1 == sha {print; found=1} END {if (!found) print "not present in advertised refs"}'
done

Repository: thedavidweng/OpenLoop

Length of output: 647


Use one CodeQL Action revision for every CodeQL step.

init and autobuild use v4.37.3, while analyze uses v4.37.5. Mixing versions can cause configuration errors or unpredictable analysis results. Update both older pins to d1ba80a13dd99fba24a470575428917156a28b43 (v4.37.5).

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/codeql.yml at line 45, Update the CodeQL workflow’s init
and autobuild steps to use revision d1ba80a13dd99fba24a470575428917156a28b43
(v4.37.5), matching the existing analyze step so every CodeQL action uses one
consistent revision.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants