morgunove/AutoCoder
This action automates the process of generating code from GitHub issues using OpenAI's ChatGPT and subsequently creates a pull request with the generated code for review.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Feb 14, 2025
- License
- None
Pinned Snippet
uses: morgunove/autocoder@67f949f41f77d67b256dd825231d58933333c68e # v1.0.9tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | Personal access token (PAT) used for GitHub API authentication. This token is required to create pull requests and handle other repository interactions. | yes | — |
| REPOSITORY | The repository where the action will be executed. | yes | — |
| ISSUE_NUMBER | The number of the issue that triggered the action. | yes | — |
| OPENAI_API_KEY | API key for OpenAI, enabling interactions with the ChatGPT service to generate code based on issue descriptions. | yes | — |
| SCRIPT_PATH | The path to the script that interacts with ChatGPT and generates code. | yes | — |
| LABEL | Allows users to customize the label that triggers the action. | yes | autocoder-bot |
Outputs
| name | description |
|---|---|
| pull_request_url | The URL of the pull request that has been automatically created, containing the auto-generated code for review and potential merging. |