diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..6ae91d7 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,16 @@ +## Description + + + +## Type of change + +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Documentation update +- [ ] Refactoring, Maintenance +- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) + diff --git a/.github/release-drafter-config.yml b/.github/release-drafter-config.yml new file mode 100644 index 0000000..0368ea6 --- /dev/null +++ b/.github/release-drafter-config.yml @@ -0,0 +1,28 @@ +name-template: 'v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' +categories: + - title: '🚀 Features' + label: 'enhancement' + - title: '🐛 Hotfixes' + labels: + - 'bug' + - 'bug fix' + - title: '🔧 Maintenance' + labels: + - 'documentation' + - 'chore' +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +version-resolver: + major: + labels: + - 'major' + minor: + labels: + - 'minor' + patch: + labels: + - 'patch' + default: patch +template: | + ## Changes + $CHANGES diff --git a/.github/workflows/release-drafter-config.yml b/.github/workflows/release-drafter-config.yml new file mode 100644 index 0000000..3969714 --- /dev/null +++ b/.github/workflows/release-drafter-config.yml @@ -0,0 +1,14 @@ +name: Release Drafter +on: + push: + branches: + - main +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + with: + config-name: release-drafter-config.yml + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}