ReviewRouter review PR 460 at ecec94679539e7c586276aedf9d0ceaf22544b05 #2535
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ReviewRouter Codex OAuth [namespace=sns_b475f3b7bbf6041889d8b19ec5bbb87c;epoch=2;secret=REVIEWROUTER_CODEX_AUTH_JSON_R1163183284_Pc11a7080815e939d_E2_b475f3b7bbf6041889d8b19ec5bbb87c] | |
| run-name: ${{ format('ReviewRouter review PR {0} at {1}', github.event.pull_request.number, github.event.pull_request.head.sha) }} | |
| on: | |
| pull_request_target: | |
| types: [opened, synchronize, reopened, ready_for_review, converted_to_draft] | |
| schedule: | |
| - cron: "17 */6 * * *" | |
| permissions: {} | |
| jobs: | |
| codex-review: | |
| name: codex-review | |
| if: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.user.type != 'Bot' && (github.event.pull_request.draft == false || vars.REVIEW_ROUTER_REVIEW_DRAFTS == 'true') }} | |
| concurrency: | |
| group: reviewrouter-codex-oauth-${{ github.repository_id }}-codex-rotating-1163183284 | |
| cancel-in-progress: false | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| id-token: write | |
| uses: 777genius/review-router/.github/workflows/reviewrouter-t0-reusable.yml@0c8bcbb56cbc3561b1c0ef7a64475d87bf178950 | |
| with: | |
| runtime_ref: "0c8bcbb56cbc3561b1c0ef7a64475d87bf178950" | |
| api_url: "https://api.reviewrouter.site" | |
| runtime_config_mode: oidc | |
| pr_number: ${{ format('{0}', github.event.pull_request.number) }} | |
| review_head_sha: ${{ github.event.pull_request.head.sha }} | |
| provider_instance_id: "codex-rotating:1163183284" | |
| workflow_schema_version: 4 | |
| max_changed_lines: ${{ vars.REVIEW_ROUTER_MAX_CHANGED_LINES }} | |
| review_timeout_minutes: ${{ fromJSON(vars.REVIEW_ROUTER_TIMEOUT_MINUTES || '60') }} | |
| secrets: | |
| CODEX_AUTH_JSON: ${{ secrets.REVIEWROUTER_CODEX_AUTH_JSON_R1163183284_Pc11a7080815e939d_E2_b475f3b7bbf6041889d8b19ec5bbb87c }} | |
| codex-refresh: | |
| name: codex-refresh | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 60 | |
| concurrency: | |
| group: reviewrouter-codex-oauth-${{ github.repository_id }}-codex-rotating-1163183284 | |
| cancel-in-progress: false | |
| if: ${{ github.event_name == 'schedule' }} | |
| permissions: | |
| id-token: write | |
| steps: | |
| - name: ReviewRouter Codex OAuth refresh | |
| id: refresh_codex | |
| uses: 777genius/review-router@0c8bcbb56cbc3561b1c0ef7a64475d87bf178950 | |
| with: | |
| mode: codex-oauth-refresh | |
| api-url: "https://api.reviewrouter.site" | |
| provider-instance-id: "codex-rotating:1163183284" | |
| workflow-schema-version: "4" | |
| auth-json: ${{ secrets.REVIEWROUTER_CODEX_AUTH_JSON_R1163183284_Pc11a7080815e939d_E2_b475f3b7bbf6041889d8b19ec5bbb87c }} |