Fix with key for action: actions-comment-pull-request

This commit is contained in:
Aoran Zeng 2025-06-21 13:56:14 +08:00
parent cf9516b2c2
commit 2e58b7325d
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -4,7 +4,7 @@
# Contributors : Nul None <nul@none.org> # Contributors : Nul None <nul@none.org>
# | # |
# Created On : <2025-06-19> # Created On : <2025-06-19>
# Last Modified : <2025-06-19> # Last Modified : <2025-06-20>
# #
# Notify PR # Notify PR
# --------------------------------------------------------------- # ---------------------------------------------------------------
@ -28,10 +28,10 @@ jobs:
uses: thollander/actions-comment-pull-request@v3 uses: thollander/actions-comment-pull-request@v3
with: with:
message: | message: |
❤️ 感谢你的贡献!但请修改使用 dev 分支! ❤️ 感谢你的贡献!你的 PR 当前基于 ${{github.base_ref}} 分支,请修改使用 `dev` 分支!
comment_includes: "❤️ 感谢你的贡献!" comment-tag: "❤️ 感谢你的贡献!"
- run: | - run: |
echo "::error::❌ Pull Request 必须以 dev 分支为目标!当前是 ${GITHUB_BASE_REF}" echo "::error::❌ PR 必须以 dev 分支为目标!当前是 ${GITHUB_BASE_REF}"
exit 1 exit 1
welcome: welcome:
@ -45,6 +45,6 @@ jobs:
with: with:
issue-number: ${{ github.event.pull_request.number }} issue-number: ${{ github.event.pull_request.number }}
body: | body: |
❤️ 感谢你的贡献我们将在5天内阅读该PR并回复你 ❤️ 感谢你的贡献我们将在5天内阅读此 PR 并回复你
edit-mode: replace edit-mode: replace
reactions: heart reactions: heart