the-nulldev/AutoCoder
Generates code using ChatGPT and creates a pull request with the generated code.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | GitHub token for authentication | yes | — |
| REPOSITORY | The repository to run the action on | yes | — |
| ISSUE_NUMBER | The issue number to generate code for | yes | — |
| OPENAI_API_KEY | OpenAI API key for ChatGPT | yes | — |
| SCRIPT_PATH | Path to the script that interacts with ChatGPT | yes | ./scripts/script.sh |
| LABEL | The label to trigger the action | yes | autocoder-bot |
| commit_message | The commit message to use for committing the generated code | no | feat: Add code generated by ChatGPT |
| branch_prefix | Prefix for the branch name that will be created | no | autocoder-branch- |
| base_branch | The base branch for the pull request | no | main |
| pr_title | The title for the pull request | no | Code generated by ChatGPT |
| pr_body | The body content for the pull request | no | This pull request contains changes auto-generated by ChatGPT based on issue contents. |
| pr_label | Label to assign to the pull request | no | autocoder-bot |
| pr_reviewers | Comma-separated list of reviewers to request for the pull request | no | — |
| pr_assignees | Comma-separated list of assignees for the pull request | no | — |
Outputs
no outputs