From af0bd678ba908b71406ec290492e3743d87e46c7 Mon Sep 17 00:00:00 2001 From: JSRCode <139555610+jsrcode@users.noreply.github.com> Date: Mon, 22 Dec 2025 23:50:58 +0800 Subject: [PATCH 1/2] =?UTF-8?q?test:=20=E9=AA=8C=E8=AF=81=E4=BB=8E=20artif?= =?UTF-8?q?act=20=E6=8F=90=E5=8F=96=20PR=20=E5=8F=B7=E7=9A=84=E8=AF=84?= =?UTF-8?q?=E8=AE=BA=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/README.md b/.github/workflows/README.md index cc751a7..02141c9 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -2,7 +2,7 @@ 本项目使用两步 workflow 实现跨仓库 PR 的评论功能。 -> 测试评论功能:验证 PR Check Comment workflow 是否正常工作。 +> 最终测试:验证从 artifact 提取 PR 号的评论功能。 ## Workflows From 72c39c0eef933a63fe2296debbfd459fb2ff5833 Mon Sep 17 00:00:00 2001 From: JSRCode <139555610+jsrcode@users.noreply.github.com> Date: Tue, 23 Dec 2025 00:04:46 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(ci):=20=E4=BF=AE=E5=A4=8D=20artifact=20?= =?UTF-8?q?=E8=A7=A3=E5=8E=8B=E6=97=B6=E6=96=87=E4=BB=B6=E4=BA=92=E7=9B=B8?= =?UTF-8?q?=E8=A6=86=E7=9B=96=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pr-check-comment.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pr-check-comment.yml b/.github/workflows/pr-check-comment.yml index d8d3c3b..04f07f6 100644 --- a/.github/workflows/pr-check-comment.yml +++ b/.github/workflows/pr-check-comment.yml @@ -50,7 +50,12 @@ jobs: mkdir -p states for zip in pr-check-state-*.zip; do if [ -f "$zip" ]; then + # Extract platform name from zip filename (e.g., pr-check-state-ubuntu-22.04.zip -> ubuntu-22.04) + platform="${zip#pr-check-state-}" + platform="${platform%.zip}" + # Unzip and rename to platform-specific filename unzip -o "$zip" -d states/ + mv states/state.json "states/${platform}.json" fi done ls -la states/ || true