AgentFlows
CodexPull requestNot executed· 2 caveats

Codex PR review posted as a comment

pull_request: opened

Two-job split keeps the API key job read-only (README example pattern). `:read-only` profile per README Permission profiles.

Estimated cost per run

~$0.03 runner + OpenAI tokens (UNVERIFIED)

Estimated, not measured.

Basis. 5 runner min x $0.006/min GitHub-hosted Linux 2-core (docs.github.com/en/billing/reference/actions-runner-pricing). OpenAI model pricing not checked for this entry — UNVERIFIED.

Verification

Last checked Oct 16, 2026.

inputs checked against source docs; workflow not executed.

Open caveats

  • README's own example pre-fetches base/head refs in an extra step — omitted here for brevity.
  • actions/github-script@v7 version not checked against README.

Workflow YAML

Copy the file as-is. Highlighting is only for reading.

workflow.yml

name: Codex PR reviewon:  pull_request:    types: [opened]jobs:  codex:    runs-on: ubuntu-latest    permissions:      contents: read    outputs:      final_message: ${{ steps.run_codex.outputs.final-message }}    steps:      - uses: actions/checkout@v5        with:          ref: refs/pull/${{ github.event.pull_request.number }}/merge          persist-credentials: false      - name: Run Codex        id: run_codex        uses: openai/codex-action@v1        with:          openai-api-key: ${{ secrets.OPENAI_API_KEY }}          permission-profile: ":read-only"          prompt: |            Review PR #${{ github.event.pull_request.number }} in ${{ github.repository }}.            Focus on correctness and security. Be concise.  post_feedback:    runs-on: ubuntu-latest    needs: codex    if: needs.codex.outputs.final_message != ''    permissions:      pull-requests: write    steps:      - uses: actions/github-script@v7        env:          CODEX_FINAL_MESSAGE: ${{ needs.codex.outputs.final_message }}        with:          script: |            await github.rest.issues.createComment({              owner: context.repo.owner, repo: context.repo.repo,              issue_number: context.payload.pull_request.number,              body: process.env.CODEX_FINAL_MESSAGE,            });

More workflows

  • Codex13

    Codex implements an issue on label

    `:workspace` profile lets Codex edit the checkout (README). PR creation is plain git/gh, not an action input.

    issues: labeled == codex

    Estimated cost~$0.09 runner + OpenAI tokens (UNVERIFIED)

    Not executed· 1 caveat

    Checked Oct 16, 2026

  • Codex14

    Codex triage with JSON output schema

    `output-schema` is forwarded to `codex exec --output-schema` (README inputs table).

    issues: opened

    Estimated cost~$0.01 runner + OpenAI tokens (UNVERIFIED)

    Not executed· 2 caveats

    Checked Oct 16, 2026

  • Claude01

    Claude auto PR review

    Copied from the official Solutions Guide basic example (prompt shortened).

    pull_request: opened, synchronize

    Estimated cost~$0.18

    Not executed

    Checked Oct 16, 2026