Skip to content

Commit

Permalink
chore: add DingTalk Release Notification (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
YumoImer authored Dec 24, 2024
1 parent c941e17 commit 8d46606
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release-dingtalk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: DingTalk Release Notification

on: create

permissions:
contents: read

jobs:
release-helper:
permissions:
contents: write # for actions-cool/release-helper to create releases
if: github.event.ref_type == 'tag'
runs-on: ubuntu-latest
steps:
- name: Send to Ant Design X DingGroup
uses: actions-cool/release-helper@v2
with:
trigger: tag
changelogs: 'CHANGELOG.en-US.md, CHANGELOG.zh-CN.md'
branch: 'main'
tag: '1*'
latest: '1*'
dingding-token: ${{ secrets.DINGDING_BOT_TOKEN }}
dingding-msg: CHANGELOG.zh-CN.md
msg-title: '# Ant Design X {{v}} 发布日志'
msg-poster: 'https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*eco6RrQhxbMAAAAAAAAAAAAADgCCAQ/original'
msg-footer: '💬 前往 [**Ant Design X Releases**]({{url}}) 查看更新日志'
prettier: true
prerelease-filter: '-, a, b, A, B'

0 comments on commit 8d46606

Please sign in to comment.