# Self-review workflow for strat/review-bot on GitHub Enterprise Server. # Uses the composite action from this repo to validate that the action works # correctly on GitHub (not just Gitea). This is the end-to-end integration test: # a PR here will trigger the action, which must detect GitHub API format and # download the binary correctly. name: Review on: pull_request: types: [opened, synchronize] jobs: review: runs-on: ubuntu-24.04 if: github.event_name == 'pull_request' strategy: matrix: include: - name: sonnet token_secret: SONNET_REVIEW_TOKEN model: anthropic--claude-4.6-sonnet - name: gpt token_secret: GPT_REVIEW_TOKEN model: gpt-5 steps: - uses: actions/checkout@v4 - name: Run ${{ matrix.name }} review uses: ./.gitea/actions/review with: reviewer-token: ${{ secrets[matrix.token_secret] }} reviewer-name: ${{ matrix.name }} llm-model: ${{ matrix.model }} llm-provider: aicore aicore-client-id: ${{ secrets.AICORE_CLIENT_ID }} aicore-client-secret: ${{ secrets.AICORE_CLIENT_SECRET }} aicore-auth-url: ${{ secrets.AICORE_AUTH_URL }} aicore-api-url: ${{ secrets.AICORE_API_URL }} aicore-resource-group: ${{ secrets.AICORE_RESOURCE_GROUP }} conventions-file: CONVENTIONS.md patterns-repo: rodin/go-patterns patterns-files: 'README.md,patterns/' timeout: '600'