ci: switch oc-review workflow to pull_request and enable token
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: oc review
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
|
||||
jobs:
|
||||
@@ -27,6 +27,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
model: opencode/gpt-5.2-codex
|
||||
use_github_token: true
|
||||
prompt: |
|
||||
Review this pull request.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user