From 61244a11e0145bdb58994e2ea26d2a89de64dcc5 Mon Sep 17 00:00:00 2001 From: "Daniel G. Krakowczyk" Date: Tue, 10 Oct 2023 09:44:26 +0200 Subject: [PATCH] ci: create release-drafter.yml (#598) --- .github/release-drafter.yml | 72 +++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 .github/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 000000000..96d447033 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,72 @@ +name-template: pymovements $RESOLVED_VERSION + +version-resolver: + minor: + labels: + - deprecation + - enhancement + - breaking + default: patch + +categories: + - title: 🏆 Highlights + labels: highlight + - title: 💥 Breaking Changes + labels: breaking + - title: ⚠️ Deprecations + labels: deprecation + - title: ✨ Enhancements + labels: enhancement + - title: 🐞 Bug Fixes + labels: fix + - title: 🛠️ Maintenance + labels: + - build + - internal + - docs + +exclude-labels: + - skip changelog + +exclude-contributors: + - pre-commit-ci + +change-template: '- $TITLE (#$NUMBER)' +change-title-escapes: '\<*_&' +replacers: + # Remove conventional commits from titles + - search: '/- (build|chore|ci|depr|docs|feat|fix|perf|refactor|release|test)(\(.*\))?(\!)?\: /g' + replace: '- ' + +autolabeler: + - label: breaking + title: + # Example: feat!: ... + - '/^(build|chore|ci|depr|docs|feat|fix|perf|refactor|release|test)(\(.*\))?\!\: /' + - label: build + title: + - '/^build/' + - label: internal + title: + - '/^(chore|ci|perf|refactor|test)/' + - label: deprecation + title: + - '/^depr/' + - label: documentation + title: + - '/^docs/' + - label: enhancement + title: + - '/^feat/' + - label: fix + title: + - '/^fix/' + - label: release + title: + - '/^release/' + +template: | + $CHANGES + + Shoutout to all our contributors for making this release possible! + $CONTRIBUTORS