Skip to content

Conversation

@wjones127
Copy link
Contributor

The pull_request event runs in the fork's context, which doesn't have
access to repository secrets. Switch to pull_request_target so the
workflow runs in the base repo context and can access CLAUDE_CODE_OAUTH_TOKEN.

This enables the Claude Code Review workflow to work on PRs from forks.

🤖 Generated with Claude Code

The pull_request event runs in the fork's context, which doesn't have
access to repository secrets. Switch to pull_request_target so the
workflow runs in the base repo context and can access CLAUDE_CODE_OAUTH_TOKEN.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions github-actions bot added the bug Something isn't working label Dec 18, 2025
@wjones127 wjones127 marked this pull request as ready for review December 18, 2025 20:36
@wjones127 wjones127 merged commit a018e0d into lance-format:main Dec 18, 2025
4 checks passed
wjones127 added a commit to wjones127/lance that referenced this pull request Dec 30, 2025
The `pull_request` event runs in the fork's context, which doesn't have
access to repository secrets. Switch to `pull_request_target` so the
workflow runs in the base repo context and can access
`CLAUDE_CODE_OAUTH_TOKEN`.

This enables the Claude Code Review workflow to work on PRs from forks.

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

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants