Merge pull request #890 from oceanbase/dengfuping-dev #413
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |