mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2025-12-02 00:32:40 +08:00
关闭 PR 时不再显示“预览构建已被移除” (#330)
This commit is contained in:
parent
92e7b8fe38
commit
f4ad34ce07
2
.github/workflows/pr-preview.yml
vendored
2
.github/workflows/pr-preview.yml
vendored
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user