Skip to content

fix(branch): collapse empty path segments in branch_name_template - #1539

Merged
ashwin-ant merged 1 commit into
anthropics:mainfrom
NickNojiri:fix/branch-template-empty-segment-slashes
Aug 7, 2026
Merged

fix(branch): collapse empty path segments in branch_name_template#1539
ashwin-ant merged 1 commit into
anthropics:mainfrom
NickNojiri:fix/branch-template-empty-segment-slashes

Conversation

@NickNojiri

Copy link
Copy Markdown
Contributor

Summary

Fixes #1527. A branch_name_template that places {{description}} (or another
variable) next to a slash crashes the run when the variable resolves to an
empty string. An issue/PR title with no ASCII-alphanumeric content —
emoji-only, CJK-only, or punctuation-only — makes extractDescription()
return "", so a template like {{prefix}}{{description}}/{{entityNumber}}
produces claude//123. validateBranchName rejects consecutive (and
leading/trailing) slashes, and the thrown error propagates uncaught out of
setupBranch, aborting the entire run.

This is distinct from the {{label}} sanitization tracked in #1491 (and its
PRs #1492 / #1498), which deliberately leave {{description}} alone — so this
path remains broken regardless of which of those merged. This fixes the whole
empty-segment class, independent of which template variable is empty.

Fix

Normalize the templated result before the empty-result check: collapse runs
of slashes and drop any leading/trailing slash. Single-slash and dash
separators are untouched, so existing template behavior is unchanged; a
template that collapses to empty still falls back to the default format.

Changes

  • src/utils/branch-template.tscollapseEmptyPathSegments() applied on
    the custom-template path
  • test/branch-template.test.ts — 4 regression tests: emoji-only title,
    CJK-only title, trailing empty segment, and a direct validateBranchName
    "does not throw" assertion proving the run no longer aborts

Testing

  • bun test — 774 pass, 0 fail
  • bun run typecheck — clean
  • bun run format:check — clean

A branch_name_template that places {{description}} (or another variable)
next to a slash crashes the run when the variable resolves to an empty
string. An issue/PR title with no ASCII-alphanumeric content — emoji-only,
CJK-only, or punctuation-only — makes extractDescription() return "", so a
template like "{{prefix}}{{description}}/{{entityNumber}}" produces
"claude//123". validateBranchName rejects consecutive (and leading/trailing)
slashes, and the thrown error propagates uncaught out of setupBranch,
aborting the entire run.

Normalize the templated result before the empty-result check: collapse runs
of slashes and drop any leading/trailing slash. Single-slash and dash
separators are untouched, so existing template behavior is unchanged; a
template that collapses to empty still falls back to the default format.

This is distinct from the {{label}} sanitization tracked in anthropics#1491 (and its
open PRs), which deliberately leave {{description}} alone — so this path
remained broken. Fixes the whole empty-segment class regardless of variable.

