Skip to content

ci: use pull_request_target for claude review on fork PRs#10

Merged
ascorbic merged 1 commit into
mainfrom
ci/claude-review-fork-prs
Feb 16, 2026
Merged

ci: use pull_request_target for claude review on fork PRs#10
ascorbic merged 1 commit into
mainfrom
ci/claude-review-fork-prs

Conversation

@ascorbic

Copy link
Copy Markdown
Owner

Summary

  • Switch claude-code-review workflow from pull_request to pull_request_target so it has access to OIDC tokens and secrets when reviewing fork PRs
  • Pin checkout to github.event.pull_request.head.sha so the PR code (not base branch) is reviewed

Without this, the OIDC auth fails on fork PRs because GitHub doesn't expose ACTIONS_ID_TOKEN_REQUEST_URL to pull_request workflows from forks.

@ascorbic ascorbic merged commit 1711005 into main Feb 16, 2026
2 checks passed
@ascorbic ascorbic deleted the ci/claude-review-fork-prs branch February 16, 2026 11:48
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