From eacbd1e6f89e65ed9c322e13ee19d784a91d31ff Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Mon, 23 Feb 2026 12:22:34 -0800 Subject: [PATCH] enable codex review --- .github/workflows/pr-review.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/pr-review.yml diff --git a/.github/workflows/pr-review.yml b/.github/workflows/pr-review.yml new file mode 100644 index 00000000..3a765681 --- /dev/null +++ b/.github/workflows/pr-review.yml @@ -0,0 +1,26 @@ +name: Automated Review + +on: + pull_request: + types: [opened, synchronize, reopened, edited, ready_for_review] + +concurrency: + group: codex-review-${{ github.event.pull_request.number }} + cancel-in-progress: true + +permissions: + pull-requests: write + issues: write + checks: write + contents: read + actions: read + +jobs: + review: + runs-on: ubuntu-latest + steps: + - uses: replit/codex-review/actions/review@main + with: + openai_api_key: ${{ secrets.OPENAI_API_KEY }} + github_token: ${{ secrets.GITHUB_TOKEN }} + allow_search: 'true'