# Codex Code Review — Comment Posting Workflow
#
# Thin wrapper around .github/workflows/ai-review-comment.yml so the provider
# specific workflow name stays stable while the shared implementation lives in
# one reusable workflow.

name: Post Codex Review Comment

on:
  workflow_run:
    workflows: ["Codex Code Review"]
    types: [completed]

permissions:
  pull-requests: write
  issues: write

jobs:
  review-comment:
    uses: ./.github/workflows/ai-review-comment.yml
    with:
      provider: codex
      result_artifact_name: codex-review-result
      comment_file: codex-review-comment.md
    secrets: inherit
