michaelangelovalente/AutoCoder
This action automates the process of generating code from Gtihub issues using taking advante of OpenAIs Chatgpt. It creates a pull request with the generated code allowing for a review before integrating it with the existing code
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| ISSUE_NUMBER | The number of the issue that will be used to trigger the action | yes | — |
| ISSUE_BODY | Body of the issue | yes | — |
| ISSUE_ASSIGNEES | Issue assignees | yes | — |
| LABEL | The label assigned to Github issue that should be processed by the AutoCoder action. Only issues with this label will trigger the code generation process. | yes | autocoder-bot |
| ISSUE_ASSIGNED_LABELS | The labels assigned to the github issue, will be compared with issue_label | yes | autocoder-bot |
| REPOSITORY | The repository where the action will be executed | yes | — |
| OPENAI_API_KEY | Api key for OpenAI, allows interactions with ChatGPT api used to generate code based on the issue description | yes | — |
| GITHUB_TOKEN | Personal Access token (PAT) used for Github API authentication. This token is required to create pull requests | yes | — |
| SCRIPT_PATH | The path to the script that interacts with ChatGPT and generates the code | no | — |
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. |
| pull_request_number | The number of the created pull request. |