Skip to content

Commit e500140

Browse files
committed
+1 for PR
1 parent d87b722 commit e500140

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/PR-notify.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,15 @@ jobs:
4747
run: |
4848
echo "Event 类型: ${{ github.event.action }}"
4949
echo "Event 名: ${{ github.event_name }}"
50-
- name: 评论
50+
51+
- name: 对 PR 描述点赞
52+
uses: peter-evans/create-or-update-comment@v4
53+
with:
54+
issue-number: ${{ github.event.pull_request.number }}
55+
body: '' # 空body,只添加reaction
56+
reactions: '+1'
57+
58+
- name: 添加评论欢迎 PRer
5159
uses: peter-evans/create-or-update-comment@v4
5260
with:
5361
issue-number: ${{ github.event.pull_request.number }}
@@ -56,4 +64,3 @@ jobs:
5664
5765
❤️ 感谢你的贡献!我们将在最少半小时,最多5天内阅读此 PR 并回复你
5866
edit-mode: replace
59-
reactions: heart

0 commit comments

Comments
 (0)