ci: switch oc-review workflow to pull_request and enable token

This commit is contained in:
Bohdan Triapitsyn
2026-01-23 00:30:17 +02:00
parent 95e41940f8
commit 51922d7b23
+2 -1
View File
@@ -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.