From e2d4b0b5f6db4215d10bf406324e34bc145553f0 Mon Sep 17 00:00:00 2001 From: Jonny Stoten Date: Mon, 1 Jul 2024 13:36:42 +0100 Subject: [PATCH] Add release-drafter config --- .github/release-drafter-config.yml | 62 ++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 .github/release-drafter-config.yml diff --git a/.github/release-drafter-config.yml b/.github/release-drafter-config.yml new file mode 100644 index 0000000..3c90424 --- /dev/null +++ b/.github/release-drafter-config.yml @@ -0,0 +1,62 @@ +name-template: "v$RESOLVED_VERSION" +tag-template: "v$RESOLVED_VERSION" +categories: + - title: "🚀 Features" + labels: + - "feat" + - "feature" + - "enhancement" + - title: "🐛 Bug Fixes" + labels: + - "fix" + - "bugfix" + - "bug" + - title: "🧰 Maintenance" + labels: + - "chore" + +change-template: "- $TITLE @$AUTHOR (#$NUMBER)" +change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. +version-resolver: + major: + labels: + - "major" + minor: + labels: + - "minor" + patch: + labels: + - "patch" + default: patch +template: | + ## Changes + + $CHANGES + +autolabeler: + - label: "chore" + files: + - "*.md" + branch: + - '/docs{0,1}\/.+/' + - '/tests{0,1}\/.+/' + - '/chore{0,1}\/.+/' + title: + - "/docs/i" + - "/test/i" + - "/chore/i" + - label: "bug" + branch: + - '/fix\/.+/' + - '/revert\/.+/' + title: + - "/fix/i" + - "/revert/i" + - label: "feature" + branch: + - '/feature\/.+/' + - '/feat\/.+/' + - '/add\/.+/' + title: + - "/feat/i" + - "/add/i"