From c14202eaf36c9d48a3d690154faa6b896e0d53a4 Mon Sep 17 00:00:00 2001 From: dengfuping Date: Fri, 27 Oct 2023 15:30:11 +0800 Subject: [PATCH] config(workflow): Use new params for release-helper --- .github/workflows/release-helper.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-helper.yml b/.github/workflows/release-helper.yml index e99936db2..ac0508fd3 100644 --- a/.github/workflows/release-helper.yml +++ b/.github/workflows/release-helper.yml @@ -19,16 +19,17 @@ jobs: # 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' - 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 + 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