Skip to content

fix: handle 404 in checkHumanActor for bot/app actors#1213

Open
saarakelyan wants to merge 1 commit intoanthropics:mainfrom
gor-st:fix/handle-bot-actor-404
Open

fix: handle 404 in checkHumanActor for bot/app actors#1213
saarakelyan wants to merge 1 commit intoanthropics:mainfrom
gor-st:fix/handle-bot-actor-404

Conversation

@saarakelyan
Copy link
Copy Markdown

@saarakelyan saarakelyan commented Apr 14, 2026

Bot actors like github-merge-queue[bot] can't be looked up via GET /users/{login} — the API returns 404. Previously this crashed the action before it could check the allowed_bots list.

Now catches 404 and treats the actor as a Bot, allowing the existing allowedBots logic to decide whether to proceed.

Bot actors like github-merge-queue[bot] can't be looked up via
GET /users/{login} — the API returns 404. Previously this crashed
the action before it could check the allowed_bots list.

Now catches 404 and treats the actor as a Bot, allowing the
existing allowedBots logic to decide whether to proceed.

Made-with: Cursor
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.

1 participant