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.