-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 1.17 KB
/
opencode-feature-missing.yml
File metadata and controls
36 lines (32 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Feature Missing Review
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
review:
name: AI Code Review
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
pull-requests: write
issues: write
steps:
- uses: actions/checkout@v6
with:
clean: true
persist-credentials: true
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.head.ref || github.event.pull_request.head.sha }}
- name: Run feature missing audit
uses: Svtter/opencode-actions/feature-missing@v2
with:
model: ${{ vars.MODEL_NAME }}
timeout-seconds: 900
model-timeout-seconds: 600
github-token: ${{ secrets.GITHUB_TOKEN }}
zhipu-api-key: ${{ secrets.ZHIPU_API_KEY }}
deepseek-api-key: ${{ secrets.DEEPSEEK_API_KEY }}
opencode-go-api-key: ${{ secrets.OPENCODE_GO_API_KEY }}