Disambiguation (buyer-critical): this is codex-action, a GitHub Action, not the standalone codex terminal CLI agent. The Action installs and runs Codex CLI inside GitHub Actions, starts an authentication proxy to the OpenAI Responses API, and exposes workflow inputs for prompts, model, effort, version and a custom Responses endpoint such as Azure OpenAI. Security is layered: permission-profile selects the Codex filesystem/network policy (:workspace, :read-only, or a named profile), while safety-strategy controls runner-process privileges through drop-sudo, unprivileged-user, read-only, or unsafe. These controls do not compose in every combination: permission profiles conflict with the legacy sandbox input, and safety-strategy: read-only cannot be combined with a permission profile. The official security guide also warns buyers to restrict who can trigger workflows, treat PR/issue/commit/instruction content as untrusted prompt-injection input, minimize repository permissions, protect API secrets, and prefer running the Action as the last step in a job. Telemetry note: the Action repository does not document a separate Action analytics layer, but it installs Codex CLI and invokes codex exec; current Codex source starts that command with analytics enabled by default, builds its telemetry provider, records a process-start event, and installs SQLite telemetry. The codex-version input is empty by default, so teams that need reproducible telemetry behavior should pin a reviewed CLI version and review their Codex analytics/OTel configuration. The Action itself is free and Apache-2.0, but it requires the user's OpenAI or Azure-equivalent API key, so the real operating cost is provider API usage rather than a separate Action platform fee.

OpenAI Codex GitHub Action
OpenAI's official GitHub Action that runs Codex in CI
- Pricing Model
- open-source
- License
- Open Source
- Telemetry
- Concerns reported
- Last Verified
- Aug 26, 2026
- Supported Platforms
- Distributed as a GitHub Action for GitHub-hosted or self-hosted runners; installs Codex CLI and a Responses API proxy. Filesystem/network policy uses `permission-profile`, while process privilege uses `safety-strategy` (`drop-sudo`, `unprivileged-user`, `read-only`, `unsafe`; Windows supports only `unsafe`). Supports custom/Azure Responses endpoints plus model, effort and CLI-version inputs. Current Codex exec analytics and SQLite telemetry require policy review.
- Primary Categories
- CI/CD Tools
- Tags
- CI/CD, Codex, Open Source
OpenAI's official GitHub Action for running Codex CLI in GitHub Actions workflows with filesystem/network permission profiles and runner-level privilege controls. This is the CI/CD Action, not the terminal Codex agent; current Codex exec enables analytics by default, so telemetry policy needs review.
Pricing & Platform Specs
Pricing Summary
Free and open-source under the Apache-2.0 license with no software license fees. Usage incurs standard GitHub Actions runner minutes and OpenAI API token costs.
full pricing breakdown →Supported Platforms
Distributed as a GitHub Action for GitHub-hosted or self-hosted runners; installs Codex CLI and a Responses API proxy. Filesystem/network policy uses `permission-profile`, while process privilege uses `safety-strategy` (`drop-sudo`, `unprivileged-user`, `read-only`, `unsafe`; Windows supports only `unsafe`). Supports custom/Azure Responses endpoints plus model, effort and CLI-version inputs. Current Codex exec analytics and SQLite telemetry require policy review.
Categories
Alternatives
Anthropic's official GitHub Action that runs Claude Code in CI
Anthropic's official GitHub Action that brings Claude Code into GitHub PRs and issues — answering questions, reviewing code, and implementing changes when triggered by @claude mentions or workflow automation. This is the CI/CD Action, not the terminal agent.
Google's official CLI agent for coding with Gemini
Gemini CLI is Google's open-source terminal agent for coding with Gemini models, shell/file tools, web fetching, Google Search grounding, and MCP extensions. As of 18 June 2026, unpaid tier and Google One users are being moved to Antigravity CLI; supported Standard, Enterprise, and Google Cloud access paths remain the safer fit for teams.
AI-powered code review
AI-powered code review tool that automatically analyzes pull requests and provides line-by-line feedback on code quality, bugs, security vulnerabilities, and best practices. Integrates with GitHub and GitLab as a bot that comments on PRs. Uses LLMs to understand code context and suggest improvements. Learns from your codebase patterns and team preferences. Supports all major programming languages. Reduces review cycle time while catching issues human reviewers might miss.
Sources & verification
- Sources checked
- Content verified
Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.
FAQ
What is OpenAI Codex GitHub Action?
OpenAI's official GitHub Action for running Codex CLI in GitHub Actions workflows with filesystem/network permission profiles and runner-level privilege controls. This is the CI/CD Action, not the terminal Codex agent; current Codex exec enables analytics by default, so telemetry policy needs review.
Is OpenAI Codex GitHub Action free?
Yes — OpenAI Codex GitHub Action is open source and free to use. Free and open-source under the Apache-2.0 license with no software license fees. Usage incurs standard GitHub Actions runner minutes and OpenAI API token costs.
Is OpenAI Codex GitHub Action open source?
Yes — OpenAI Codex GitHub Action is open source.
Is OpenAI Codex GitHub Action still maintained?
Yes — OpenAI Codex GitHub Action is active. Its listing was last verified on August 26, 2026.
What are the best OpenAI Codex GitHub Action alternatives?
The first editor-selected OpenAI Codex GitHub Action alternatives are Claude Code GitHub Action, Gemini CLI, CodeRabbit.