Enable to make GPT review in draft

未关闭
#102 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
github-actions, typescript
领域
ci-cd

调研方向

从 src/bot.ts 第 58 行附近开始,了解当前如何处理草稿 pull request,然后检查 action.yml,查看 Action 现有的输入和输出。完成的标准是可以通过输入或环境变量控制草稿审查,并且在 action.yml 中清晰定义 Action 的输入和输出。

由索引模型根据 Issue 内容生成。

描述

Motivation

I would like to make the Action to review even in draft. If a pull request gets ready to review, humans get in the loop of the review. Developers have to pass code refined with GPT to humans beforehand.

https://github.com/anc95/ChatGPT-CodeReview/blob/main/src/bot.ts#L58

Possible Solution

We may pass an input or an environment variable to the Action whether or not we run the Action in draft.

Aside from that, it would be good to clearly define inputs and outputs of the Action in action.yml so that users of the Action can easily understand them.

主要语言
JavaScript
星标
4.5k
派生
469
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

anc95/ChatGPT-CodeReview 的其他 Issue

查看 anc95/ChatGPT-CodeReview 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。