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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit May 12, 2025
- License
- MIT
Pinned Snippet
uses: lemonberrylabs/openai-codex-action@626640b7d96d6f2e0a81a7a8001f8517e0687e4e # v0.3.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| branch_name | The branch to base the changes on | yes | main |
| prompt | The prompt/instruction for the AI task | yes | — |
| approval_mode | Approval mode for the codex CLI (suggest, auto-edit, or full-auto) | yes | full-auto |
| github_token | GitHub token for creating pull requests | yes | — |
| model | The model to use for the codex CLI | yes | o4-mini |
| provider_api_key | API key for the AI provider, OpenAI by default | yes | — |
| provider | The AI provider to use (openai, openrouter, gemini, ollama, mistral, deepseek, xai, groq) | no | openai |
| provider_base_url | Base URL for the AI provider API endpoint. Only needed for providers other than OpenAI. | no | — |
Outputs
| name | description |
|---|---|
| changes_detected | Whether any changes were detected and committed |
| new_branch | Name of the new branch created (if changes were detected) |
| pr_url | URL of the created pull request (if changes were detected) |