Feature Request
When the GitHub agent (opencode-agent[bot]) automatically reviews a pull request via the opencode-review workflow, it would be useful for it to also assign itself as a reviewer on the PR.
Current Behavior
The agent comments on the PR with review feedback (or "lgtm"), but it does not appear in the Reviewers sidebar. There is no indication in the PR metadata that the bot has reviewed the code.
Expected Behavior
After completing the review, opencode-agent[bot] should request itself as a reviewer on the PR using the GitHub API, similar to how other GitHub Apps (e.g., cubic-dev-ai) auto-assign themselves as reviewers.
This would:
- Make it visible in the PR sidebar that the bot has reviewed the code
- Allow using branch protection rules that require specific reviewers
- Improve the developer experience by clearly showing the review status at a glance
Additional Context
The GitHub API endpoint POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers supports GitHub Apps when using the app's own authentication token. This would need to be implemented in the anomalyco/opencode/github action itself.
Feature Request
When the GitHub agent (
opencode-agent[bot]) automatically reviews a pull request via theopencode-reviewworkflow, it would be useful for it to also assign itself as a reviewer on the PR.Current Behavior
The agent comments on the PR with review feedback (or "lgtm"), but it does not appear in the Reviewers sidebar. There is no indication in the PR metadata that the bot has reviewed the code.
Expected Behavior
After completing the review,
opencode-agent[bot]should request itself as a reviewer on the PR using the GitHub API, similar to how other GitHub Apps (e.g., cubic-dev-ai) auto-assign themselves as reviewers.This would:
Additional Context
The GitHub API endpoint
POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewerssupports GitHub Apps when using the app's own authentication token. This would need to be implemented in theanomalyco/opencode/githubaction itself.