From e054a9004d62b17a854bcfdf545ec7cb1d13e900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20H=C3=B6sel?= Date: Mon, 12 Feb 2024 23:31:50 +0100 Subject: [PATCH] add release drafter (#5) --- .github/CODEOWNERS | 1 + .github/FUNDING.yml | 1 + .github/release-drafter.yml | 45 +++++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/FUNDING.yml create mode 100644 .github/release-drafter.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..f6e58fc --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @maxhoesel diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..c9b9698 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +ko_fi: maxhoesel diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..6f7e21b --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,45 @@ +--- +name-template: "v$RESOLVED_VERSION" +tag-template: "v$RESOLVED_VERSION" +categories: + - title: "Major Changes" + labels: + - "pr-major" + - title: "Features and Minor Changes" + labels: + - "pr-minor" + - title: "Bug Fixes and Patches" + labels: + - "pr-patch" + - title: "Other" + labels: + - "docs" + +include-labels: + - pr-major + - pr-minor + - pr-patch + - docs +exclude-contributors: + - github-actions + - github-actions[bot] + +change-template: "- $TITLE @$AUTHOR (#$NUMBER)" +change-title-escapes: '\<*_&' + +version-resolver: + major: + labels: + - "pr-major" + minor: + labels: + - "pr-minor" + patch: + labels: + - "pr-patch" + default: patch + +template: | + # Changes + + $CHANGES