From 5a914685215ba1710beab8ffa26e00fcccee084b Mon Sep 17 00:00:00 2001 From: Khanh Nguyen <119989010+ndkhanh-axonivy@users.noreply.github.com> Date: Thu, 22 Aug 2024 14:43:24 +0700 Subject: [PATCH] MARP-620 Add release-drafter workflow (#54) --- .github/workflows/release-drafter.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..8ce3bb8 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,26 @@ +name: Release Drafter +on: + push: + branches: + - master + 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 }}