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