-
Notifications
You must be signed in to change notification settings - Fork 73
Pull Request Bot Commands List
Gary Wang edited this page Oct 16, 2024
·
5 revisions
Command | Explain | 说明 |
---|---|---|
/check |
Retrigger all CI checks | 重新触发所有 CI 检查 |
/check jobname |
Retrigger jobname | 重新触发 jobname 检查 |
/assign @username |
Assign @username for the given PR | 指派 @username 处理 PR |
/review @username |
Add @username to reviewer | 添加 @username 为代码评审人员 |
/merge |
Merge PR if meed all merge requirement | 在满足所有合并要求时,执行合并 |
/+1 or /approve
|
Add a approve label (maintainer-only) | 添加一个 approve 标签 |
/topic topicname |
Create a "topic" scope for integration | 添加一个供集成所用的 "topic" |
/integr-topic topicname |
Submit an integration to "topicname" | 发起到 "topicname" 的集成 |
/integrate |
Submit a self-contained standalone integration | 发起一个独立的集成 |
/check jobname Usage |
/check jobname 用法 |
---|---|
Assume you want to retrigger a job saysbuild-distribution / check_job / archlinux-build ,then you need to use /check archlinux-build or /check check_job/archlinux-build to retrigger it. |
假定你要重新触发一个显示为 build-distribution / check_job / archlinux-build 的任务,那么你需要使用 /check archlinux-build 或 /check check_job/archlinux-build 任一方式进行触发。 |
使用油候脚本简化命令操作:
- 在浏览器安装tampermonkey插件
- 在tampermonkey插件打开管理面板 - 实用工具,找到“从 URL 安装”,输入 https://raw.githubusercontent.com/deepin-community/deepin-chatopt-script/main/chatopt.js
- 安装成功后,在 GitHub 的 Pull Request页面评论框下放会自动添加 /merge 和 /check 相关操作按钮。
Merge Requirement:
- At least one valid approval (from people who have at leaset write permission).
- All CI check passed.
Please note: /approve
is only for marking purpose, for actual code review, you still need to go through the GitHub's code review process.
合并要求:
- 至少有一个有效的 Approval(加分/合并许可)
- 所有 CI 检查通过
请注意: /approve
仅为添加标记的目的,对于实际的代码评审,请使用 GitHub 的代码评审流程。
Welcome to join the Deepin developer community. You could talk about even everything in the following channels:
-
GitHub developer center(recommended)
-
IRC #deepin channel(recommended)
- Google groups: deepin-users, deepin-developers