Skip to content

chore(deps): bump github/codeql-action/analyze from 4.37.1 to 4.37.3 - #35

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

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

Release notes

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

v4.37.3

No user facing changes.

v4.37.2

  • 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
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]

  • 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

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

... (truncated)

Commits
  • e4fba86 Merge pull request #4031 from github/update-v4.37.3-72f6a9da0
  • fb50ab5 Update changelog for v4.37.3
  • 72f6a9d Merge pull request #4030 from github/mbg/fix/no-proxy
  • 3b5ee58 Use default request options instead of undefined
  • bfb6be4 Merge pull request #4028 from github/mergeback/v4.37.2-to-main-e0647621
  • 526ab84 Rebuild
  • d6217b9 Update changelog and version after v4.37.2
  • e064762 Merge pull request #4027 from github/update-v4.37.2-385bcdc5a
  • e0faed8 Add a couple of change notes
  • 73aad0e Update changelog for v4.37.2
  • 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 cubic

Bump github/codeql-action/analyze to v4.37.3 to pick up the latest patch updates for our CodeQL workflow. No behavior changes expected.

Written for commit 1be0220. Summary will update on new commits.

Review in cubic

Note

Bump github/codeql-action/analyze from v4.37.1 to v4.37.3

Updates the pinned commit hash for the CodeQL Analyze step in codeql.yml to reference v4.37.3.

Macroscope summarized 1be0220.

Summary by CodeRabbit

  • Chores
    • Updated the CodeQL analysis workflow to a newer action version.

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

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

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 Aug 3, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 3, 2026
@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The CodeQL workflow now uses github/codeql-action/analyze version 4.37.3.

Changes

CodeQL workflow

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

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

Possibly related PRs

Suggested reviewers: furkanerday, kriptoburak

🚥 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 describes the CodeQL Action dependency update from version 4.37.1 to 4.37.3.
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.3

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 36: Align the CodeQL action versions in the workflow by updating the
`init` step to use the same v4.37.3 commit already used by `analyze`, while
preserving the existing pinned-action format.
🪄 Autofix (Beta)

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: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: b1ff291d-b64a-4bcf-9147-dd30dc09671d

📥 Commits

Reviewing files that changed from the base of the PR and between 519d991 and 1be0220.

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


- name: Analyze
uses: github/codeql-action/analyze@7188fc363630916deb702c7fdcf4e481b751f97a # v4.37.1
uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3

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
printf '%s\n' '--- workflow ---'
cat -n .github/workflows/codeql.yml | sed -n '20,42p'
printf '%s\n' '--- CodeQL action references ---'
rg -n 'github/codeql-action/(init|autobuild|autoc|analyze|upload-sarif)@' .github/workflows
printf '%s\n' '--- repository metadata ---'
git remote -v || true

Repository: Xquik-dev/x-twitter-scraper-ruby

Length of output: 1963


🏁 Script executed:

#!/bin/bash
set -eu
repo='Xquik-dev/x-twitter-scraper-ruby'
printf '%s\n' '--- workflow ---'
curl -fsSL "https://raw.githubusercontent.com/${repo}/HEAD/.github/workflows/codeql.yml" | nl -ba | sed -n '20,42p'
printf '%s\n' '--- CodeQL action references ---'
curl -fsSL "https://api.github.com/repos/${repo}/contents/.github/workflows/codeql.yml" |
  python3 -c 'import sys,json,base64; print(base64.b64decode(json.load(sys.stdin)["content"]).decode())' |
  nl -ba | sed -n '20,42p'
printf '%s\n' '--- tag refs ---'
for tag in v4.37.1 v4.37.3; do
  curl -fsSL -H 'Accept: application/vnd.github+json' \
    "https://api.github.com/repos/github/codeql-action/git/ref/tags/${tag}" |
    python3 -c 'import sys,json; d=json.load(sys.stdin); print(json.dumps(d["object"]))'
done
printf '%s\n' '--- release commits ---'
for sha in \
  7188fc363630916deb702c7fdcf4e481b751f97a \
  e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81; do
  curl -fsSL -H 'Accept: application/vnd.github+json' \
    "https://api.github.com/repos/github/codeql-action/commits/${sha}" |
    python3 -c 'import sys,json; d=json.load(sys.stdin); print(d.get("sha"), d.get("commit",{}).get("message","").splitlines()[0])'
done

Repository: Xquik-dev/x-twitter-scraper-ruby

Length of output: 1043


🏁 Script executed:

