mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
chore: better format for dingtalk notice (#47925)
This commit is contained in:
parent
b315dc5e9e
commit
ac18c99f92
7
.github/workflows/discussion-open-check.yml
vendored
7
.github/workflows/discussion-open-check.yml
vendored
@ -20,6 +20,9 @@ jobs:
|
||||
${{ secrets.DINGDING_BOT_TOKEN }}
|
||||
${{ secrets.DINGDING_BOT_COLLABORATOR_TOKEN }}
|
||||
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 }}) <hr />'
|
||||
notify_footer: '> 💬 欢迎前往 GitHub 进行讨论,社区可能需要你的帮助。'
|
||||
notify_body: |
|
||||
### 🔥 [@${{ github.event.discussion.user.login }}](https://github.com/${{ github.event.discussion.user.login }}) 开启了一个讨论:
|
||||
[${{ github.event.discussion.title }}](${{ github.event.discussion.html_url }})
|
||||
<hr />
|
||||
notify_footer: '> 🫵🏻 欢迎前往 GitHub 进行讨论,社区需要你的帮助!'
|
||||
at_all: false # whether to ding everybody
|
||||
|
7
.github/workflows/issue-open-check.yml
vendored
7
.github/workflows/issue-open-check.yml
vendored
@ -100,6 +100,9 @@ jobs:
|
||||
${{ secrets.DINGDING_BOT_TOKEN }}
|
||||
${{ secrets.DINGDING_BOT_COLLABORATOR_TOKEN }}
|
||||
notify_title: '🔥 @${{ github.event.issue.user.login }} 创建了 issue:${{ github.event.issue.title }} ${{ github.event.issue.html_url }}'
|
||||
notify_body: '### 🔥 @${{ github.event.issue.user.login }} 创建了 issue\n[${{ github.event.issue.title }}](${{ github.event.issue.html_url }}) <hr />'
|
||||
notify_footer: '> 💬 欢迎前往 GitHub 进行讨论,社区可能需要你的帮助。'
|
||||
notify_body: |
|
||||
### 🔥 [@${{ github.event.issue.user.login }}](https://github.com/${{ github.event.issue.user.login }}) 创建了 issue:
|
||||
[${{ github.event.issue.title }}](${{ github.event.issue.html_url }})
|
||||
<hr />
|
||||
notify_footer: '> 🫵🏻 欢迎前往 GitHub 进行讨论,社区需要你的帮助!'
|
||||
at_all: false # whether to ding everybody
|
||||
|
7
.github/workflows/pr-open-notify.yml
vendored
7
.github/workflows/pr-open-notify.yml
vendored
@ -16,6 +16,9 @@ jobs:
|
||||
with:
|
||||
DING_TALK_TOKEN: ${{ secrets.DINGDING_BOT_COLLABORATOR_TOKEN }}
|
||||
notify_title: '🔥 @${{ github.event.pull_request.user.login }} 创建了 PR:${{ github.event.pull_request.title }} ${{ github.event.pull_request.html_url }}'
|
||||
notify_body: '### 🔥 @${{ github.event.pull_request.user.login }} 创建了 PR\n[${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }}) <hr />'
|
||||
notify_footer: '> 💬 快来 CR 吧!'
|
||||
notify_body: |
|
||||
### 🔥 [@${{ github.event.pull_request.user.login }}](https://github.com/${{ github.event.pull_request.user.login }}) 创建了 PR:
|
||||
[${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})
|
||||
<hr />
|
||||
notify_footer: '> 🫵🏻 快去 Review 吧,社区需要你的帮助!'
|
||||
at_all: false # whether to ding everybody
|
||||
|
Loading…
Reference in New Issue
Block a user