Skip to content

ci(deps): bump github/codeql-action from 4 to 4.37.4 - #323

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/github/codeql-action-4.37.4
Closed

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps github/codeql-action from 4 to 4.37.4.

Release notes

Sourced from github/codeql-action's releases.

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

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

v4.37.1

  • 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

v4.37.0

  • 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

v4.36.3

No user facing changes.

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

... (truncated)

Changelog

Sourced from github/codeql-action's changelog.

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.

Commits
  • 18420e3 Merge pull request #4043 from github/mbg/ts/changelog
  • 7e8d897 Merge pull request #4046 from github/mbg/repo-prop/code-quality
  • 2d4c474 Log !analysisKindSupported case
  • 98c05a1 Fix argument validation in rollback-changelog.ts
  • 8289a49 Ignore repository property for unsupported analysis kinds
  • 2a8731c Move config-file computation after determining the analysisKinds
  • 3434fbb Merge pull request #4044 from github/mbg/ff/promote-toolcache
  • 3013ac0 Promote AllowToolcacheInput feature
  • 74b15aa Install JS deps if needed in post-release-mergeback workflow
  • f00f809 Fix checking keys rather than values
  • Additional commits viewable in compare view

@dependabot dependabot Bot added automerge Eligible for Dependabot auto-merge (minor/patch, CI green) dependencies Dependency updates (Dependabot) github-actions GitHub Actions workflow dependency labels Aug 3, 2026
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: github/codeql-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4.37.4

Please review the changelog and breaking changes before merging.

6 similar comments
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: github/codeql-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4.37.4

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: github/codeql-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4.37.4

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: github/codeql-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4.37.4

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: github/codeql-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4.37.4

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: github/codeql-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4.37.4

Please review the changelog and breaking changes before merging.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: github/codeql-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4.37.4

Please review the changelog and breaking changes before merging.

@scttfrdmn

Copy link
Copy Markdown
Owner

Assessed, not merged — this is a github-actions major so the workflow correctly left it for a human. Here is what I checked, so the review is short.

The bump is correct and overdue. github/codeql-action v4 is current (latest tags are v4.37.5, v4.37.4, …) and v3 is the deprecated line. Three call sites move, all of them upload-sarif:

  • release.yml:273 — Trivy binary scan results
  • security.yml:98 — gosec SARIF
  • security.yml:128 — Trivy repo scan results

