From d4e2ba622f440ec54247eb91455a454588fca63f Mon Sep 17 00:00:00 2001 From: Khanh Nguyen Date: Thu, 22 Aug 2024 11:58:30 +0700 Subject: [PATCH] Update release-drafter workflow --- .github/workflows/release-drafter.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 6d1ccff..8ce3bb8 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -1,5 +1,4 @@ name: Release Drafter - on: push: branches: @@ -7,7 +6,21 @@ on: pull_request: types: [opened, reopened, synchronize] workflow_dispatch: - + inputs: + version: + description: 'Release version' + required: true + prerelease: + description: 'Is this a prerelease?' + required: false + default: false + type: boolean +permissions: + contents: write + pull-requests: write jobs: build: uses: axonivy-market/github-workflows/.github/workflows/release-drafter.yml@v4 + with: + version: ${{ github.event.inputs.version }} + prerelease: ${{ github.event.inputs.prerelease }}