You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Automatic Pull Request
v0.1.1
Pre-release
AutoPR automatically writes pull requests in response to issues using GPT-4.
To get started, see AutoPR-template.
Built with Guardrails.
The action triggers when a new issue is created or edited by a repository collaborator.
- We ask the model what files in the repo are relevant to the issue
- We iteratively show it files, and ask it to write down notes about them
- We ask it to write a pull request title, body, and outline a list of commits (also specifying relevant files)
- For each commit, we ask it to generate a diff given the relevant files
- On new/edited issue, generate code, push a branch, and open a pull request
- Generate multiple commits
- Update pull request on issue/pull request comment
- Update pull request based on code review comments
- Explore alternative code generation models
- Running CI and taking corrective action on failure
Warning: This Github Action is currently in development, and in alpha release. If you're interested in using this action, please reach out on Discord.
See AutoPR-template for a guide and example of how to use this action.