From 51922d7b236fa6292da57c6255ad7c494b9ca0d3 Mon Sep 17 00:00:00 2001 From: Bohdan Triapitsyn Date: Fri, 23 Jan 2026 00:30:09 +0200 Subject: [PATCH] ci: switch oc-review workflow to pull_request and enable token --- .github/workflows/oc-review.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/oc-review.yml b/.github/workflows/oc-review.yml index c74aa1f4..34ccb211 100644 --- a/.github/workflows/oc-review.yml +++ b/.github/workflows/oc-review.yml @@ -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.