← Registry
Agent Official

Codex GitHub Action

GitHub Action that runs Codex inside CI/CD workflows to review PRs or apply patches, with configurable sandbox privileges.

Install

via Positronick CLI

$positronick agent install codex-github-action --run

Official

$uses: openai/codex-action@v1

An official action that installs the Codex CLI in a GitHub Actions job and runs it via codex exec with a prompt you supply (inline or from a file), exposing the result as a final-message output. A common pattern is reviewing only the changes in a pull request and posting the review back as a comment. Sandbox modes (workspace-write, read-only, danger-full-access) and safety strategies like drop-sudo control how much access the runner grants; requires an API key secret.