Skip to content

ci(review): add OpenCode pull request workflow#3

Merged
whhe merged 1 commit into
mainfrom
feature/opencode-github-review
Jul 16, 2026
Merged

ci(review): add OpenCode pull request workflow#3
whhe merged 1 commit into
mainfrom
feature/opencode-github-review

Conversation

@whhe

@whhe whhe commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Summary

Add a GitHub Actions workflow that reviews eligible pull requests with the whhe/code-review-bot:opencode image.

Changes

  • Run reviews for non-draft, same-repository pull requests targeting main.
  • Use minimal GitHub permissions, per-PR concurrency, and required OpenCode configuration validation.
  • Automatically approve clean reviews and enable debug-level logging.
  • Allow Dependabot reviews to use dedicated Dependabot secrets and an optional write-capable GitHub token.
  • Document GitHub Actions, approval permissions, and Dependabot credential setup.

Motivation

Provide a reusable GitHub CI workflow for validating the OpenCode image before changing the default coding agent or image tag.

ci:
- Run OpenCode reviews for same-repository pull requests targeting main
- Enable clean-review approval and debug logging
- Allow Dependabot reviews to use an optional write-capable token

docs:
- Document GitHub Actions, approval, and Dependabot credential setup
@whhe
whhe marked this pull request as ready for review July 16, 2026 11:54
@github-actions

Copy link
Copy Markdown

Code Review

Well-implemented GitHub Actions workflow for OpenCode reviews with appropriate security controls. Minor documentation-only finding.

Severity: Critical 0 / High 0 / Medium 0 / Low 0
Inline comments posted: 0

Skill: code-review v43b5df0c

@whhe
whhe merged commit c2ff2fa into main Jul 16, 2026
2 checks passed
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