From 018fa2ff62b83237778f3e421dca5a8bc9206fae Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Wed, 27 Jan 2021 22:37:50 -0500 Subject: [PATCH] Enable Release Drafter workflow --- .github/release-drafter.yml | 19 +++++++++++++++++++ .github/workflows/release-drafter.yml | 18 ++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 000000000..4e6f6f061 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,19 @@ +prerelease: true +categories: + - title: 'Features' + labels: + - 'feature' + - 'enhancement' + - title: 'Bug Fixes' + labels: + - 'fix' + - 'bugfix' + - 'bug' + - title: 'Maintenance' + label: 'chore' +change-template: '- $TITLE (#$NUMBER)' +change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. +template: | + ## Changes + + $CHANGES diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 000000000..b00798986 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,18 @@ +name: Release Drafter + +on: + push: + branches: + - main + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + # Drafts your next Release notes as Pull Requests are merged into main + - uses: release-drafter/release-drafter@latest + with: + # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml + config-name: release-drafter.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}