From f4ad34ce07747d17fea9e88589e11e6c584031e6 Mon Sep 17 00:00:00 2001 From: Burning_TNT Date: Sun, 16 Nov 2025 10:25:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=20PR=20=E6=97=B6=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E6=98=BE=E7=A4=BA=E2=80=9C=E9=A2=84=E8=A7=88=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E5=B7=B2=E8=A2=AB=E7=A7=BB=E9=99=A4=E2=80=9D=20(#330)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pr-preview.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index 84de423..dabeeb1 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -85,7 +85,7 @@ jobs: issue_number: context.issue.number, body: "[Preview] Preview has been removed." }); - - if: ${{ github.event_name == 'pull_request_target' || steps.comment-message.outcome == 'failure' }} + - if: ${{ (github.event_name == 'pull_request_target' && github.event.action != 'closed') || steps.comment-message.outcome == 'failure' }} name: Comment Message uses: actions/github-script@v8 with: