From f87735c62398ee6f7fab54f7fc229bf2525d501e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Le=20Meur?= Date: Sat, 28 Oct 2023 11:47:36 +0200 Subject: [PATCH] fixup: add `release-drafter` workflow --- .github/workflows/release-drafter.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..ab8fa9f --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,25 @@ +# Automates creation of Release Drafts using Release Drafter +# Note: additional setup is required, see https://github.com/jenkinsci/.github/blob/master/.github/release-drafter.adoc + +name: Release Drafter (Changelog) + +on: + push: + branches: + - master + # Allow to be run manually + workflow_dispatch: + # Prepare the new "next release" once a release is created + release: + +# Only allow 1 release-drafter build at a time to avoid creating multiple "next" releases +concurrency: "release-drafter" + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + # Drafts your next Release notes as Pull Requests are merged into the default branch + - uses: release-drafter/release-drafter@v5.25.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}