From: Vsevolod Stakhov Date: Sat, 8 Nov 2025 13:50:54 +0000 (+0000) Subject: [Minor] Use GPT-5 Codex for code reviews X-Git-Tag: 3.14.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30d166d8b915ddf42da327549e1d6a626afde450;p=thirdparty%2Frspamd.git [Minor] Use GPT-5 Codex for code reviews Switch from Claude Sonnet to GPT-5 Codex model for code reviews to provide different perspective from the model used for development. --- diff --git a/.github/workflows/droid-code-review.yml b/.github/workflows/droid-code-review.yml index 93d7833d74..3de95857f1 100644 --- a/.github/workflows/droid-code-review.yml +++ b/.github/workflows/droid-code-review.yml @@ -28,6 +28,16 @@ jobs: ) steps: + - name: Acknowledge review start with reaction + run: | + gh api \ + --method POST \ + -H "Accept: application/vnd.github+json" \ + /repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions \ + -f content='eyes' + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Checkout repository uses: actions/checkout@v4 with: @@ -170,7 +180,18 @@ jobs: # Run droid exec with the prompt echo "Running code review analysis and submitting results..." - droid exec --auto high --model claude-sonnet-4-5-20250929 -f prompt.txt + droid exec --model gpt-5-codex -f prompt.txt + + - name: Mark review as complete + if: ${{ success() }} + run: | + gh api \ + --method POST \ + -H "Accept: application/vnd.github+json" \ + /repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions \ + -f content='+1' + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload debug artifacts on failure if: ${{ failure() }}