diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index d834679..ef3e7be 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -8,42 +8,45 @@ categories: labels: - 'feature' - 'enhancement' - - title: 'Dependency' - labels: - - 'dependency' - - 'dependencies' - - 'renovate' - title: 'Fixes' labels: - 'fix' - 'bug' - 'security' + - title: 'Dependencies' + collapse-after: 3 + labels: + - 'dependencies' + - 'renovate' - title: 'Documentation' labels: - 'document' - - 'documents' - 'documentation' - - title: 'Internal improvement' - labels: - - 'CI' exclude-labels: - 'invalid' - 'internal-fix' + - 'misc' + - 'ci' 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: - 'BREAKING CHANGE' + - 'major' minor: labels: - 'feature' - 'enhancement' - - 'dependency' + - 'minor' + patch: + labels: + - 'improvement' - 'fix' - 'bug' - 'security' - default: minor + - 'patch' + default: patch template: | [Compare $PREVIOUS_TAG with v$RESOLVED_VERSION](https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION)