Skip to content

fix(github): honor GITHUB_GRAPHQL_URL for the GraphQL client - #1575

Merged
ashwin-ant merged 1 commit into
anthropics:mainfrom
rover0811:fix/honor-github-graphql-url
Aug 20, 2026
Merged

ashwin-ant merged 1 commit into
anthropics:mainfrom
rover0811:fix/honor-github-graphql-url

Conversation

@rover0811

Copy link
Copy Markdown
Contributor

Problem

createOctokit() builds the REST client from GITHUB_API_URL (correct) but builds the GraphQL client from GITHUB_API_URL too, ignoring the standard GITHUB_GRAPHQL_URL variable the Actions runner provides.

On standard GitHub Enterprise Server this happens to work, because @octokit/graphql rewrites a .../api/v3 REST base to .../api/graphql. But any deployment whose GraphQL endpoint is not derivable from the REST base by that rule (a custom proxy, or GraphQL served from a separate host) has its GraphQL requests sent to the wrong URL.

Fix

Honor GITHUB_GRAPHQL_URL independently, falling back to GITHUB_API_URL when it is unset so behavior is unchanged for github.com and standard GHES. A single trailing /graphql is stripped because @octokit/graphql appends its own (avoids /graphql/graphql); the trailing-slash trim keeps the existing .../api/v3 → .../api/graphql rewrite working on the fallback path.

REST stays on GITHUB_API_URL. This is the GraphQL analogue of #108 / #243, which established honoring GITHUB_API_URL for REST on GHES.

Tests

Added wire-level regression tests that run the real client factory in a fresh process and assert the final request URL + Authorization header — constructor-option assertions are insufficient because @octokit/graphql rewrites the path after construction. Coverage:

  • both env vars unset → github.com for REST and GraphQL
  • GITHUB_API_URL only (GHES) → GraphQL still resolves to /api/graphql
  • GITHUB_GRAPHQL_URL only → GraphQL honors it, REST stays public
  • both set → REST and GraphQL route independently
  • GITHUB_GRAPHQL_URL overriding a derivable base
  • trailing-slash normalization
  • no /graphql/graphql doubling
  • Authorization header preserved on both clients

bun test (full suite), bun run typecheck, and bun run format:check all pass.

The REST client honors GITHUB_API_URL, but the GraphQL client derived its
base URL from GITHUB_API_URL as well and ignored the standard
GITHUB_GRAPHQL_URL variable that GitHub Actions provides. On standard GitHub
Enterprise Server this still worked because @octokit/graphql rewrites a
".../api/v3" REST base to ".../api/graphql", but any deployment whose GraphQL
endpoint is not derivable from the REST base (custom proxy, separate host)
sent GraphQL requests to the wrong URL.

Honor GITHUB_GRAPHQL_URL independently and fall back to GITHUB_API_URL when it
is unset, so behavior is unchanged for github.com and standard GHES. A single
trailing "/graphql" is stripped because @octokit/graphql appends its own.

Add wire-level regression tests that run the real client factory in a fresh
process and assert the final request URLs and Authorization headers;
constructor-option assertions are insufficient because @octokit/graphql
rewrites the path after the client is constructed.
@rover0811
rover0811 force-pushed the fix/honor-github-graphql-url branch from 73476da to 86206fc Compare July 31, 2026 07:16
@rover0811

Copy link
Copy Markdown
Contributor Author

@ashwin-ant this was approved on the 14th but seems to have been left out when the rest of that batch went in. Still conflict free against main and nothing has been pushed since the review. Anything you need from me here? Happy to rebase or trim the test fixture.

