Skip to content

Commit 49b1bc2

Browse files
2 parents 878b445 + 8cc258c commit 49b1bc2

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: opencode-review
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
6+
7+
jobs:
8+
review:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
id-token: write
12+
contents: read
13+
pull-requests: write
14+
issues: read
15+
steps:
16+
- uses: actions/checkout@v6
17+
with:
18+
persist-credentials: false
19+
- uses: anomalyco/opencode/github@latest
20+
env:
21+
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
with:
24+
model: opencode/big-pickle
25+
use_github_token: true
26+
prompt: |
27+
Review this pull request carefully:
28+
- Scan for potential security vulnerabilities and anti-patterns.
29+
- Check for code quality and performance issues.
30+
- Look for potential bugs or edge cases.
31+
- Suggest specific improvements.

0 commit comments

Comments
 (0)