Feature: No longer display '[Preview] Preview has been removed.' when closing a PR to avoid spam.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
burningtnt 2025-11-08 14:05:34 +08:00
parent 9d21963a46
commit 0aec2be441
No known key found for this signature in database
GPG Key ID: 18A43F21F9ACE8C4

View File

@ -73,7 +73,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: