Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion packages/opencode/src/cli/cmd/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,12 @@ export const GithubRunCommand = cmd({
}
// Skip permission check and reactions for repo events (no actor to check, no issue to react to)
if (isUserEvent) {
await assertPermissions()
// Skip permission check when using a custom GitHub token, since the caller
// manages their own auth and the collaborator API returns "none" for GitHub
// App bot actors (e.g. my-bot[bot]) even though they have valid installation tokens.
if (!useGithubToken) {
await assertPermissions()
}
await addReaction(commentType)
}

Expand Down
Loading