Skip to content

ReviewRouter review PR 461 at 449461298348a734d898dc528add4aed223b24ac #2537

ReviewRouter review PR 461 at 449461298348a734d898dc528add4aed223b24ac

ReviewRouter review PR 461 at 449461298348a734d898dc528add4aed223b24ac #2537

name: ReviewRouter Codex OAuth [namespace=sns_00267308f3105698b128af17ba760cb9;epoch=3;secret=REVIEWROUTER_CODEX_AUTH_JSON_R1163183284_Pc11a7080815e939d_E3_00267308f3105698b128af17ba760cb9]
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_E3_00267308f3105698b128af17ba760cb9 }}
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_E3_00267308f3105698b128af17ba760cb9 }}