lemonberrylabs/OpenAI Codex Code Generator

A GitHub Action that uses OpenAI Codex to generate code changes and create pull requests based on natural language prompts

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit May 12, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: lemonberrylabs/openai-codex-action@626640b7d96d6f2e0a81a7a8001f8517e0687e4e # v0.3.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
branch_nameThe branch to base the changes onyesmain
promptThe prompt/instruction for the AI taskyes
approval_modeApproval mode for the codex CLI (suggest, auto-edit, or full-auto)yesfull-auto
github_tokenGitHub token for creating pull requestsyes
modelThe model to use for the codex CLIyeso4-mini
provider_api_keyAPI key for the AI provider, OpenAI by defaultyes
providerThe AI provider to use (openai, openrouter, gemini, ollama, mistral, deepseek, xai, groq)noopenai
provider_base_urlBase URL for the AI provider API endpoint. Only needed for providers other than OpenAI.no
namedescription
changes_detectedWhether any changes were detected and committed
new_branchName of the new branch created (if changes were detected)
pr_urlURL of the created pull request (if changes were detected)