From f8412eaf13a658a3e01ce2d3e041800adda7576e Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Tue, 2 Feb 2021 09:32:41 +0200 Subject: [PATCH] Add release-drafter (#2055) * add release-drafter Signed-off-by: Jari Kolehmainen * add release-drafter Signed-off-by: Jari Kolehmainen * fix token Signed-off-by: Jari Kolehmainen --- .github/release-drafter.yml | 14 ++++++++++++++ .github/workflows/release-drafter.yml | 19 +++++++++++++++++++ 2 files changed, 33 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 0000000000..606bf962a6 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,14 @@ +categories: + - title: '🚀 Features' + labels: + - 'enhancement' + - title: '🐛 Bug Fixes' + labels: + - 'bug' + - title: '🧰 Maintenance' + label: 'chore' + +template: | + ## Changes since $PREVIOUS_TAG + + $CHANGES diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000000..8c3183b988 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,19 @@ +name: Release Drafter + +on: + push: + # branches to consider in the event; optional, defaults to all + branches: + - master + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + # Drafts your next Release notes as Pull Requests are merged into "master" + - uses: release-drafter/release-drafter@v5 + with: + # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml + # config-name: my-config.yml + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}