Adds regression tests for emoji-only and CJK-only titles, a trailing empty
segment, and a direct validateBranchName assertion proving the run no longer
aborts.
@ashwin-ant
ashwin-ant merged commit 751e003 into anthropics:main Aug 7, 2026
6 of 35 checks passed
mergify Bot added a commit to ArcadeData/arcadedb that referenced this pull request Aug 16, 2026
Bumps the github-actions group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [zgosalvez/github-actions-ensure-sha-pinned-actions](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions) | `5.0.6` | `5.0.7` |
| [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action) | `1.0.187` | `1.0.192` |
| [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) | `4.37.6` | `4.37.7` |
| [github/codeql-action/init](https://github.com/github/codeql-action) | `4.37.6` | `4.37.7` |
| [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.37.6` | `4.37.7` |
Updates `zgosalvez/github-actions-ensure-sha-pinned-actions` from 5.0.6 to 5.0.7
Release notes

*Sourced from [zgosalvez/github-actions-ensure-sha-pinned-actions's releases](https://github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/releases).*

> v5.0.7
> ------
>
> What's Changed
> --------------
>
> * Bump actions/setup-node from 6.4.0 to 7.0.0 by [`@​dependabot`](https://github.com/dependabot)[bot] in [zgosalvez/github-actions-ensure-sha-pinned-actions#337](https://redirect.github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/pull/337)
> * Bump actions/checkout from 7.0.0 to 7.0.1 by [`@​dependabot`](https://github.com/dependabot)[bot] in [zgosalvez/github-actions-ensure-sha-pinned-actions#336](https://redirect.github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/pull/336)
> * Bump zgosalvez/github-actions-get-action-runs-using-version from 3.0.2 to 3.0.3 by [`@​dependabot`](https://github.com/dependabot)[bot] in [zgosalvez/github-actions-ensure-sha-pinned-actions#335](https://redirect.github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/pull/335)
> * Bump undici from 6.27.0 to 6.28.0 by [`@​dependabot`](https://github.com/dependabot)[bot] in [zgosalvez/github-actions-ensure-sha-pinned-actions#338](https://redirect.github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/pull/338)
> * Fix by [`@​zgosalvez`](https://github.com/zgosalvez) in [zgosalvez/github-actions-ensure-sha-pinned-actions#339](https://redirect.github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/pull/339)
> * Fix by [`@​zgosalvez`](https://github.com/zgosalvez) in [zgosalvez/github-actions-ensure-sha-pinned-actions#340](https://redirect.github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/pull/340)
> * Fix by [`@​zgosalvez`](https://github.com/zgosalvez) in [zgosalvez/github-actions-ensure-sha-pinned-actions#341](https://redirect.github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/pull/341)
>
> **Full Changelog**: <zgosalvez/github-actions-ensure-sha-pinned-actions@v5...v5.0.7>


Commits

* [`c5fc58b`](zgosalvez/github-actions-ensure-sha-pinned-actions@c5fc58b) Fix ([#341](https://redirect.github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/issues/341))
* [`c8f8804`](zgosalvez/github-actions-ensure-sha-pinned-actions@c8f8804) Fix ([#340](https://redirect.github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/issues/340))
* [`5321e41`](zgosalvez/github-actions-ensure-sha-pinned-actions@5321e41) Fix ([#339](https://redirect.github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/issues/339))
* [`e7e8129`](zgosalvez/github-actions-ensure-sha-pinned-actions@e7e8129) Bump undici from 6.27.0 to 6.28.0 ([#338](https://redirect.github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/issues/338))
* [`84ca7d6`](zgosalvez/github-actions-ensure-sha-pinned-actions@84ca7d6) Bump zgosalvez/github-actions-get-action-runs-using-version ([#335](https://redirect.github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/issues/335))
* [`eb88057`](zgosalvez/github-actions-ensure-sha-pinned-actions@eb88057) Bump actions/checkout from 7.0.0 to 7.0.1 ([#336](https://redirect.github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/issues/336))
* [`a1ee078`](zgosalvez/github-actions-ensure-sha-pinned-actions@a1ee078) Bump actions/setup-node from 6.4.0 to 7.0.0 ([#337](https://redirect.github.com/zgosalvez/github-actions-ensure-sha-pinned-actions/issues/337))
* See full diff in [compare view](zgosalvez/github-actions-ensure-sha-pinned-actions@46cfe80...c5fc58b)
  
Updates `anthropics/claude-code-action` from 1.0.187 to 1.0.192
Release notes

*Sourced from [anthropics/claude-code-action's releases](https://github.com/anthropics/claude-code-action/releases).*

> v1.0.192
> --------
>
> What's Changed
> --------------
>
> * fix(mcp): paginate GitHub Actions results by [`@​abhinavkr26104`](https://github.com/abhinavkr26104) in [anthropics/claude-code-action#1629](https://redirect.github.com/anthropics/claude-code-action/pull/1629)
> * fix(summary): keep every text block in structured tool results by [`@​Neal006`](https://github.com/Neal006) in [anthropics/claude-code-action#1619](https://redirect.github.com/anthropics/claude-code-action/pull/1619)
> * fix(mcp): detect binary files by content instead of extension allowlist by [`@​henriquepe`](https://github.com/henriquepe) in [anthropics/claude-code-action#1633](https://redirect.github.com/anthropics/claude-code-action/pull/1633)
>
> New Contributors
> ----------------
>
> * [`@​abhinavkr26104`](https://github.com/abhinavkr26104) made their first contribution in [anthropics/claude-code-action#1629](https://redirect.github.com/anthropics/claude-code-action/pull/1629)
> * [`@​Neal006`](https://github.com/Neal006) made their first contribution in [anthropics/claude-code-action#1619](https://redirect.github.com/anthropics/claude-code-action/pull/1619)
> * [`@​henriquepe`](https://github.com/henriquepe) made their first contribution in [anthropics/claude-code-action#1633](https://redirect.github.com/anthropics/claude-code-action/pull/1633)
>
> **Full Changelog**: <anthropics/claude-code-action@v1.0.191...v1.0.192>
>
> v1.0.191
> --------
>
> **Full Changelog**: <anthropics/claude-code-action@v1.0.190...v1.0.191>
>
> v1.0.190
> --------
>
> **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.190>
>
> v1.0.189
> --------
>
> **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.189>
>
> v1.0.188
> --------
>
> What's Changed
> --------------
>
> * Enforce max-turn limits from claude\_args by [`@​ulofiai`](https://github.com/ulofiai) in [anthropics/claude-code-action#1607](https://redirect.github.com/anthropics/claude-code-action/pull/1607)
> * fix: handle null files field from GraphQL on very large PRs by [`@​leepokai`](https://github.com/leepokai) in [anthropics/claude-code-action#1593](https://redirect.github.com/anthropics/claude-code-action/pull/1593)
> * fix: support labeled action for pull\_request events in track\_progress by [`@​takakisatojp`](https://github.com/takakisatojp) in [anthropics/claude-code-action#1586](https://redirect.github.com/anthropics/claude-code-action/pull/1586)
> * fix: match label\_trigger case-insensitively by [`@​sahilempire`](https://github.com/sahilempire) in [anthropics/claude-code-action#1576](https://redirect.github.com/anthropics/claude-code-action/pull/1576)
> * docs: fix broken Bedrock anchor in cloud-providers.md by [`@​shoemoney`](https://github.com/shoemoney) in [anthropics/claude-code-action#1579](https://redirect.github.com/anthropics/claude-code-action/pull/1579)
> * docs: replace removed base-action inputs with claude\_args and settings by [`@​fallintoplace`](https://github.com/fallintoplace) in [anthropics/claude-code-action#1550](https://redirect.github.com/anthropics/claude-code-action/pull/1550)
> * fix(cache): disable setup-bun cache to avoid 5-retry HTML-error burn by [`@​necofuryai`](https://github.com/necofuryai) in [anthropics/claude-code-action#1580](https://redirect.github.com/anthropics/claude-code-action/pull/1580)
> * ci: pass base-action tool restrictions through claude\_args by [`@​fallintoplace`](https://github.com/fallintoplace) in [anthropics/claude-code-action#1552](https://redirect.github.com/anthropics/claude-code-action/pull/1552)
> * fix(mcp): stop retrying deterministic reference update failures by [`@​fallintoplace`](https://github.com/fallintoplace) in [anthropics/claude-code-action#1551](https://redirect.github.com/anthropics/claude-code-action/pull/1551)
> * fix: expose conclusion as a root action output by [`@​fallintoplace`](https://github.com/fallintoplace) in [anthropics/claude-code-action#1549](https://redirect.github.com/anthropics/claude-code-action/pull/1549)
> * fix(branch): validate generated branch name under commit signing by [`@​rishavnaskar`](https://github.com/rishavnaskar) in [anthropics/claude-code-action#1582](https://redirect.github.com/anthropics/claude-code-action/pull/1582)
> * fix(branch): collapse empty path segments in branch\_name\_template by [`@​NickNojiri`](https://github.com/NickNojiri) in [anthropics/claude-code-action#1539](https://redirect.github.com/anthropics/claude-code-action/pull/1539)
>
> New Contributors
> ----------------
>
> * [`@​ulofiai`](https://github.com/ulofiai) made their first contribution in [anthropics/claude-code-action#1607](https://redirect.github.com/anthropics/claude-code-action/pull/1607)
> * [`@​leepokai`](https://github.com/leepokai) made their first contribution in [anthropics/claude-code-action#1593](https://redirect.github.com/anthropics/claude-code-action/pull/1593)
> * [`@​takakisatojp`](https://github.com/takakisatojp) made their first contribution in [anthropics/claude-code-action#1586](https://redirect.github.com/anthropics/claude-code-action/pull/1586)
> * [`@​sahilempire`](https://github.com/sahilempire) made their first contribution in [anthropics/claude-code-action#1576](https://redirect.github.com/anthropics/claude-code-action/pull/1576)
> * [`@​shoemoney`](https://github.com/shoemoney) made their first contribution in [anthropics/claude-code-action#1579](https://redirect.github.com/anthropics/claude-code-action/pull/1579)
> * [`@​fallintoplace`](https://github.com/fallintoplace) made their first contribution in [anthropics/claude-code-action#1550](https://redirect.github.com/anthropics/claude-code-action/pull/1550)
> * [`@​necofuryai`](https://github.com/necofuryai) made their first contribution in [anthropics/claude-code-action#1580](https://redirect.github.com/anthropics/claude-code-action/pull/1580)
> * [`@​rishavnaskar`](https://github.com/rishavnaskar) made their first contribution in [anthropics/claude-code-action#1582](https://redirect.github.com/anthropics/claude-code-action/pull/1582)
>
> **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.188>


Commits

* [`e63208c`](anthropics/claude-code-action@e63208c) chore: bump Claude Code to 2.1.232 and Agent SDK to 0.3.232
* [`dc33e8a`](anthropics/claude-code-action@dc33e8a) chore: bump Claude Code to 2.1.231 and Agent SDK to 0.3.231
* [`c58ad32`](anthropics/claude-code-action@c58ad32) chore: bump Claude Code to 2.1.229 and Agent SDK to 0.3.229
* [`dfb8fc7`](anthropics/claude-code-action@dfb8fc7) fix(mcp): detect binary files by content instead of extension allowlist ([#1633](https://redirect.github.com/anthropics/claude-code-action/issues/1633))
* [`a2489ef`](anthropics/claude-code-action@a2489ef) fix(summary): keep every text block in structured tool results ([#1619](https://redirect.github.com/anthropics/claude-code-action/issues/1619))
* [`8b87458`](anthropics/claude-code-action@8b87458) fix: paginate GitHub Actions MCP responses ([#1629](https://redirect.github.com/anthropics/claude-code-action/issues/1629))
* [`239e3a7`](anthropics/claude-code-action@239e3a7) chore: bump Claude Code to 2.1.228 and Agent SDK to 0.3.228
* [`5ef2e55`](anthropics/claude-code-action@5ef2e55) chore: bump Claude Code to 2.1.227 and Agent SDK to 0.3.227
* [`6b082c4`](anthropics/claude-code-action@6b082c4) chore: bump Claude Code to 2.1.226 and Agent SDK to 0.3.226
* [`7ff6806`](anthropics/claude-code-action@7ff6806) chore: bump Claude Code to 2.1.225 and Agent SDK to 0.3.225
* Additional commits viewable in [compare view](anthropics/claude-code-action@1623c36...e63208c)
  
Updates `github/codeql-action/upload-sarif` from 4.37.6 to 4.37.7
Release notes

*Sourced from [github/codeql-action/upload-sarif's releases](https://github.com/github/codeql-action/releases).*

> v4.37.7
> -------
>
> * Update default CodeQL bundle version to [2.26.3](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.3). [#4085](https://redirect.github.com/github/codeql-action/pull/4085)


Changelog

*Sourced from [github/codeql-action/upload-sarif's changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md).*

> CodeQL Action Changelog
> =======================
>
> See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs.
>
> [UNRELEASED]
> ------------
>
> No user facing changes.
>
> 4.37.7 - 13 Aug 2026
> --------------------
>
> * Update default CodeQL bundle version to [2.26.3](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.3). [#4085](https://redirect.github.com/github/codeql-action/pull/4085)
>
> 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](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/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](https://docs.github.com/en/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization). 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](https://redirect.github.com/github/codeql-action/pull/4037)
> * Update default CodeQL bundle version to [2.26.2](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.2). [#4051](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/4023)
> * The CodeQL Action can now make use of [configured private registries](https://docs.github.com/en/code-security/how-tos/secure-at-scale/configure-organization-security/manage-usage-and-access/giving-org-access-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](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/3956)
> * Update default CodeQL bundle version to [2.26.1](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.1). [#4019](https://redirect.github.com/github/codeql-action/pull/4019)
>
> 4.37.0 - 08 Jul 2026
> --------------------
>
> * Update default CodeQL bundle version to [2.26.0](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.0). [#3995](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/3973)
>
> 4.36.3 - 01 Jul 2026
> --------------------
>
> No user facing changes.
>
> 4.36.2 - 04 Jun 2026
> --------------------

... (truncated)


Commits

* [`ff2f1c6`](github/codeql-action@ff2f1c6) Merge pull request [#4093](https://redirect.github.com/github/codeql-action/issues/4093) from github/update-v4.37.7-be7a3dbb8
* [`951a133`](github/codeql-action@951a133) Update changelog for v4.37.7
* [`be7a3db`](github/codeql-action@be7a3db) Merge pull request [#4087](https://redirect.github.com/github/codeql-action/issues/4087) from github/dependabot/npm\_and\_yarn/npm-minor-0aa561...
* [`9310334`](github/codeql-action@9310334) Merge pull request [#4086](https://redirect.github.com/github/codeql-action/issues/4086) from github/mbg/thread-action-state-to-codeql
* [`b4d8a54`](github/codeql-action@b4d8a54) Rebuild
* [`ab5db25`](github/codeql-action@ab5db25) Bump the npm-minor group across 1 directory with 8 updates
* [`38055a3`](github/codeql-action@38055a3) Drop `logger` from `databaseInitCluster` in interface
* [`1f87aed`](github/codeql-action@1f87aed) Merge pull request [#4085](https://redirect.github.com/github/codeql-action/issues/4085) from github/update-bundle/codeql-bundle-v2.26.3
* [`dc1b98a`](github/codeql-action@dc1b98a) Make `logger` available to `getCodeQLForCmd`
* [`6f0220e`](github/codeql-action@6f0220e) Merge pull request [#4084](https://redirect.github.com/github/codeql-action/issues/4084) from github/navntoft/bump-undici
* Additional commits viewable in [compare view](github/codeql-action@5595cca...ff2f1c6)
  
Updates `github/codeql-action/init` from 4.37.6 to 4.37.7
Release notes

*Sourced from [github/codeql-action/init's releases](https://github.com/github/codeql-action/releases).*

> v4.37.7
> -------
>
> * Update default CodeQL bundle version to [2.26.3](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.3). [#4085](https://redirect.github.com/github/codeql-action/pull/4085)


Changelog

*Sourced from [github/codeql-action/init's changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md).*

> CodeQL Action Changelog
> =======================
>
> See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs.
>
> [UNRELEASED]
> ------------
>
> No user facing changes.
>
> 4.37.7 - 13 Aug 2026
> --------------------
>
> * Update default CodeQL bundle version to [2.26.3](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.3). [#4085](https://redirect.github.com/github/codeql-action/pull/4085)
>
> 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](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/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](https://docs.github.com/en/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization). 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](https://redirect.github.com/github/codeql-action/pull/4037)
> * Update default CodeQL bundle version to [2.26.2](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.2). [#4051](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/4023)
> * The CodeQL Action can now make use of [configured private registries](https://docs.github.com/en/code-security/how-tos/secure-at-scale/configure-organization-security/manage-usage-and-access/giving-org-access-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](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/3956)
> * Update default CodeQL bundle version to [2.26.1](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.1). [#4019](https://redirect.github.com/github/codeql-action/pull/4019)
>
> 4.37.0 - 08 Jul 2026
> --------------------
>
> * Update default CodeQL bundle version to [2.26.0](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.0). [#3995](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/3973)
>
> 4.36.3 - 01 Jul 2026
> --------------------
>
> No user facing changes.
>
> 4.36.2 - 04 Jun 2026
> --------------------

... (truncated)


Commits

* [`ff2f1c6`](github/codeql-action@ff2f1c6) Merge pull request [#4093](https://redirect.github.com/github/codeql-action/issues/4093) from github/update-v4.37.7-be7a3dbb8
* [`951a133`](github/codeql-action@951a133) Update changelog for v4.37.7
* [`be7a3db`](github/codeql-action@be7a3db) Merge pull request [#4087](https://redirect.github.com/github/codeql-action/issues/4087) from github/dependabot/npm\_and\_yarn/npm-minor-0aa561...
* [`9310334`](github/codeql-action@9310334) Merge pull request [#4086](https://redirect.github.com/github/codeql-action/issues/4086) from github/mbg/thread-action-state-to-codeql
* [`b4d8a54`](github/codeql-action@b4d8a54) Rebuild
* [`ab5db25`](github/codeql-action@ab5db25) Bump the npm-minor group across 1 directory with 8 updates
* [`38055a3`](github/codeql-action@38055a3) Drop `logger` from `databaseInitCluster` in interface
* [`1f87aed`](github/codeql-action@1f87aed) Merge pull request [#4085](https://redirect.github.com/github/codeql-action/issues/4085) from github/update-bundle/codeql-bundle-v2.26.3
* [`dc1b98a`](github/codeql-action@dc1b98a) Make `logger` available to `getCodeQLForCmd`
* [`6f0220e`](github/codeql-action@6f0220e) Merge pull request [#4084](https://redirect.github.com/github/codeql-action/issues/4084) from github/navntoft/bump-undici
* Additional commits viewable in [compare view](github/codeql-action@5595cca...ff2f1c6)
  
Updates `github/codeql-action/analyze` from 4.37.6 to 4.37.7
Release notes

*Sourced from [github/codeql-action/analyze's releases](https://github.com/github/codeql-action/releases).*

> v4.37.7
> -------
>
> * Update default CodeQL bundle version to [2.26.3](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.3). [#4085](https://redirect.github.com/github/codeql-action/pull/4085)


Changelog

*Sourced from [github/codeql-action/analyze's changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md).*

> CodeQL Action Changelog
> =======================
>
> See the [releases page](https://github.com/github/codeql-action/releases) for the relevant changes to the CodeQL CLI and language packs.
>
> [UNRELEASED]
> ------------
>
> No user facing changes.
>
> 4.37.7 - 13 Aug 2026
> --------------------
>
> * Update default CodeQL bundle version to [2.26.3](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.3). [#4085](https://redirect.github.com/github/codeql-action/pull/4085)
>
> 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](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/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](https://docs.github.com/en/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization). 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](https://redirect.github.com/github/codeql-action/pull/4037)
> * Update default CodeQL bundle version to [2.26.2](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.2). [#4051](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/4023)
> * The CodeQL Action can now make use of [configured private registries](https://docs.github.com/en/code-security/how-tos/secure-at-scale/configure-organization-security/manage-usage-and-access/giving-org-access-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](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/3956)
> * Update default CodeQL bundle version to [2.26.1](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.1). [#4019](https://redirect.github.com/github/codeql-action/pull/4019)
>
> 4.37.0 - 08 Jul 2026
> --------------------
>
> * Update default CodeQL bundle version to [2.26.0](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.0). [#3995](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/3973)
>
> 4.36.3 - 01 Jul 2026
> --------------------
>
> No user facing changes.
>
> 4.36.2 - 04 Jun 2026
> --------------------

... (truncated)


Commits

* [`ff2f1c6`](github/codeql-action@ff2f1c6) Merge pull request [#4093](https://redirect.github.com/github/codeql-action/issues/4093) from github/update-v4.37.7-be7a3dbb8
* [`951a133`](github/codeql-action@951a133) Update changelog for v4.37.7
* [`be7a3db`](github/codeql-action@be7a3db) Merge pull request [#4087](https://redirect.github.com/github/codeql-action/issues/4087) from github/dependabot/npm\_and\_yarn/npm-minor-0aa561...
* [`9310334`](github/codeql-action@9310334) Merge pull request [#4086](https://redirect.github.com/github/codeql-action/issues/4086) from github/mbg/thread-action-state-to-codeql
* [`b4d8a54`](github/codeql-action@b4d8a54) Rebuild
* [`ab5db25`](github/codeql-action@ab5db25) Bump the npm-minor group across 1 directory with 8 updates
* [`38055a3`](github/codeql-action@38055a3) Drop `logger` from `databaseInitCluster` in interface
* [`1f87aed`](github/codeql-action@1f87aed) Merge pull request [#4085](https://redirect.github.com/github/codeql-action/issues/4085) from github/update-bundle/codeql-bundle-v2.26.3
* [`dc1b98a`](github/codeql-action@dc1b98a) Make `logger` available to `getCodeQLForCmd`
* [`6f0220e`](github/codeql-action@6f0220e) Merge pull request [#4084](https://redirect.github.com/github/codeql-action/issues/4084) from github/navntoft/bump-undici
* Additional commits viewable in [compare view](github/codeql-action@5595cca...ff2f1c6)
  
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
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  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore  major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore  minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore  ` will remove the ignore condition of the specified dependency and ignore conditions
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.

branch_name_template with empty {{description}} produces '//' and aborts the run

2 participants