From d680adce21d0af55f7ecb6eddcfc21835a99ad2c Mon Sep 17 00:00:00 2001 From: Benjamin Huo Date: Thu, 24 Aug 2023 18:08:34 +0800 Subject: [PATCH] add release drafter config (#107) Signed-off-by: Benjamin Huo --- .github/release-drafter.yml | 46 +++++++++++++++++++++++++++++++++++++ 1 file changed, 46 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 0000000..d32dce5 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,46 @@ +name-template: 'v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' +template: | + # What's Changed + + $CHANGES + + **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION + +categories: + - title: '💥 Breaking' + label: 'type: breaking' + - title: '✨ New' + label: 'type: feature' + - title: '🐛 Bug Fixes' + label: 'type: bug' + - title: '🏗️ Maintenance' + label: 'type: maintenance' + - title: '🔒 Security' + label: 'type: security' + - title: '👷 CI/CD' + label: 'type: cicd' + - title: '📝 Documentation' + label: 'type: docs' + - title: 'Other changes' + - title: '🏷️ Dependency Updates' + label: 'type: dependencies' + collapse-after: 5 + +version-resolver: + major: + labels: + - 'type: breaking' + minor: + labels: + - 'type: feature' + patch: + labels: + - 'type: bug' + - 'type: maintenance' + - 'type: docs' + - 'type: dependencies' + - 'type: cicd' + +exclude-labels: + - 'skip-changelog' \ No newline at end of file