From 41dbd4c9b53babbe7c6080d8038b9a76c7bf33be Mon Sep 17 00:00:00 2001 From: Khanh Nguyen <119989010+ndkhanh-axonivy@users.noreply.github.com> Date: Mon, 26 Aug 2024 14:15:30 +0700 Subject: [PATCH] MARP-620 Add release-drafter workflow (#962) * Add release-drafter workflow * Update release-drafter workflow * Add publish-release workflow and update release-drafter workflow --- .github/workflows/publish-release.yml | 18 ++++++++++++++++++ .github/workflows/release-drafter.yml | 16 ++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .github/workflows/publish-release.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml new file mode 100644 index 00000000000..9ec6a57577d --- /dev/null +++ b/.github/workflows/publish-release.yml @@ -0,0 +1,18 @@ +name: Publish Release + +on: + push: + tags: + - "v*.*.*" + +permissions: + contents: write + pull-requests: read + +jobs: + build: + uses: axonivy-market/github-workflows/.github/workflows/publish-release.yml@v4 + # The 'publish_release' input parameter is used to control whether the release should be published automatically. + # Uncomment and set to 'false' if you want to prevent the release from being published immediately. + # with: + # publish_release: false diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000000..99bf6977255 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,16 @@ +name: Release Drafter + +on: + push: + branches: + - master + pull_request: + types: [opened, reopened, synchronize] + +permissions: + contents: write + pull-requests: write + +jobs: + build: + uses: axonivy-market/github-workflows/.github/workflows/release-drafter.yml@v4