1. Documentation
  2. Providers
  3. OpenAI Codex
ReadmeMarketplaceGitHub
  • Introduction
  • Quickstart
  • Supported providers
  • API-key providers
  • GitHub Copilot
  • OpenAI Codex
  • Amazon Bedrock
  • Action inputs
  • Reporting and severity
  • Audit lifecycle
  • Incremental audits
  • Safety boundaries
  • Troubleshooting

OpenAI Codex

Use an externally supplied OpenAI Codex access token.

Loading documentation…

GitHub Copilot< PreviousAmazon BedrockNext >

Powered by heyo

On this page

Keep the tokens separate

OpenAI Codex uses Pi's openai-codex provider with auth-type: oauth. Supply a Codex access token as an Actions secret. Heyo does not start an interactive OAuth flow and cannot refresh the credential during a run.

yaml
with:  provider: openai-codex  model: gpt-5.4  auth-type: oauth  auth-token: ${{ secrets.OPENAI_CODEX_TOKEN }}  github-token: ${{ github.token }}

Use a model identifier available through your Codex account. Pi's OpenAI Codex documentation describes the subscription requirement.

Keep the tokens separate

auth-token authenticates model inference. github-token authenticates GitHub API reads and report publication. Do not substitute one for the other.