mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
* Migrate workflows to Blacksmith * Update .github/workflows/preview-build.yml Signed-off-by: thinkasany <480968828@qq.com> * preview-build.yml use runs-on: ubuntu-latest (#56367) * Initial plan * fix: add named exports for ColorPalettes and ColorPaletteToolDark to fix SSR compatibility Co-authored-by: thinkasany <117748716+thinkasany@users.noreply.github.com> * test: preview-build use ubuntu-latest --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: thinkasany <117748716+thinkasany@users.noreply.github.com> Co-authored-by: thinkasany <480968828@qq.com> --------- Signed-off-by: thinkasany <480968828@qq.com> Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com> Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: thinkasany <480968828@qq.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: thinkasany <117748716+thinkasany@users.noreply.github.com>
27 lines
1.1 KiB
YAML
27 lines
1.1 KiB
YAML
name: PR Open Notify
|
||
|
||
on:
|
||
pull_request_target:
|
||
types: [opened]
|
||
|
||
permissions:
|
||
contents: read
|
||
|
||
jobs:
|
||
send-to-dingtalk:
|
||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||
steps:
|
||
- name: send to dingtalk
|
||
uses: visiky/dingtalk-release-notify@64fcb0373782b6c2f6d9b9ea3c68af80ca189585
|
||
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 }} · PR #${{ github.event.pull_request.number }}](${{ github.event.pull_request.html_url }})
|
||
<hr />
|
||
notify_footer: '> 🫵🏻 快去 Review 吧,社区需要你的帮助!'
|
||
at_all: false # whether to ding everybody
|