From 35fe0a88348f989f090a7e377fa55f1beff24742 Mon Sep 17 00:00:00 2001 From: Luong Minh Date: Thu, 30 Nov 2023 17:04:45 +0700 Subject: [PATCH] update release drafter with autolabeler --- .github/release-drafter.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 1f29c6c..0deb3da 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,5 +1,8 @@ name-template: 'v$RESOLVED_VERSION 🌈' tag-template: 'v$RESOLVED_VERSION' + +prerelease: true +prerelease-identifier: 'alpha' categories: - title: '🚀 Features' labels: @@ -25,6 +28,27 @@ version-resolver: labels: - 'patch' default: patch +autolabeler: + - label: 'chore' + files: + - '*.md' + branch: + - '/docs{0,1}\/.+/' + title: + - '/chore/i' + - label: 'bug' + branch: + - '/fix\/.+/' + title: + - '/fix/i' + - label: 'enhancement' + branch: + - '/feature\/.+/' + - '/feat\/.+/' + title: + - '/feat/i' + - '/feature/i' + template: | ## What's Changed