mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-28 23:42:49 +08:00
Fix with key for action: actions-comment-pull-request
This commit is contained in:
parent
cf9516b2c2
commit
2e58b7325d
10
.github/workflows/PR-notify.yml
vendored
10
.github/workflows/PR-notify.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user