diff --git a/.github/workflows/PR-notify.yml b/.github/workflows/PR-notify.yml index 4442de9..af45a01 100644 --- a/.github/workflows/PR-notify.yml +++ b/.github/workflows/PR-notify.yml @@ -47,7 +47,15 @@ jobs: run: | echo "Event 类型: ${{ github.event.action }}" echo "Event 名: ${{ github.event_name }}" - - name: 评论 + + - name: 对 PR 描述点赞 + uses: peter-evans/create-or-update-comment@v4 + with: + issue-number: ${{ github.event.pull_request.number }} + body: '' # 空body,只添加reaction + reactions: '+1' + + - name: 添加评论欢迎 PRer uses: peter-evans/create-or-update-comment@v4 with: issue-number: ${{ github.event.pull_request.number }} @@ -56,4 +64,3 @@ jobs: ❤️ 感谢你的贡献!我们将在最少半小时,最多5天内阅读此 PR 并回复你 edit-mode: replace - reactions: heart