#!/bin/bash
set -eu
repo='Xquik-dev/x-twitter-scraper-ruby'
printf '%s\n' '--- workflow ---'
curl -fsSL "https://raw.githubusercontent.com/${repo}/HEAD/.github/workflows/codeql.yml" |
  awk 'NR >= 20 && NR <= 42 { printf "%6d  %s\n", NR, $0 }'
printf '%s\n' '--- action references ---'
curl -fsSL "https://api.github.com/repos/${repo}/contents/.github/workflows/codeql.yml" |
  python3 -c 'import sys,json,base64; print(base64.b64decode(json.load(sys.stdin)["content"]).decode())' |
  awk 'NR >= 20 && NR <= 42 { printf "%6d  %s\n", NR, $0 }'
printf '%s\n' '--- dereferenced tag commits ---'
for tag in v4.37.1 v4.37.3; do
  tag_object=$(
    curl -fsSL -H 'Accept: application/vnd.github+json' \
      "https://api.github.com/repos/github/codeql-action/git/ref/tags/${tag}" |
    python3 -c 'import sys,json; print(json.load(sys.stdin)["object"]["sha"])'
  )
  printf '%s tag-object %s\n' "$tag" "$tag_object"
  curl -fsSL -H 'Accept: application/vnd.github+json' \
    "https://api.github.com/repos/github/codeql-action/git/tags/${tag_object}" |
    python3 -c 'import sys,json; d=json.load(sys.stdin); print("commit", d["object"]["sha"])'
done
printf '%s\n' '--- declared pin resolution ---'
for sha in \
  7188fc363630916deb702c7fdcf4e481b751f97a \
  e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81; do
  curl -fsSL -H 'Accept: application/vnd.github+json' \
    "https://api.github.com/repos/github/codeql-action/commits/${sha}" |
    python3 -c 'import sys,json; d=json.load(sys.stdin); print(d.get("sha"), d.get("commit",{}).get("message","").splitlines()[0])'
done

Repository: Xquik-dev/x-twitter-scraper-ruby

Length of output: 2119


🌐 Web query:

GitHub CodeQL Action documentation mixed versions init analyze same version unsupported

💡 Result:

Mixing different versions of the GitHub CodeQL Action in the same workflow is unsupported and can lead to unpredictable results [1][2]. According to the official CodeQL Action documentation and changelogs, the following mechanisms are in place to manage this requirement: 1. Warning Mechanism: The codeql-action/init step will emit a warning if it detects that different versions of the CodeQL Action are being used across different steps in the same workflow file [1][3]. 2. Error Mechanism: Subsequent CodeQL Action steps (such as analyze) will throw an error if they attempt to load a configuration file that was generated by a different version of the codeql-action/init step [1][4]. To ensure consistent behavior, it is recommended to reference the CodeQL Action using a consistent major version tag (e.g., v4) across all steps in your workflow [5]. This ensures that your workflow automatically picks up the latest release within that major version, maintaining consistency while allowing for necessary updates [5].

Citations:


🏁 Script executed:

#!/bin/bash
set -eu
printf '%s\n' '--- CodeQL action documentation references ---'
for url in \
  'https://raw.githubusercontent.com/github/codeql-action/main/README.md' \
  'https://raw.githubusercontent.com/github/codeql-action/main/CHANGELOG.md'; do
  echo "$url"
  curl -fsSL "$url" | grep -Ein -C 3 'same version|version.*same|mixed|init.*analy|analy.*init|unsupported' | head -80 || true
done
printf '%s\n' '--- v4.37.3 release tree ---'
curl -fsSL -H 'Accept: application/vnd.github+json' \
  'https://api.github.com/repos/github/codeql-action/git/trees/e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81?recursive=1' |
  python3 -c 'import sys,json; d=json.load(sys.stdin); print("\n".join(x["path"] for x in d.get("tree",[]) if x["path"] in ("init/action.yml","analyze/action.yml","README.md","CHANGELOG.md")))'

Repository: Xquik-dev/x-twitter-scraper-ruby

Length of output: 11220


Use one CodeQL Action release in the workflow.

Line 29 uses v4.37.1, while line 36 uses v4.37.3. Mixed versions are unsupported and can produce warnings or unpredictable results. Update init to the v4.37.3 commit.

Proposed fix
-        uses: github/codeql-action/init@7188fc363630916deb702c7fdcf4e481b751f97a # v4.37.1
+        uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
🤖 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 36, Align the CodeQL action versions in
the workflow by updating the `init` step to use the same v4.37.3 commit already
used by `analyze`, while preserving the existing pinned-action format.

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.

0 participants