GithubHelp home page GithubHelp logo

boemekeld / autopr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from irgolic/autopr

0.0 0.0 0.0 271 KB

Fix issues with AI-generated pull requests, powered by ChatGPT

Home Page: https://discord.gg/ykk7Znt3K6

License: MIT License

Shell 0.24% Python 98.74% Dockerfile 1.02%

autopr's Introduction

๐Ÿค–๐Ÿ‘จโ€๐Ÿ’ป AutoPR Github Action ๐Ÿš€

Discord

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

๐Ÿ’ช How does it work?

The action triggers when a collaborator adds an "AutoPR" label to an issue.

  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
  • Regenerate triggered from issue comment
  • Update from pull request comment
  • Update from 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.

๐Ÿ“ Contributing

Got an idea on how to improve AutoPR? Please see CONTRIBUTING.md for more information.

autopr's People

Contributors

garrettapproachablegeek avatar irgolic avatar philipad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.