Skip to content

Commit 007465c

Browse files
committed
Better notification for PR
1 parent 9f67938 commit 007465c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/PR-notify.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
uses: thollander/actions-comment-pull-request@v3
3030
with:
3131
message: |
32-
❤️ 感谢你的贡献!你的 PR 当前基于 ${{github.base_ref}} 分支,请修改使用 `dev` 分支!
32+
Hi @${{github.event.pull_request.user.login}},
33+
34+
❤️ 感谢你的贡献!你的 PR 当前基于 `${{github.base_ref}}` 分支,请修改使用 `dev` 分支
3335
comment-tag: "❤️ 感谢你的贡献!"
3436
- run: |
3537
echo "::error::❌ PR 必须以 dev 分支为目标!当前是 ${GITHUB_BASE_REF}"
@@ -45,10 +47,8 @@ jobs:
4547
with:
4648
issue-number: ${{ github.event.pull_request.number }}
4749
body: |
50+
Hi @${{github.event.pull_request.user.login}},
51+
4852
❤️ 感谢你的贡献!我们将在5天内阅读此 PR 并回复你
4953
edit-mode: replace
5054
reactions: heart
51-
- run: |
52-
echo "github.event.pull_request.type = [${{github.event.pull_request.type}}]"
53-
echo "github.event_name = [${{github.event_name}}]"
54-
echo "github.event.action = [${{github.event.action}}]"

0 commit comments

Comments
 (0)