fixup: add `release-drafter` workflow

This commit is contained in:
Hervé Le Meur 2023-10-28 11:47:36 +02:00
parent 856542539d
commit f87735c623
No known key found for this signature in database
GPG Key ID: D63ECCA17D00EFE6
1 changed files with 25 additions and 0 deletions

25
.github/workflows/release-drafter.yml vendored Normal file
View File

@ -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 }}