From 4fd9d6e81fca06e3c8ccecb682eb8fc68cf0b60e Mon Sep 17 00:00:00 2001 From: Wil Wilsman Date: Fri, 25 Sep 2020 13:15:10 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Use=20release-drafter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release-drafter.yml | 29 +++++++++++++++++++++++++++++ .github/workflows/changelog.yml | 10 ++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/changelog.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 000000000..2b85c3906 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,29 @@ +name-template: 'v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' +categories: + - title: '💥 Breaking Changes' + labels: + - breaking + - title: '✨ Enhancements' + labels: + - feature + - enhancement + - title: '🐛 Bug Fixes' + labels: + - fix + - bugfix + - bug + - title: '🏗 Maintenance' + labels: + - chore +change-title-escapes: '\<*_&#@' +version-resolver: + major: + labels: + - breaking + minor: + labels: + - feature + - enhancement + default: patch +template: '$CHANGES' diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 000000000..8d0c71dfe --- /dev/null +++ b/.github/workflows/changelog.yml @@ -0,0 +1,10 @@ +name: Changelog +on: + push: [master] +jobs: + update_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}