@ashwin-ant
ashwin-ant merged commit 39ad3c8 into anthropics:main Aug 20, 2026
7 of 37 checks passed
mergify Bot added a commit to ArcadeData/arcadedb that referenced this pull request Aug 30, 2026
Bumps the github-actions group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action) | `1.0.198` | `1.0.208` |
| [MeterianHQ/meterian-github-action](https://github.com/meterianhq/meterian-github-action) | `1.0.17` | `1.0.18` |
| [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) | `4.37.7` | `4.37.9` |
| [github/codeql-action/init](https://github.com/github/codeql-action) | `4.37.7` | `4.37.9` |
| [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.37.7` | `4.37.9` |
Updates `anthropics/claude-code-action` from 1.0.198 to 1.0.208
Release notes

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

> v1.0.208
> --------
>
> **Full Changelog**: <anthropics/claude-code-action@v1.0.207...v1.0.208>
>
> v1.0.207
> --------
>
> **Full Changelog**: <anthropics/claude-code-action@v1.0.206...v1.0.207>
>
> v1.0.206
> --------
>
> What's Changed
> --------------
>
> * chore: add .gitattributes to normalize line endings by [`@​MohammedAlkindi`](https://github.com/MohammedAlkindi) in [anthropics/claude-code-action#1708](https://redirect.github.com/anthropics/claude-code-action/pull/1708)
> * fix: use paths in delete\_files prompt example by [`@​WeAreResilience`](https://github.com/WeAreResilience) in [anthropics/claude-code-action#1702](https://redirect.github.com/anthropics/claude-code-action/pull/1702)
> * fix: allow parentheses in valid branch names by [`@​YauheniPo`](https://github.com/YauheniPo) in [anthropics/claude-code-action#1710](https://redirect.github.com/anthropics/claude-code-action/pull/1710)
> * fix: bound download\_job\_log against a stalled log fetch by [`@​shoemoney`](https://github.com/shoemoney) in [anthropics/claude-code-action#1719](https://redirect.github.com/anthropics/claude-code-action/pull/1719)
> * fix: encode branch names in GitHub links by [`@​Abdullah-Builds`](https://github.com/Abdullah-Builds) in [anthropics/claude-code-action#1713](https://redirect.github.com/anthropics/claude-code-action/pull/1713)
>
> New Contributors
> ----------------
>
> * [`@​MohammedAlkindi`](https://github.com/MohammedAlkindi) made their first contribution in [anthropics/claude-code-action#1708](https://redirect.github.com/anthropics/claude-code-action/pull/1708)
> * [`@​YauheniPo`](https://github.com/YauheniPo) made their first contribution in [anthropics/claude-code-action#1710](https://redirect.github.com/anthropics/claude-code-action/pull/1710)
> * [`@​Abdullah-Builds`](https://github.com/Abdullah-Builds) made their first contribution in [anthropics/claude-code-action#1713](https://redirect.github.com/anthropics/claude-code-action/pull/1713)
>
> **Full Changelog**: <anthropics/claude-code-action@v1.0.205...v1.0.206>
>
> v1.0.205
> --------
>
> **Full Changelog**: <anthropics/claude-code-action@v1.0.203...v1.0.205>
>
> v1.0.204
> --------
>
> **Full Changelog**: <anthropics/claude-code-action@v1.0.202...v1.0.204>
>
> v1.0.203
> --------
>
> **Full Changelog**: <anthropics/claude-code-action@v1.0.202...v1.0.203>
>
> v1.0.202
> --------
>
> **Full Changelog**: <anthropics/claude-code-action@v1.0.201...v1.0.202>
>
> v1.0.201
> --------
>
> **Full Changelog**: <anthropics/claude-code-action@v1.0.200...v1.0.201>
>
> v1.0.200
> --------
>
> **Full Changelog**: <anthropics/claude-code-action@v1.0.199...v1.0.200>
>
> v1.0.199
> --------
>
> What's Changed
> --------------
>
> * fix(github): honor GITHUB\_GRAPHQL\_URL for the GraphQL client by [`@​rover0811`](https://github.com/rover0811) in [anthropics/claude-code-action#1575](https://redirect.github.com/anthropics/claude-code-action/pull/1575)
> * fix(cleanup): keep the base-branch config revert out of the auto-commit by [`@​GautamSharma99`](https://github.com/GautamSharma99) in [anthropics/claude-code-action#1677](https://redirect.github.com/anthropics/claude-code-action/pull/1677)
> * fix(mcp): recognize mcp\_\_github aggregate selector for GitHub MCP server initialization by [`@​anishesg`](https://github.com/anishesg) in [anthropics/claude-code-action#1657](https://redirect.github.com/anthropics/claude-code-action/pull/1657)
> * Document 1M gateway models and surface resolved limits by [`@​ulofiai`](https://github.com/ulofiai) in [anthropics/claude-code-action#1608](https://redirect.github.com/anthropics/claude-code-action/pull/1608)
> * fix: teach claude\_args --allowedTools in the signed prompt by [`@​WeAreResilience`](https://github.com/WeAreResilience) in [anthropics/claude-code-action#1704](https://redirect.github.com/anthropics/claude-code-action/pull/1704)
>
> New Contributors
> ----------------
>
> * [`@​rover0811`](https://github.com/rover0811) made their first contribution in [anthropics/claude-code-action#1575](https://redirect.github.com/anthropics/claude-code-action/pull/1575)
> * [`@​GautamSharma99`](https://github.com/GautamSharma99) made their first contribution in [anthropics/claude-code-action#1677](https://redirect.github.com/anthropics/claude-code-action/pull/1677)

... (truncated)


Commits

* [`e8c2d7c`](anthropics/claude-code-action@e8c2d7c) chore: bump Claude Code to 2.1.248 and Agent SDK to 0.3.248
* [`70fec18`](anthropics/claude-code-action@70fec18) chore: bump Claude Code to 2.1.247 and Agent SDK to 0.3.247
* [`1f291e1`](anthropics/claude-code-action@1f291e1) chore: bump Claude Code to 2.1.246 and Agent SDK to 0.3.246
* [`76ac41a`](anthropics/claude-code-action@76ac41a) fix: encode branch names in GitHub links ([#1713](https://redirect.github.com/anthropics/claude-code-action/issues/1713))
* [`8ef9699`](anthropics/claude-code-action@8ef9699) fix: bound download\_job\_log against a stalled log fetch ([#1719](https://redirect.github.com/anthropics/claude-code-action/issues/1719))
* [`791545d`](anthropics/claude-code-action@791545d) fix: allow parentheses in valid branch names ([#1710](https://redirect.github.com/anthropics/claude-code-action/issues/1710))
* [`2d7a787`](anthropics/claude-code-action@2d7a787) fix: use paths in delete\_files prompt example ([#1702](https://redirect.github.com/anthropics/claude-code-action/issues/1702))
* [`b58c16b`](anthropics/claude-code-action@b58c16b) chore: add .gitattributes to normalize line endings ([#1708](https://redirect.github.com/anthropics/claude-code-action/issues/1708))
* [`16b3b31`](anthropics/claude-code-action@16b3b31) chore: bump Claude Code to 2.1.245 and Agent SDK to 0.3.245
* [`6bcfb82`](anthropics/claude-code-action@6bcfb82) chore: bump Claude Code to 2.1.241 and Agent SDK to 0.3.241
* Additional commits viewable in [compare view](anthropics/claude-code-action@3f854a8...e8c2d7c)
  
Updates `MeterianHQ/meterian-github-action` from 1.0.17 to 1.0.18
Release notes

*Sourced from [MeterianHQ/meterian-github-action's releases](https://github.com/meterianhq/meterian-github-action/releases).*

> v1.0.18
> -------
>
> What's Changed
> --------------
>
> * Fix malformed --autofix string when autofix\_stability is set alone by [`@​bbossola`](https://github.com/bbossola) in [MeterianHQ/meterian-github-action#24](https://redirect.github.com/MeterianHQ/meterian-github-action/pull/24)
>
> **Full Changelog**: <MeterianHQ/meterian-github-action@v1.0.17...v1.0.18>


Commits

* [`9603528`](MeterianHQ/meterian-github-action@9603528) Merge pull request [#24](https://redirect.github.com/meterianhq/meterian-github-action/issues/24) from MeterianHQ/autofix-program-assembly-fix
* [`124c40d`](MeterianHQ/meterian-github-action@124c40d) Bumped release version
* [`8c06e06`](MeterianHQ/meterian-github-action@8c06e06) Add CLAUDE.md with repository guidance for Claude Code
* [`3bd90a1`](MeterianHQ/meterian-github-action@3bd90a1) Now building the autofix program list from the non-empty programs only
* See full diff in [compare view](MeterianHQ/meterian-github-action@6849965...9603528)
  
Updates `github/codeql-action/upload-sarif` from 4.37.7 to 4.37.9
Release notes

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

> v4.37.9
> -------
>
> * Update default CodeQL bundle version to [2.26.4](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.4). [#4106](https://redirect.github.com/github/codeql-action/pull/4106)
>
> v4.37.8
> -------
>
> No user facing changes.


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.9 - 26 Aug 2026
> --------------------
>
> * Update default CodeQL bundle version to [2.26.4](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.4). [#4106](https://redirect.github.com/github/codeql-action/pull/4106)
>
> 4.37.8 - 21 Aug 2026
> --------------------
>
> 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)

... (truncated)


Commits

* [`cdf488f`](github/codeql-action@cdf488f) Merge pull request [#4107](https://redirect.github.com/github/codeql-action/issues/4107) from github/update-v4.37.9-920ba7cd1
* [`7243f38`](github/codeql-action@7243f38) Update changelog for v4.37.9
* [`920ba7c`](github/codeql-action@920ba7c) Merge pull request [#4106](https://redirect.github.com/github/codeql-action/issues/4106) from github/update-bundle/codeql-bundle-v2.26.4
* [`ecfa6e1`](github/codeql-action@ecfa6e1) Add changelog note
* [`adcdf4a`](github/codeql-action@adcdf4a) Update default bundle to codeql-bundle-v2.26.4
* [`486fec2`](github/codeql-action@486fec2) Merge pull request [#4099](https://redirect.github.com/github/codeql-action/issues/4099) from github/update-supported-enterprise-server-versions
* [`134624c`](github/codeql-action@134624c) Merge pull request [#4101](https://redirect.github.com/github/codeql-action/issues/4101) from github/dependabot/npm\_and\_yarn/npm-minor-457d82...
* [`ff43db8`](github/codeql-action@ff43db8) Merge pull request [#4103](https://redirect.github.com/github/codeql-action/issues/4103) from github/mergeback/v4.37.8-to-main-db488dde
* [`4605e03`](github/codeql-action@4605e03) Rebuild
* [`099c869`](github/codeql-action@099c869) Update changelog and version after v4.37.8
* Additional commits viewable in [compare view](github/codeql-action@ff2f1c6...cdf488f)
  
Updates `github/codeql-action/init` from 4.37.7 to 4.37.9
Release notes

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

> v4.37.9
> -------
>
> * Update default CodeQL bundle version to [2.26.4](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.4). [#4106](https://redirect.github.com/github/codeql-action/pull/4106)
>
> v4.37.8
> -------
>
> No user facing changes.


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.9 - 26 Aug 2026
> --------------------
>
> * Update default CodeQL bundle version to [2.26.4](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.4). [#4106](https://redirect.github.com/github/codeql-action/pull/4106)
>
> 4.37.8 - 21 Aug 2026
> --------------------
>
> 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)

... (truncated)


Commits

* [`cdf488f`](github/codeql-action@cdf488f) Merge pull request [#4107](https://redirect.github.com/github/codeql-action/issues/4107) from github/update-v4.37.9-920ba7cd1
* [`7243f38`](github/codeql-action@7243f38) Update changelog for v4.37.9
* [`920ba7c`](github/codeql-action@920ba7c) Merge pull request [#4106](https://redirect.github.com/github/codeql-action/issues/4106) from github/update-bundle/codeql-bundle-v2.26.4
* [`ecfa6e1`](github/codeql-action@ecfa6e1) Add changelog note
* [`adcdf4a`](github/codeql-action@adcdf4a) Update default bundle to codeql-bundle-v2.26.4
* [`486fec2`](github/codeql-action@486fec2) Merge pull request [#4099](https://redirect.github.com/github/codeql-action/issues/4099) from github/update-supported-enterprise-server-versions
* [`134624c`](github/codeql-action@134624c) Merge pull request [#4101](https://redirect.github.com/github/codeql-action/issues/4101) from github/dependabot/npm\_and\_yarn/npm-minor-457d82...
* [`ff43db8`](github/codeql-action@ff43db8) Merge pull request [#4103](https://redirect.github.com/github/codeql-action/issues/4103) from github/mergeback/v4.37.8-to-main-db488dde
* [`4605e03`](github/codeql-action@4605e03) Rebuild
* [`099c869`](github/codeql-action@099c869) Update changelog and version after v4.37.8
* Additional commits viewable in [compare view](github/codeql-action@ff2f1c6...cdf488f)
  
Updates `github/codeql-action/analyze` from 4.37.7 to 4.37.9
Release notes

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

> v4.37.9
> -------
>
> * Update default CodeQL bundle version to [2.26.4](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.4). [#4106](https://redirect.github.com/github/codeql-action/pull/4106)
>
> v4.37.8
> -------
>
> No user facing changes.


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.9 - 26 Aug 2026
> --------------------
>
> * Update default CodeQL bundle version to [2.26.4](https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.26.4). [#4106](https://redirect.github.com/github/codeql-action/pull/4106)
>
> 4.37.8 - 21 Aug 2026
> --------------------
>
> 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)

... (truncated)


Commits

* [`cdf488f`](github/codeql-action@cdf488f) Merge pull request [#4107](https://redirect.github.com/github/codeql-action/issues/4107) from github/update-v4.37.9-920ba7cd1
* [`7243f38`](github/codeql-action@7243f38) Update changelog for v4.37.9
* [`920ba7c`](github/codeql-action@920ba7c) Merge pull request [#4106](https://redirect.github.com/github/codeql-action/issues/4106) from github/update-bundle/codeql-bundle-v2.26.4
* [`ecfa6e1`](github/codeql-action@ecfa6e1) Add changelog note
* [`adcdf4a`](github/codeql-action@adcdf4a) Update default bundle to codeql-bundle-v2.26.4
* [`486fec2`](github/codeql-action@486fec2) Merge pull request [#4099](https://redirect.github.com/github/codeql-action/issues/4099) from github/update-supported-enterprise-server-versions
* [`134624c`](github/codeql-action@134624c) Merge pull request [#4101](https://redirect.github.com/github/codeql-action/issues/4101) from github/dependabot/npm\_and\_yarn/npm-minor-457d82...
* [`ff43db8`](github/codeql-action@ff43db8) Merge pull request [#4103](https://redirect.github.com/github/codeql-action/issues/4103) from github/mergeback/v4.37.8-to-main-db488dde
* [`4605e03`](github/codeql-action@4605e03) Rebuild
* [`099c869`](github/codeql-action@099c869) Update changelog and version after v4.37.8
* Additional commits viewable in [compare view](github/codeql-action@ff2f1c6...cdf488f)
  
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.

2 participants