bltomlin/AutoCoder

This GitHub Action automates the end-to-end process of generating code from GitHub issues using OpenAI’s ChatGPT. It reads the content of an issue, interprets the requirements using AI, and generates the corresponding code automatically. The action then creates a dedicated branch, commits the AI-generated code, and opens a pull request for human review. This enables seamless integration of AI into your development workflow, enhancing productivity and reducing manual coding effort. It is highly configurable—supporting custom prompts, file templates, branch naming strategies, and trigger events such as issue creation or labeling. Whether you're building new features, writing tests, or scaffolding boilerplate, this action translates natural language into functional code. It’s ideal for individuals and teams looking to explore or adopt AI-powered development workflows directly within GitHub. By automating repetitive tasks and code scaffolding, this tool accelerates prototyping, encourages collaboration, and brings AI into the heart of DevOps.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
GITHUB_TOKENPersonal access token (PAT) used for GitHub API authentication. This token is required to create pull requests and handle other repository interactions.yes
REPOSITORYThe repository where the action will be executed.yes
ISSUE_NUMBERThe number of the issue that triggered the action.yes
OPENAI_API_KEYAPI key for OpenAI, enabling interactions with the ChatGPT service to generate code based on issue descriptions.yes
SCRIPT_PATHThe path to the script that interacts with ChatGPT and generates code.yes
LABELAllows users to customize the label that triggers the action.yes
namedescription
pull_request_urlThe URL of the pull request that has been automatically created, containing the auto-generated code for review and potential merging.