review-pull

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Review Pull Request

审查 Pull Request

Prefer
tea pulls
commands for review workflows. Bundled actions are only for CLI gaps and are documented under
actions/pull-requests/README.md
.
When resolving
actions/...
paths, use the
actions/
directory bundled relative to this skill directory.
Pass explicit scope flags (
--login
,
--remote
, or
--repo
) to bundled actions when the user names a login, remote, backend, or repository. Otherwise, bundled actions use active-host-first discovery.
审查工作流优先使用
tea pulls
命令。内置 actions 仅用于填补 CLI 功能缺口,相关文档位于
actions/pull-requests/README.md
。
解析
actions/...
路径时,请使用相对于本 skill 目录内置的
actions/
目录。
当用户指定了登录名、远程仓库、后端或仓库时,请向内置 actions 传递明确的作用域标志(
--login
、
--remote
或
--repo
)。否则,内置 actions 将采用「活跃主机优先」的发现策略。

Checkout and Review

Checkout 与审查

bash
tea pulls checkout 15      # checkout PR locally
tea pulls review 15        # interactive review
tea pulls approve 15       # approve
tea pulls reject 15        # request changes
bash
tea pulls checkout 15      # checkout PR locally
tea pulls review 15        # interactive review
tea pulls approve 15       # approve
tea pulls reject 15        # request changes

Request Reviewers

请求评审人

bash
tea pulls edit 15 --add-reviewers user1,user2
tea pulls edit 15 --remove-reviewers user1
bash
tea pulls edit 15 --add-reviewers user1,user2
tea pulls edit 15 --remove-reviewers user1

Diff / Patch / Review Comments

Diff / Patch / 审查评论

bash
tea pulls 15 --fields diff,patch
tea pulls review-comments 15
tea pulls resolve 123
tea pulls unresolve 123
bash
tea pulls 15 --fields diff,patch
tea pulls review-comments 15
tea pulls resolve 123
tea pulls unresolve 123

Forks and Upstream PRs

Fork 与上游 PR

See pull-request-forks.
For interactive inline review, use:
bash
tea pulls review 15
参见 pull-request-forks。
如需交互式行内审查,请使用:
bash
tea pulls review 15

Review Checklist Pattern

审查清单模式

bash
tea pulls checkout 15
bash
tea pulls checkout 15

... test locally ...

... test locally ...

tea pulls approve 15 tea pulls merge 15 --style squash tea pulls clean 15
undefined
tea pulls approve 15 tea pulls merge 15 --style squash tea pulls clean 15
undefined

Tips

提示

  • tea pulls checkout
    creates a local tracking branch
  • tea pulls checkout
    会创建一个本地跟踪分支