From f1a19a173edaa385539ce5cacbe537c3dd47def8 Mon Sep 17 00:00:00 2001 From: Khanh Nguyen <119989010+ndkhanh-axonivy@users.noreply.github.com> Date: Thu, 22 Aug 2024 14:13:10 +0700 Subject: [PATCH] MARP-620 Add release-drafter workflow (#19) --- .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 }}