Skip to content

fix: handle non-user actors (e.g. Copilot) in permission and actor checks#1144

Merged
ashwin-ant merged 1 commit into
anthropics:mainfrom
krislavten:fix/handle-non-user-actor-permission-check
May 14, 2026
Merged

fix: handle non-user actors (e.g. Copilot) in permission and actor checks#1144
ashwin-ant merged 1 commit into
anthropics:mainfrom
krislavten:fix/handle-non-user-actor-permission-check

Conversation

@krislavten
Copy link
Copy Markdown
Contributor

Summary

GitHub Apps like Copilot SWE Agent set GITHUB_ACTOR to a value (e.g. "Copilot") that is neither a valid GitHub user nor ends with [bot]. This causes two independent crashes in the action:

  1. checkWritePermissions (permissions.ts): calls the collaborator permission API → 404 "Copilot is not a user"
  2. checkHumanActor (actor.ts): calls octokit.users.getByUsername() → 404 before reaching the allowed_bots check

Root Cause

Both functions assume the actor is either a real GitHub user or a [bot]-suffixed app. Some GitHub Apps (Copilot, and potentially future ones) use a plain name as GITHUB_ACTOR that doesn't match either pattern.

Fix

permissions.ts:

  • Check allowed_bots before calling the collaborator API, so known bots skip the API entirely
  • Catch "is not a user" 404 errors and fall back to allowed_bots check instead of crashing

actor.ts:

  • Move allowed_bots check before the octokit.users.getByUsername() call
  • Catch 404 errors and provide a clear error message telling the user to add the bot to allowed_bots

Tests

Added 11 new test cases covering:

  • Non-[bot] actor in allowed_bots list (both pre-API and 404 fallback paths)
  • Wildcard * for non-[bot] actors
  • Non-[bot] actor NOT in allowed_bots (returns false / clear error message)
  • Case-insensitive matching
  • Non-404 errors still propagate correctly

All 664 existing tests continue to pass.

Closes

Related

🤖 Generated with Claude Code

…ecks

GitHub Apps like Copilot SWE Agent set GITHUB_ACTOR to a value (e.g.
"Copilot") that is neither a valid GitHub user nor ends with "[bot]".
This caused two independent crashes:

1. checkWritePermissions (permissions.ts): called the collaborator
   permission API which returns 404 "is not a user" for non-user actors.
2. checkHumanActor (actor.ts): called the Users API first, which 404s,
   before ever reaching the allowed_bots check.

Fix both by:
- Checking allowed_bots BEFORE making API calls, so known bots skip the
  API entirely.
- In permissions.ts, catching "is not a user" 404 errors and falling
  back to the allowed_bots list instead of crashing.
- In actor.ts, catching 404 errors and providing a clear error message
  telling the user to add the bot to allowed_bots.

Closes anthropics#900, anthropics#903, anthropics#1018, anthropics#1133

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@fallemand
Copy link
Copy Markdown

We are facing this issue. Thanks!

@ashwin-ant
Copy link
Copy Markdown
Collaborator

@krislavten mind running bun run format and pushing again?

maxbec added a commit to navigaite/.github that referenced this pull request Apr 18, 2026
## Summary

Copilot PR reviews have been silently failing claude-code-action@v1 —
its `checkHumanActor` step calls
`octokit.users.getByUsername('Copilot')`, which 404s because `Copilot`
is a virtual actor with no user record. No action input bypasses that
lookup (upstream PRs
[#1018](anthropics/claude-code-action#1018),
[#1030](anthropics/claude-code-action#1030),
[#1144](anthropics/claude-code-action#1144) are
all still open).

Observed on [navigaite/edilio#94 run
24551381827](https://github.com/navigaite/edilio/actions/runs/24551381827/job/71777721521):

```
Checking permissions for actor: Copilot
GET /users/Copilot - 404
Action failed with error: Not Found
```

## Fix

Proxy Copilot reviews into an `issue_comment` event that Claude's
existing pipeline can handle:

- **New `repost-copilot-review` job** in the reusable
`claude-code.yaml`. Fires only when `pull_request_review.user.type ==
'Bot'` and login contains `copilot`. Mints the Navigaite workflow App
token, fetches the review's inline comments via `GET
/pulls/:n/reviews/:id/comments`, and posts a single stitched `@claude …`
comment on the PR.
- **Skip the `claude` job on Copilot reviews** — it would hit the 404.
The spawned `issue_comment` re-enters the job with `github.actor ==
'navigaite-workflow-app[bot]'`, a real bot user that resolves, so
`checkHumanActor`'s `allowed_bots: *` branch takes over.
- **Relax the `issue_comment` author-association gate** (both the
reusable workflow step and the caller template's `if:`) to admit
comments from `navigaite-workflow-app[bot]`. Reposted comments have
`author_association: NONE` by construction — trust is anchored in the
fact that only our installed app can mint its own token.

## Test plan

- [ ] Merge, re-request Copilot review on an open PR in a consumer repo,
confirm: (1) `repost-copilot-review` job succeeds, (2) an `@claude …`
comment appears on the PR, (3) a follow-up `issue_comment` run of the
`claude` job runs to completion without the `users/Copilot` 404.
- [ ] Confirm human `@claude` comments still trigger Claude normally
(unchanged path).
- [ ] Confirm unrelated bot comments (Dependabot, github-actions) are
still filtered out by the association gate.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
@crocodele
Copy link
Copy Markdown

Would be lovely to get these fixes merged. 🙏

@ashwin-ant ashwin-ant merged commit 9eb125a into anthropics:main May 14, 2026
5 of 37 checks passed
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)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=anthropics/claude-code-action&package-manager=github\_actions&previous-version=1.0.119&new-version=1.0.123)](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
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.

4 participants