From 278775692b0c25d799cc5c29e2ed7c6e9735373d Mon Sep 17 00:00:00 2001 From: wallstop Date: Tue, 17 Nov 2026 15:09:39 -0800 Subject: [PATCH] ci: enable shared advisory code review Call review-tools v1.1.0 for human pull requests from this repository. Keep the review advisory and preserve required build and security checks. Actionlint passed. Required hosted checks must pass before merge. Broad local validation results and host limitations are retained in the migration audit. --- .github/workflows/openai-review.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/openai-review.yml diff --git a/.github/workflows/openai-review.yml b/.github/workflows/openai-review.yml new file mode 100644 index 00000000..eb511c4e --- /dev/null +++ b/.github/workflows/openai-review.yml @@ -0,0 +1,29 @@ +name: OpenAI Review + +on: + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + +concurrency: + group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + review: + if: >- + ${{ !github.event.pull_request.draft && + github.event.pull_request.head.repo.full_name == github.repository && + github.event.pull_request.user.type != 'Bot' }} + uses: Ambiguous-Interactive/review-tools/.github/workflows/openai-review.yml@d8aab4dc3655924360ff17ebb04bbc3a844a493f # v1.1.0 + with: + model: ${{ vars.OPENAI_REVIEW_MODEL }} + effort: ${{ vars.OPENAI_REVIEW_EFFORT }} + timeout-minutes: 15 + secrets: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + permissions: + contents: read + pull-requests: write