Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
git-pull-request

GitHub Action

Automatic Pull Request

v0.1.1 Pre-release

Automatic Pull Request

git-pull-request

Automatic Pull Request

Bring your codebase alive

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Automatic Pull Request

uses: irgolic/[email protected]

Learn more about this action in irgolic/AutoPR

Choose a version

πŸ€–πŸ‘¨β€πŸ’» AutoPR Github Action

Discord

AutoPR automatically writes pull requests in response to issues using GPT-4.
To get started, see AutoPR-template.
Built with Guardrails.

πŸ’ͺ How does it work?

The action triggers when a new issue is created or edited by a repository collaborator.

  1. We ask the model what files in the repo are relevant to the issue
  2. We iteratively show it files, and ask it to write down notes about them
  3. We ask it to write a pull request title, body, and outline a list of commits (also specifying relevant files)
  4. For each commit, we ask it to generate a diff given the relevant files

πŸ“ Roadmap

  • 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

πŸ”¨ Usage

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.