karhal/AutoCoder
This action automates the process of generating code from GitHub issues using OpenAIs ChatGPT and subsequently creates a pull request with the generated code for review.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
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 | — |
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. |