From a85374904883b6fea54f5990ff11bfaff10ddf36 Mon Sep 17 00:00:00 2001 From: dengfuping Date: Thu, 26 Oct 2023 14:53:30 +0800 Subject: [PATCH] fix(workflow): Use create as trigger for release-helper workflow --- .github/workflows/release-helper.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-helper.yml b/.github/workflows/release-helper.yml index 789824de8..626fe2e80 100644 --- a/.github/workflows/release-helper.yml +++ b/.github/workflows/release-helper.yml @@ -5,13 +5,7 @@ name: Release Helper -on: - push: - tags: - - '*' - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: +on: create permissions: contents: read @@ -22,6 +16,7 @@ jobs: # use actions-cool/release-helper to create releases # ref: https://github.com/actions-cool/release-helper contents: write + if: github.event.ref_type == 'tag' runs-on: ubuntu-latest steps: - name: Release Oceanbase Design