fix: allow , in branch names#1310
Merged
ashwin-ant merged 1 commit intoMay 14, 2026
Merged
Conversation
`validateBranchName` rejects branch names containing a comma, even though `git check-ref-format` permits commas and GitHub itself accepts them. PRs whose head branch contains a `,` fail validation in-process before any git operation, so the action errors out immediately. Branch names with commas show up in real workflows when names are derived from titles, place names, or external identifiers (e.g. "feature/paris,france"). There is no workaround other than renaming the branch, which is often not under the user's control. All git calls in this file use execFileSync with an argv array, so no shell interpretation occurs and `,` carries no injection risk. This is the same reasoning used to add `#` in anthropics#1167 and `+` in anthropics#1248. - Add `,` to the validateBranchName whitelist regex - Update the surrounding comment and error message to match - Add a test case covering commas in title-derived branch names Fixes anthropics#1300
ashwin-ant
approved these changes
May 14, 2026
mergify Bot
added a commit
to ArcadeData/arcadedb-usecases
that referenced
this pull request
May 17, 2026
…23 in the github-actions group [skip ci] Bumps the github-actions group with 1 update: [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action). Updates `anthropics/claude-code-action` from 1.0.119 to 1.0.123 Release notes *Sourced from [anthropics/claude-code-action's releases](https://github.com/anthropics/claude-code-action/releases).* > v1.0.123 > -------- > > What's Changed > -------------- > > * fix: allow , in branch names by [`@bugbubug`](https://github.com/bugbubug) in [anthropics/claude-code-action#1310](https://redirect.github.com/anthropics/claude-code-action/pull/1310) > * fix: dereference symlinks when snapshotting sensitive paths to .claude-pr/ by [`@matanbaruch`](https://github.com/matanbaruch) in [anthropics/claude-code-action#1186](https://redirect.github.com/anthropics/claude-code-action/pull/1186) > * fix: exclude .claude-pr snapshot from git staging by [`@cvan20191`](https://github.com/cvan20191) in [anthropics/claude-code-action#1277](https://redirect.github.com/anthropics/claude-code-action/pull/1277) > * fix: write execution file when SDK throws by [`@Jerry2003826`](https://github.com/Jerry2003826) in [anthropics/claude-code-action#1255](https://redirect.github.com/anthropics/claude-code-action/pull/1255) > * fix: handle non-user actors (e.g. Copilot) in permission and actor checks by [`@krislavten`](https://github.com/krislavten) in [anthropics/claude-code-action#1144](https://redirect.github.com/anthropics/claude-code-action/pull/1144) > * chore: bump pinned Bun to 1.3.14 by [`@ashwin-ant`](https://github.com/ashwin-ant) in [anthropics/claude-code-action#1312](https://redirect.github.com/anthropics/claude-code-action/pull/1312) > > New Contributors > ---------------- > > * [`@bugbubug`](https://github.com/bugbubug) made their first contribution in [anthropics/claude-code-action#1310](https://redirect.github.com/anthropics/claude-code-action/pull/1310) > * [`@matanbaruch`](https://github.com/matanbaruch) made their first contribution in [anthropics/claude-code-action#1186](https://redirect.github.com/anthropics/claude-code-action/pull/1186) > * [`@cvan20191`](https://github.com/cvan20191) made their first contribution in [anthropics/claude-code-action#1277](https://redirect.github.com/anthropics/claude-code-action/pull/1277) > * [`@Jerry2003826`](https://github.com/Jerry2003826) made their first contribution in [anthropics/claude-code-action#1255](https://redirect.github.com/anthropics/claude-code-action/pull/1255) > * [`@krislavten`](https://github.com/krislavten) made their first contribution in [anthropics/claude-code-action#1144](https://redirect.github.com/anthropics/claude-code-action/pull/1144) > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.123> > > v1.0.122 > -------- > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.122> > > v1.0.121 > -------- > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.121> > > v1.0.120 > -------- > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.120> Commits * [`51ea8ea`](anthropics/claude-code-action@51ea8ea) chore: bump Claude Code to 2.1.142 and Agent SDK to 0.3.142 * [`acfa366`](anthropics/claude-code-action@acfa366) chore: bump pinned Bun to 1.3.14 ([#1312](https://redirect.github.com/anthropics/claude-code-action/issues/1312)) * [`9eb125a`](anthropics/claude-code-action@9eb125a) fix: handle non-user actors (e.g. Copilot) in permission and actor checks ([#1](https://redirect.github.com/anthropics/claude-code-action/issues/1)... * [`1450f65`](anthropics/claude-code-action@1450f65) fix: write execution file when SDK throws ([#1255](https://redirect.github.com/anthropics/claude-code-action/issues/1255)) * [`0756f6e`](anthropics/claude-code-action@0756f6e) fix: exclude .claude-pr snapshot from git staging ([#1277](https://redirect.github.com/anthropics/claude-code-action/issues/1277)) * [`f4d6a11`](anthropics/claude-code-action@f4d6a11) fix: dereference symlinks when snapshotting sensitive paths to .claude-pr/ (#... * [`bf6d40e`](anthropics/claude-code-action@bf6d40e) fix: allow , in branch names ([#1310](https://redirect.github.com/anthropics/claude-code-action/issues/1310)) * [`86eb26b`](anthropics/claude-code-action@86eb26b) chore: bump Claude Code to 2.1.141 and Agent SDK to 0.2.141 * [`f4fb5c6`](anthropics/claude-code-action@f4fb5c6) chore: bump Claude Code to 2.1.140 and Agent SDK to 0.2.140 * [`dde2242`](anthropics/claude-code-action@dde2242) chore: bump Claude Code to 2.1.139 and Agent SDK to 0.2.139 * See full diff in [compare view](anthropics/claude-code-action@476e359...51ea8ea) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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
mergify Bot
added a commit
to ArcadeData/arcadedb
that referenced
this pull request
May 17, 2026
Bumps the github-actions group with 2 updates: [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action) and [github/codeql-action](https://github.com/github/codeql-action). Updates `anthropics/claude-code-action` from 1.0.119 to 1.0.123 Release notes *Sourced from [anthropics/claude-code-action's releases](https://github.com/anthropics/claude-code-action/releases).* > v1.0.123 > -------- > > What's Changed > -------------- > > * fix: allow , in branch names by [`@bugbubug`](https://github.com/bugbubug) in [anthropics/claude-code-action#1310](https://redirect.github.com/anthropics/claude-code-action/pull/1310) > * fix: dereference symlinks when snapshotting sensitive paths to .claude-pr/ by [`@matanbaruch`](https://github.com/matanbaruch) in [anthropics/claude-code-action#1186](https://redirect.github.com/anthropics/claude-code-action/pull/1186) > * fix: exclude .claude-pr snapshot from git staging by [`@cvan20191`](https://github.com/cvan20191) in [anthropics/claude-code-action#1277](https://redirect.github.com/anthropics/claude-code-action/pull/1277) > * fix: write execution file when SDK throws by [`@Jerry2003826`](https://github.com/Jerry2003826) in [anthropics/claude-code-action#1255](https://redirect.github.com/anthropics/claude-code-action/pull/1255) > * fix: handle non-user actors (e.g. Copilot) in permission and actor checks by [`@krislavten`](https://github.com/krislavten) in [anthropics/claude-code-action#1144](https://redirect.github.com/anthropics/claude-code-action/pull/1144) > * chore: bump pinned Bun to 1.3.14 by [`@ashwin-ant`](https://github.com/ashwin-ant) in [anthropics/claude-code-action#1312](https://redirect.github.com/anthropics/claude-code-action/pull/1312) > > New Contributors > ---------------- > > * [`@bugbubug`](https://github.com/bugbubug) made their first contribution in [anthropics/claude-code-action#1310](https://redirect.github.com/anthropics/claude-code-action/pull/1310) > * [`@matanbaruch`](https://github.com/matanbaruch) made their first contribution in [anthropics/claude-code-action#1186](https://redirect.github.com/anthropics/claude-code-action/pull/1186) > * [`@cvan20191`](https://github.com/cvan20191) made their first contribution in [anthropics/claude-code-action#1277](https://redirect.github.com/anthropics/claude-code-action/pull/1277) > * [`@Jerry2003826`](https://github.com/Jerry2003826) made their first contribution in [anthropics/claude-code-action#1255](https://redirect.github.com/anthropics/claude-code-action/pull/1255) > * [`@krislavten`](https://github.com/krislavten) made their first contribution in [anthropics/claude-code-action#1144](https://redirect.github.com/anthropics/claude-code-action/pull/1144) > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.123> > > v1.0.122 > -------- > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.122> > > v1.0.121 > -------- > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.121> > > v1.0.120 > -------- > > **Full Changelog**: <anthropics/claude-code-action@v1...v1.0.120> Commits * [`51ea8ea`](anthropics/claude-code-action@51ea8ea) chore: bump Claude Code to 2.1.142 and Agent SDK to 0.3.142 * [`acfa366`](anthropics/claude-code-action@acfa366) chore: bump pinned Bun to 1.3.14 ([#1312](https://redirect.github.com/anthropics/claude-code-action/issues/1312)) * [`9eb125a`](anthropics/claude-code-action@9eb125a) fix: handle non-user actors (e.g. Copilot) in permission and actor checks ([#1](https://redirect.github.com/anthropics/claude-code-action/issues/1)... * [`1450f65`](anthropics/claude-code-action@1450f65) fix: write execution file when SDK throws ([#1255](https://redirect.github.com/anthropics/claude-code-action/issues/1255)) * [`0756f6e`](anthropics/claude-code-action@0756f6e) fix: exclude .claude-pr snapshot from git staging ([#1277](https://redirect.github.com/anthropics/claude-code-action/issues/1277)) * [`f4d6a11`](anthropics/claude-code-action@f4d6a11) fix: dereference symlinks when snapshotting sensitive paths to .claude-pr/ (#... * [`bf6d40e`](anthropics/claude-code-action@bf6d40e) fix: allow , in branch names ([#1310](https://redirect.github.com/anthropics/claude-code-action/issues/1310)) * [`86eb26b`](anthropics/claude-code-action@86eb26b) chore: bump Claude Code to 2.1.141 and Agent SDK to 0.2.141 * [`f4fb5c6`](anthropics/claude-code-action@f4fb5c6) chore: bump Claude Code to 2.1.140 and Agent SDK to 0.2.140 * [`dde2242`](anthropics/claude-code-action@dde2242) chore: bump Claude Code to 2.1.139 and Agent SDK to 0.2.139 * See full diff in [compare view](anthropics/claude-code-action@476e359...51ea8ea) Updates `github/codeql-action` from 4.35.4 to 4.35.5 Release notes *Sourced from [github/codeql-action's releases](https://github.com/github/codeql-action/releases).* > 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](https://redirect.github.com/github/codeql-action/pull/3899) > * For performance and accuracy reasons, [improved incremental analysis](https://redirect.github.com/github/roadmap/issues/1158) 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](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/3892) > * Added an experimental change which, when running a Code Scanning analysis for a PR with [improved incremental analysis](https://redirect.github.com/github/roadmap/issues/1158) 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](https://redirect.github.com/github/codeql-action/pull/3880) Changelog *Sourced from [github/codeql-action'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] > ------------ > > * Add support for SHA-256 Git object IDs. [#3893](https://redirect.github.com/github/codeql-action/pull/3893) > > 4.35.5 - 15 May 2026 > -------------------- > > * We have improved how the JavaScript bundles for the CodeQL Action are generated to avoid duplication across bundles and reduce the size of the repository by around 70%. This should have no effect on the runtime behaviour of the CodeQL Action. [#3899](https://redirect.github.com/github/codeql-action/pull/3899) > * For performance and accuracy reasons, [improved incremental analysis](https://redirect.github.com/github/roadmap/issues/1158) 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](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/3892) > * Added an experimental change which, when running a Code Scanning analysis for a PR with [improved incremental analysis](https://redirect.github.com/github/roadmap/issues/1158) 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](https://redirect.github.com/github/codeql-action/pull/3880) > > 4.35.4 - 07 May 2026 > -------------------- > > * Update default CodeQL bundle version to [2.25.4](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.25.4). [#3881](https://redirect.github.com/github/codeql-action/pull/3881) > > 4.35.3 - 01 May 2026 > -------------------- > > * *Upcoming breaking change*: Add a deprecation warning for customers using CodeQL version 2.19.3 and earlier. These versions of CodeQL were discontinued on 9 April 2026 alongside GitHub Enterprise Server 3.15, and will be unsupported by the next minor release of the CodeQL Action. [#3837](https://redirect.github.com/github/codeql-action/pull/3837) > * Configurations for private registries that use Cloudsmith or GCP OIDC are now accepted. [#3850](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/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](https://redirect.github.com/github/codeql-action/pull/3852) > * Update default CodeQL bundle version to [2.25.3](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.25.3). [#3865](https://redirect.github.com/github/codeql-action/pull/3865) > > 4.35.2 - 15 Apr 2026 > -------------------- > > * The undocumented TRAP cache cleanup feature that could be enabled using the `CODEQL_ACTION_CLEANUP_TRAP_CACHES` environment variable is deprecated and will be removed in May 2026. If you are affected by this, we recommend disabling TRAP caching by passing the `trap-caching: false` input to the `init` Action. [#3795](https://redirect.github.com/github/codeql-action/pull/3795) > * The Git version 2.36.0 requirement for improved incremental analysis now only applies to repositories that contain submodules. [#3789](https://redirect.github.com/github/codeql-action/pull/3789) > * Python analysis on GHES no longer extracts the standard library, relying instead on models of the standard library. This should result in significantly faster extraction and analysis times, while the effect on alerts should be minimal. [#3794](https://redirect.github.com/github/codeql-action/pull/3794) > * Fixed a bug in the validation of OIDC configurations for private registries that was added in CodeQL Action 4.33.0 / 3.33.0. [#3807](https://redirect.github.com/github/codeql-action/pull/3807) > * Update default CodeQL bundle version to [2.25.2](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.25.2). [#3823](https://redirect.github.com/github/codeql-action/pull/3823) > > 4.35.1 - 27 Mar 2026 > -------------------- > > * Fix incorrect minimum required Git version for [improved incremental analysis](https://redirect.github.com/github/roadmap/issues/1158): it should have been 2.36.0, not 2.11.0. [#3781](https://redirect.github.com/github/codeql-action/pull/3781) > > 4.35.0 - 27 Mar 2026 > -------------------- > > * Reduced the minimum Git version required for [improved incremental analysis](https://redirect.github.com/github/roadmap/issues/1158) from 2.38.0 to 2.11.0. [#3767](https://redirect.github.com/github/codeql-action/pull/3767) > * Update default CodeQL bundle version to [2.25.1](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.25.1). [#3773](https://redirect.github.com/github/codeql-action/pull/3773) > > 4.34.1 - 20 Mar 2026 > -------------------- > > * Downgrade default CodeQL bundle version to [2.24.3](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.24.3) due to issues with a small percentage of Actions and JavaScript analyses. [#3762](https://redirect.github.com/github/codeql-action/pull/3762) > > 4.34.0 - 20 Mar 2026 > -------------------- ... (truncated) Commits * [`9e0d7b8`](github/codeql-action@9e0d7b8) Merge pull request [#3905](https://redirect.github.com/github/codeql-action/issues/3905) from github/update-v4.35.5-d4b485515 * [`6d7d599`](github/codeql-action@6d7d599) Add changelog entry for [#3899](https://redirect.github.com/github/codeql-action/issues/3899) * [`51f7e38`](github/codeql-action@51f7e38) Update changelog for v4.35.5 * [`d4b4855`](github/codeql-action@d4b4855) Merge pull request [#3899](https://redirect.github.com/github/codeql-action/issues/3899) from github/mbg/esbuild/split * [`127de81`](github/codeql-action@127de81) Merge remote-tracking branch 'origin/main' into mbg/esbuild/split * [`7fde13f`](github/codeql-action@7fde13f) Use src + basename in header to avoid issues on Windows * [`dfa61e7`](github/codeql-action@dfa61e7) Improve pattern matching and error handling * [`52aafec`](github/codeql-action@52aafec) Import and call `runWrapper` normally in `analyze` tests * [`0d08c01`](github/codeql-action@0d08c01) Auto-generate shared bundle * [`14085a6`](github/codeql-action@14085a6) Auto-generate entry points * Additional commits viewable in [compare view](github/codeql-action@68bde55...9e0d7b8) 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
validateBranchNameinsrc/github/operations/branch.tsrejects branch names containing a comma (,), even thoughgit check-ref-formatpermits commas and GitHub itself accepts them when creating the branch. When the action runs on a PR whose head branch contains a,, validation throws before any git operation and the action fails immediately:This shows up in real workflows when branch names are derived from titles, place names, or external identifiers (e.g.
feature/paris,france). There is no workaround other than renaming the branch, which is often not under the user's control.Fixes #1300.
Root cause
The whitelist regex at
src/github/operations/branch.ts:66is:,is not in the character class, so any ref containing one is rejected regardless of position.The whitelist exists for injection safety, but every git call in this file uses
execFileSyncwith an argv array (no shell, no interpolation), so,carries no injection risk under that execution model. This is the same reasoning used to add#in #1167 and+in #1248.Fix
Add
,to the whitelist:/^[a-zA-Z0-9][a-zA-Z0-9/_.#+,-]*$/. Update the surrounding comment and the user-facing error message to match.Testing
feature/a,b,feature/paris,france,fix/issue-1,2,3)bun test: 666 pass, 0 failbun run typecheck: cleanbun run format:check: clean