diff --git a/.github/pr-labeler.yml b/.github/pr-labeler.yml new file mode 100644 index 0000000..4e0dd3b --- /dev/null +++ b/.github/pr-labeler.yml @@ -0,0 +1,5 @@ +# https://github.com/TimonVS/pr-labeler-action +feature: ['feature/*', 'feat/*', 'feat:*'] +fix: ['fix/*','fix:*'] +chore :hammer:: chore/* +misc: '*' \ No newline at end of file diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..ba00db4 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,64 @@ +# https://johanneskonings.dev/github/2021/02/28/github_automatic_releases_and-changelog/ +# https://tiagomichaelsousa.dev/articles/stop-writing-your-changelogs-manually + +# This release drafter follows the conventions +# from https://keepachangelog.com + +name-template: 'v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' +template: | + ## What Changed ๐Ÿ‘€ + + $CHANGES + **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION +categories: + - title: ๐Ÿš€ Features + labels: + - feature + - enhancement + - title: ๐Ÿ› Bug Fixes + labels: + - fix + - bug + - title: โš ๏ธ Changes + labels: + - changed + - title: โ›”๏ธ Deprecated + labels: + - deprecated + - title: ๐Ÿ—‘ Removed + labels: + - removed + - title: ๐Ÿ” Security + labels: + - security + - title: ๐Ÿ“„ Documentation + labels: + - docs + - documentation + - title: ๐Ÿงฉ Dependency Updates + labels: + - deps + - dependencies + - title: ๐Ÿงฐ Maintenance + label: 'chore' + - title: ๐Ÿงบ Miscellaneous #Everything except ABAP + label: misc + collapse-after: 10 + +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 + +exclude-labels: + - skip-changelog \ No newline at end of file diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..931847b --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,23 @@ +# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes +# https://github.com/bcoe/conventional-release-labels +# https://dev.to/github/how-to-automatically-generate-release-notes-for-your-project-2ng8 +changelog: + exclude: + labels: + - ignore-for-release + categories: + - title: Features + labels: + - feature + - title: Fixes + labels: + - bug + - fix + - enhancement + - title: Enhancement + labels: + - refactor + - enhancement + - title: Other Changes + labels: + - "*" \ No newline at end of file