forked from ant-design/ant-design
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (23 loc) · 992 Bytes
/
pr-open-notify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: PR Open Notify
on:
pull_request_target:
types: [opened]
permissions:
contents: read
jobs:
send-to-dingtalk:
runs-on: ubuntu-latest
steps:
- name: send to dingtalk
uses: visiky/dingtalk-release-notify@main
with:
DING_TALK_TOKEN: |
${{ secrets.DINGDING_BOT_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 }}](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