2024-01-26 13:48:52 +08:00
|
|
|
|
name: PR Open Check
|
|
|
|
|
|
|
|
|
|
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:
|
2024-08-11 17:36:11 +08:00
|
|
|
|
DING_TALK_TOKEN: |
|
|
|
|
|
${{ secrets.DINGDING_BOT_TOKEN }}
|
|
|
|
|
${{ secrets.DINGDING_BOT_COLLABORATOR_TOKEN }}
|
2024-01-26 13:48:52 +08:00
|
|
|
|
notify_title: '🔥 @${{ github.event.pull_request.user.login }} 创建了 PR:${{ github.event.pull_request.title }} ${{ github.event.pull_request.html_url }}'
|
2024-03-17 15:28:28 +08:00
|
|
|
|
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 吧,社区需要你的帮助!'
|
2024-01-26 13:48:52 +08:00
|
|
|
|
at_all: false # whether to ding everybody
|