Low risk, and for a specific reason: none of the three is a gate. All three are upload-sarif steps whose only job is to publish findings to the security tab. security.yml:103-113 documents that asymmetry deliberately (#196) — the actual hard gate is govulncheck, which exits non-zero, plus the binary scan in release.yml. So a v4 regression in these steps costs visibility on the security tab, not a broken gate and not a bad release. That is the best possible risk profile for a major action bump.

One thing I'd change before merging. This PR pins an exact patch:

-      uses: github/codeql-action/upload-sarif@v3
+      uses: github/codeql-action/[email protected]

Every other action in this repository is pinned to a floating major — actions/checkout@v7, actions/setup-go@v7, actions/upload-artifact@v7, docker/build-push-action@v7, golangci/golangci-lint-action@v9, dependabot/fetch-metadata@v3. @v4.37.4 would be the only exact patch pin in the tree, and it is already stale — v4.37.5 exists. Pinned that way, every future patch becomes a Dependabot PR for a step that only uploads a SARIF file.

@v4 is the consistent choice. (The one existing exception, aquasecurity/[email protected], is exact because that action has no floating major tag and @0.28.0 does not resolve — noted at security.yml:115. It is an exception for a reason, not a precedent.)

So: merge, but change the three refs to @v4 — either by pushing that edit onto this branch or by making the change directly and closing this. Either is fine; I have not done it, since it is a judgement call about how you want actions pinned and this PR is not mine to rewrite.

@dependabot
dependabot Bot force-pushed the dependabot/github_actions/github/codeql-action-4.37.4 branch from a1b9aa0 to da7dc99 Compare August 3, 2026 21:31
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: github/codeql-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4.37.4

Please review the changelog and breaking changes before merging.

@dependabot
dependabot Bot force-pushed the dependabot/github_actions/github/codeql-action-4.37.4 branch from da7dc99 to bc1c1dd Compare August 3, 2026 23:44
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: github/codeql-action
Update Type: version-update:semver-major
Previous Version: 3
New Version: 4.37.4

Please review the changelog and breaking changes before merging.

@scttfrdmn

Copy link
Copy Markdown
Owner

Verified green, with one change I would make before merging: the pin should be v4, not v4.37.4.

The bump itself is sound. All three call sites are upload-sarif, and all of them ran successfully under v4.37.4 in this PR's own Security Scan job — not skipped, not continue-on-error'd:

success  Upload Gosec SARIF file
success  Run Trivy vulnerability scanner (repo)
success  Upload Trivy repo scan results

24/24 checks pass. The v4 major's breaking changes are about the CodeQL analysis actions (init/analyze) and the Node runtime; we use only upload-sarif, whose inputs are unchanged.

The reservation is the pin granularity. Every other action in this repository is pinned to a floating major:

14 actions/checkout@v7        3 actions/upload-artifact@v7      1 golangci/golangci-lint-action@v9
11 actions/setup-go@v7        2 actions/download-artifact@v8     1 docker/*@v4,v6,v7
 3 github/codeql-action/upload-sarif@v3                          1 dependabot/fetch-metadata@v3

The single exception is aquasecurity/[email protected], and it is exceptional for a reason recorded in a comment beside it — that action publishes no floating major ref, so @0.28.0 does not resolve. github/codeql-action does publish one:

$ git ls-remote https://github.com/github/codeql-action.git refs/tags/v4
0b88f91c1c313eec6a3c4ee6b8342cb564c2060c    refs/tags/v4

Taking v4.37.4 therefore trades away automatic patch pickup for nothing, and it is already stale — v4.37.5 shipped before this PR could be reviewed. Under a v4 pin, a security fix to the action arrives on the next run; under this pin it arrives when Dependabot next opens a PR and someone merges it, which for three uploader steps is churn with no safety gain. It also makes the file inconsistent, and the next reader has to work out whether the exactness is deliberate — the trivy line needed a comment to answer that question, and this one would need one too.

I will merge this as v4 rather than v4.37.4, closing this PR in favour of that. Same upgrade, one line different each, and it keeps the convention the rest of the file follows.

scttfrdmn added a commit that referenced this pull request Aug 4, 2026
… it stops (#334)

* fix(docs): the documentation site builds, and a job that notices when it stops

`vitepress build` had never been run by anything in this repository. Three independent failures
had accumulated behind that silence, and each was only visible once the previous one was fixed —
which is the argument for the CI job rather than for any of the three fixes:

  1. `.vitepress/theme/index.js` imported InteractiveExample.vue, PerformanceChart.vue and
     ConfigurationBuilder.vue. None of the three has ever existed — not deleted, never written;
     `git log --all --` finds no history for any of them. A missing import is a hard rollup
     error, so this alone made every page in the tree unbuildable. Two pages mounted the
     components anyway and now say what they would have shown. PerformanceChart was imported and
     used by nothing, which fits the hardcoded chart removed from index.md earlier in this
     release.

  2. README.md nested a ```python fence inside a ```markdown fence of equal length. The inner
     fence closes the outer block rather than nesting, so `</CodeRunner>` reached the Vue
     compiler as a stray tag. It reported as `Invalid end tag` at a line and column in the middle
     of an unrelated heading, pointing nowhere near the cause. The outer fence is four backticks
     now, with a note saying why.

  3. `[LICENSE](../LICENSE)` leaves the VitePress site root. Correct for a reader on GitHub, a
     dead link to the builder, and dead links fail the build.

Each fix was verified by reverting it against the otherwise-fixed tree and watching the build
fail with that specific error, rather than by trusting that three plausible fixes explain one red
build:

  restore the import      -> Could not resolve "../components/PerformanceChart.vue"
  restore the 3-backtick  -> README.md (175:218): Invalid end tag.
  restore ../LICENSE      -> Found dead link ./../LICENSE in file README.md
  all three fixed         -> build complete in 1.40s.   (6 pages rendered)

Also bumps github/codeql-action v3 -> v4 across its three upload-sarif call sites. Dependabot
proposed @v4.37.4 (#323); this takes @v4, the floating major, because that is what every other
action in this repository uses and the patch pin was stale before it could be reviewed —
v4.37.5 had already shipped. `upload-sarif`'s inputs are unchanged across the major, and v4's
breaking changes are all in the analysis actions. trivy-action is the one exact pin and is exact
only because it publishes no major ref; it carries a comment saying so, and this now carries the
inverse.

The new `docs-site` job uses `npm install` rather than `npm ci` because docs-platform still
commits no lockfile. That is the rest of #214, and the reason its npm security updates cannot
apply at all.

Refs #214, #323.

* deps(docs): drop three markdown-it packages the site never used

Dependabot's #299 proposed markdown-it 14 -> 15 for docs-platform. Investigating
whether that major was safe turned up the better answer: the dependency, and two
sibling plugins, are not used by anything.

The reason it looked load-bearing is a trap worth recording, because it misleads in
a specific order. .vitepress/config.js had a `markdown.config` hook registering
markdown-it-container for 'tip', 'warning' and 'danger' — which reads as a real use
of a real dependency. It is redundant three times over:

  - VitePress ships those exact three containers built in.
  - No page in this tree uses `:::` syntax at all. The 142 custom-block elements in
    the rendered output are all VitePress's own.
  - The `md` handed to that hook is VitePress's *bundled* markdown-it instance.
    vitepress 1.6.4 does not list markdown-it in its dependencies and carries its
    own copy in dist/node/. So the hook never extended the top-level package it
    appeared to justify.

markdown-it-anchor was referenced by nothing but package.json.

Measured, both directions. Removing all three from node_modules and rebuilding
gives a site that builds with all six pages byte-identical to the baseline once
asset content hashes are normalized; a clean install from an empty node_modules
reproduces it. And leaving the hook with the package gone fails the build with
"Cannot find module 'markdown-it-container'" — so the hook and the dependency are a
matched pair, and this commit removes both rather than either.

This is the disposition of #299 on its merits: a major bump of a dependency nothing
imports is a lockfile change with no behaviour attached, so neither taking it nor
holding it was the right question.

Verified against the docs-site CI job added in the parent commit, which is what
makes any of this checkable in the first place.

* fix(changelog): quote the LICENSE link as prose, not as a link

TestDocumentedLinksResolve failed on CHANGELOG.md:244. The entry describing the
dead-link fix quoted the broken link in its markdown form, and the link checker
cannot tell a quoted example from a real reference — so the entry explaining why
`../LICENSE` does not resolve was itself an unresolvable `../LICENSE` link.

Written out as prose instead, with a note saying why, so the next person who wants
to quote a link in this file learns it from the file rather than from CI.

Verified: `go test ./internal/config/ -run TestDocumentedLinksResolve` passes,
reference-link definitions still complete (used-not-defined: []), markdownlint
diagnostics unchanged at 361.
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4 to 4.37.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v4...v4.37.4)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot changed the title ci(deps): bump github/codeql-action from 3 to 4.37.4 ci(deps): bump github/codeql-action from 4 to 4.37.4 Aug 4, 2026
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/github/codeql-action-4.37.4 branch from bc1c1dd to f5c0f0f Compare August 4, 2026 03:37
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: github/codeql-action
Update Type: version-update:semver-major
Previous Version: 4
New Version: 4.37.4

Please review the changelog and breaking changes before merging.

@scttfrdmn

Copy link
Copy Markdown
Owner

Closing: superseded by #334, which merged the same upgrade as `@v4` rather than `@v4.37.4`.

The rebase is the argument. This PR was opened as "bump from 3 to 4.37.4"; with #334 merged, Dependabot recomputed it against `@v4` and it now reads "bump from 4 to 4.37.4" — the major is already in place, so all that is left is converting a floating major ref into an exact patch pin.

That is the wrong direction for these three uses. All three are `upload-sarif`, whose inputs are unchanged across the v4 major; v4's breaking changes are confined to the analysis actions. A patch pin defers every subsequent fix to a new Dependabot PR and a new merge, and `v4.37.5` had already shipped while this one sat open — which is exactly the treadmill the floating major avoids. Every other action in the repository is pinned to its major for the same reason, the one exception being `trivy-action`, which is exact only because it publishes no major ref and now carries a comment saying so.

No action outstanding. The upgrade shipped; the pin style is deliberate.

@scttfrdmn scttfrdmn closed this Aug 4, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/github_actions/github/codeql-action-4.37.4 branch August 4, 2026 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Eligible for Dependabot auto-merge (minor/patch, CI green) dependencies Dependency updates (Dependabot) github-actions GitHub Actions workflow dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant