-
Notifications
You must be signed in to change notification settings - Fork 20
35 lines (31 loc) · 1.72 KB
/
release-helper.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
27
28
29
30
31
32
33
34
35
# Current release process:
# 1. `pnpm run publish` will generate new tags and publish to npm
# 4. Then the new tags will trigger this current action
# 5. The action will generate a new release, and publish DingDing notification at the same time
name: Release Helper
on:
push:
branches:
- 'master'
permissions:
contents: read
jobs:
release-helper:
permissions:
# use actions-cool/release-helper to create releases
# ref: https://github.com/actions-cool/release-helper
contents: write
if: ${{ startsWith(github.event.head_commit.message, 'Publish') }}
runs-on: ubuntu-latest
steps:
- name: Release Oceanbase Design
uses: dengfuping/monorepo-release-helper@v1
with:
branch: 'master'
changelogs: 'docs/design/design-CHANGELOG.md, docs/ui/ui-CHANGELOG.md, docs/charts/charts-CHANGELOG.md, docs/codemod/codemod-CHANGELOG.md'
dingding-changelogs: 'docs/design/design-CHANGELOG.md, docs/ui/ui-CHANGELOG.md, docs/charts/charts-CHANGELOG.md, docs/codemod/codemod-CHANGELOG.md'
dingding-token: ${{ secrets.DINGDING_BOT_TOKEN }}
dingding-message-title: '# 🎉 OceanBase Design 新版本发布 🎉'
dingding-message-poster: 'https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*zx7LTI_ECSAAAAAAAAAAAABkARQnAQ'
dingding-message-footer: '🚀 前往 [**OceanBase Design 官网**](https://design.oceanbase.com) 查看示例和用法 \n 🚀 前往 [**OceanBase Design Releases**](https://github.com/oceanbase/oceanbase-design/releases) 查看更新日志 \n 🚀 使用 [**OceanBase Codemod**](https://github.com/oceanbase/oceanbase-design/tree/master/packages/codemod) 进行一键迁移'
dingding-message-prettier: true