mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2025-12-02 00:32:40 +08:00
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
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9d21963a46
commit
0aec2be441
2
.github/workflows/pr-preview.yml
vendored
2
.github/workflows/pr-preview.yml
vendored
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user