AgentFlows
CodexLabelNot executed· 1 caveat

Codex implements an issue on label

issues: labeled == codex

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

Estimated cost per run

~$0.09 runner + OpenAI tokens (UNVERIFIED)

Estimated, not measured.

Basis. 15 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

  • Repo setting 'Allow GitHub Actions to create PRs' must be on. Issue title interpolated into a shell-free prompt input only. Untested end to end.

Labels

  • codex

Workflow YAML

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

workflow.yml

name: Codex implementon:  issues:    types: [labeled]jobs:  implement:    if: github.event.label.name == 'codex'    runs-on: ubuntu-latest    permissions:      contents: write      pull-requests: write    steps:      - uses: actions/checkout@v5      - uses: openai/codex-action@v1        with:          openai-api-key: ${{ secrets.OPENAI_API_KEY }}          permission-profile: ":workspace"          prompt: |            Implement GitHub issue #${{ github.event.issue.number }}: ${{ github.event.issue.title }}            Make the minimal change and run the tests.      - name: Open PR        env:          GH_TOKEN: ${{ github.token }}        run: |          git switch -c codex/issue-${{ github.event.issue.number }}          git add -A && git -c user.name=codex -c user.email=codex@users.noreply.github.com commit -m "Fix #${{ github.event.issue.number }}" || exit 0          git push origin HEAD          gh pr create --fill --label in-review

More workflows

  • Codex12

    Codex PR review posted as a comment

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

    pull_request: opened

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

    Not executed· 2 caveats

    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