diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..14adddbb --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,77 @@ +template: $CHANGES +name-template: "v$RESOLVED_VERSION" +tag-template: "v$RESOLVED_VERSION" +exclude-labels: + - reverted + - no-changelog + - skip-changelog + - invalid +autolabeler: + - label: "bug" + title: + - "/:bug:.+/" + - "/๐Ÿ›.+/" + - label: "enhancement" + title: + - "/:sparkles:.+/" + - "/โœจ.+/" + - label: "ci" + files: + - .github/**/* + - label: "breaking-change" + title: + - "/.+!:.+/" + - label: "documentation" + files: + - "*.md" + - label: "dependencies" + files: + - "pyproject.toml" + - "requirements.txt" + - "poetry.lock" + title: + - "/:wrench:.+/" + - "/๐Ÿ”ง.+/" + - label: "resources" + files: + - resources/**/* +categories: + - title: ๐Ÿ’ฅ ็ ดๅๆ€งๅ˜ๆ›ด + labels: + - breaking-change + - title: ๐Ÿš€ ๆ–ฐๅŠŸ่ƒฝ + labels: + - enhancement + - title: ๐Ÿ› Bug ไฟฎๅค + labels: + - bug + - title: ๐Ÿ“ ๆ–‡ๆกฃๆ›ดๆ–ฐ + labels: + - documentation + - title: ๐Ÿ‘ป ่‡ชๅŠจๅŒ–็จ‹ๅบ + labels: + - chore + - internal + - maintenance + - title: ๐Ÿšฆ ๆต‹่ฏ• + labels: + - test + - tests + - title: ๐Ÿ“ฆ ไพ่ต–ๆ›ดๆ–ฐ + labels: + - dependencies + collapse-after: 15 + - title: ๐Ÿ’ซ ๆ‚้กน +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