mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +08:00
22 lines
796 B
YAML
22 lines
796 B
YAML
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:
|
||
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 }} 创建了 issue:[${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }}) <hr />'
|
||
notify_footer: '> 💬 快来 CR 吧!'
|
||
at_all: false # whether to ding everybody
|