-
Notifications
You must be signed in to change notification settings - Fork 20
34 lines (30 loc) · 1.18 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
# 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:
tags:
- '*'
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
runs-on: ubuntu-latest
steps:
- name: Release Oceanbase Design
uses: dengfuping/monorepo-release-helper@v1
with:
trigger: 'tag'
changelogs: 'docs/design/design-CHANGELOG.md, docs/ui/ui-CHANGELOG.md, docs/charts/charts-CHANGELOG.md, docs/codemod/codemod-CHANGELOG.md'
branch: 'master'
dingding-token: ${{ secrets.DINGDING_BOT_TOKEN }}
msg-title: '# OceanBase Design 发布日志'
msg-poster: 'https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*zx7LTI_ECSAAAAAAAAAAAABkARQnAQ'
msg-footer: '💬 前往 [**OceanBase Design Releases**]({{url}}) 查看更新日志'
prettier: true