diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index c783a980aa57..172df6bf16ec 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -1,6 +1,6 @@ name: DingTalk Test -on: [push] +on: [push, pull_request] jobs: build: @@ -11,8 +11,7 @@ jobs: with: DING_TALK_TOKEN: dd88546da75f580089cb9a8849dec0537004583babe2e55b09daddf001b46d03 notify_title: '🔥 @${{ github.event.discussion.user.login }} 创建了讨论:${{ github.event.discussion.title }} ${{ github.event.discussion.html_url }}' - # notify_body: '### 🔥 @${{ github.event.discussion.user.login }} 创建了讨论 \n ### [${{ github.event.discussion.title }}](${{ github.event.discussion.html_url }})
' - # notify_body: '### 🔥 @afc163 创建了 PR\n[docs(:sparkles:): release 5.15.3](https://qq.com) \n > 💬 快来 CR 吧!' + notify_body: '### 🔥 @afc163 创建了讨论 \n ### [${{ github.event.discussion.title }}](${{ github.event.discussion.html_url }})
' notify_footer: '> 💬 欢迎前往 GitHub 进行讨论,社区可能需要你的帮助。' at_all: false # whether to ding everybody