README.md 1.2 KB

AutoPR

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

Usage

1、把 AutoPR 设置到项目中

创建 .github/workflows/autopr.yml, 模板:https://github.com/irgolic/AutoPR-template/blob/main/.github/workflows/autopr.yml

里面设置一下openai key

2、创建一个label,名称 AutoPR

3、new 一个 issue,包含清晰的问题和步骤描述。

4、增加 AutoPR 标签到这个 issue

自动触发 action,创建 autopr/issue-# 分支,并发起 pull request

5、人工 Review 代码,合并代码

源码分析

💎 Examples

Well-written issues often lead to better results.

© 2016-2022 上海芝舟信息科技有限公司