diff --git a/.github/workflows/PR-notify.yml b/.github/workflows/PR-notify.yml index e1b2a61..9f6e0d5 100644 --- a/.github/workflows/PR-notify.yml +++ b/.github/workflows/PR-notify.yml @@ -29,7 +29,9 @@ jobs: uses: thollander/actions-comment-pull-request@v3 with: message: | - ❤️ 感谢你的贡献!你的 PR 当前基于 ${{github.base_ref}} 分支,请修改使用 `dev` 分支! + Hi @${{github.event.pull_request.user.login}}, + + ❤️ 感谢你的贡献!你的 PR 当前基于 `${{github.base_ref}}` 分支,请修改使用 `dev` 分支 comment-tag: "❤️ 感谢你的贡献!" - run: | echo "::error::❌ PR 必须以 dev 分支为目标!当前是 ${GITHUB_BASE_REF}" @@ -45,10 +47,8 @@ jobs: with: issue-number: ${{ github.event.pull_request.number }} body: | + Hi @${{github.event.pull_request.user.login}}, + ❤️ 感谢你的贡献!我们将在5天内阅读此 PR 并回复你 edit-mode: replace reactions: heart - - run: | - echo "github.event.pull_request.type = [${{github.event.pull_request.type}}]" - echo "github.event_name = [${{github.event_name}}]" - echo "github.event.action = [${{github.event.action}}]"