Skip to content

Commit 1aaadcb

Browse files
committed
ci: 替换 maintain-one-comment 为内部 action
1 parent bb6a59c commit 1aaadcb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/preview-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
echo "<!-- AUTO_PREVIEW_HOOK -->" >> pr-comment.md
7171
7272
- name: 更新 PR 预览评论
73-
uses: actions-cool/maintain-one-comment@v3
73+
uses: TDesignOteam/workflows/actions/maintain-one-comment@main
7474
with:
7575
token: ${{ secrets.GITHUB_TOKEN }}
7676
body-path: pr-comment.md
@@ -79,7 +79,7 @@ jobs:
7979

8080
- name: 部署失败时标记 PR 评论
8181
if: ${{ failure() }}
82-
uses: actions-cool/maintain-one-comment@v3
82+
uses: TDesignOteam/workflows/actions/maintain-one-comment@main
8383
with:
8484
token: ${{ secrets.GITHUB_TOKEN }}
8585
body: ${{ env.FAILURE_BODY }}
@@ -104,7 +104,7 @@ jobs:
104104
run: echo "number=$(cat pr-number.txt)" >> $GITHUB_OUTPUT
105105

106106
- name: 更新 PR 失败评论
107-
uses: actions-cool/maintain-one-comment@v3
107+
uses: TDesignOteam/workflows/actions/maintain-one-comment@main
108108
with:
109109
token: ${{ secrets.GITHUB_TOKEN }}
110110
body: ${{ env.FAILURE_BODY }}

0 commit comments

Comments
 (0)