Skip to content

review: use the job token instead of the Claude app - #46

Closed
rubas-agent[bot] wants to merge 1 commit into
mainfrom
shared-review
Closed

rubas-agent[bot] wants to merge 1 commit into
mainfrom
shared-review

Conversation

@rubas-agent

@rubas-agent rubas-agent Bot commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

The Claude Review check fails on every PR since 2026-09-28:

App token exchange failed: 401 Unauthorized - Claude Code is not installed on this repository.

This repo is public, so it cannot call the private rubas/ci review workflow and keeps its own copy. That copy lets claude-code-action swap an OIDC token for a Claude GitHub App token. The Claude app is no longer installed on this repo, so the swap fails. On 2026-09-26 the same step still worked.

The shared workflow in rubas/ci does not use the app. It passes the job token as github_token and lists rubas-agent in allowed_bots, because the action refuses a bot actor otherwise. This PR makes the same change in all three attempt steps, and fixes the two comments that still named the app token.

The PR runs its own new workflow, so its Claude Review check is the test.

…token

The Claude GitHub App is no longer installed on this repo, so the action's
OIDC exchange for an app token failed with 401 and the review check went red.
rubas/ci code-review.yml passes github.token and allows the rubas-agent bot;
this copy now does the same.
@rubas-agent

rubas-agent Bot commented Sep 28, 2026

Copy link
Copy Markdown
Contributor Author

Replaced by #48 with the same change. Branch protection on main requires signed commits, and this commit is unsigned. #48 has a commit that GitHub signed.

@rubas-agent rubas-agent Bot closed this Sep 28, 2026
@rubas-agent
rubas-agent Bot deleted the shared-review branch September 28, 2026 19:38
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