Skip to content

Commit

Permalink
更新 component_pr_comment.md
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 authored Feb 20, 2025
1 parent 62dc9e8 commit 6c8b59a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/component_pr_comment.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
# 组件库 PR 评论指令

## 背景
维护组件库时,经常会遇到 PR 需要更新 common 子仓,更新快照,处理 common 子仓冲突 ,处理快照冲突。此时就要在 PR

Check failure on line 4 in docs/component_pr_comment.md

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`
留言让贡献者处理问题,还可能需要跟 PR 贡献者进行 N 轮评论沟通才能处理好问题。


Check failure on line 7 in docs/component_pr_comment.md

View workflow job for this annotation

GitHub Actions / lint

Replace `⏎##·白名单` with `##·白名单⏎`

Check failure on line 7 in docs/component_pr_comment.md

View workflow job for this annotation

GitHub Actions / lint

More than 1 blank line not allowed
## 白名单
需要github id 在[白名单](https://github.com/Tencent/tdesign/blob/main/.github/.pr-comment-ci-whitelist)才可以使用。

`/resolve-conflict` [白名单](https://github.com/TDesignOteam/tdesign-api/blob/main/.github/CODEOWNERS)单独存在

## 评论指令

[评论指令使用小技巧](./github_comment.md)

## /update-common
### /update-common

更新 PR common 子仓库的 `commit id` 到 最新

Expand All @@ -16,7 +24,7 @@
2. 检查 `common`子模块是否有冲突,如果有使用 `develop` 分支 `commit id` 指向
3. 提交变更,推送到 PR

## /update-snapshot
### /update-snapshot

更新 PR 测试快照,部分快照更新 `node` 版本大于 `18` 会出现差异

Expand Down

0 comments on commit 6c8b59a

Please sign in to comment.