Skip to content

refactor: Remove all remaining unit parallel arrays #147

refactor: Remove all remaining unit parallel arrays

refactor: Remove all remaining unit parallel arrays #147

name: opencode_review
on:
issue_comment:
types: [created]
jobs:
opencode:
if: |
startsWith(github.event.comment.body, '/review')
&& contains(fromJson('["OWNER","MEMBER"]'), github.event.comment.author_association)
runs-on: ubuntu-latest
permissions:
id-token: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
persist-credentials: false
- name: Run OpenCode
uses: anomalyco/opencode/[email protected]
env:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
with:
model: opencode/deepseek-v4-flash-free
variant: max
agent: pr_review
share: false
prompt: |
Review this pull request:
- Check for code quality issues
- Look for potential bugs and regressions
- Suggest improvements
Respond terse. All technical substance stays. Only fluff dies.