Merge pull request #45 from lemeurherve/add-release-drafter

fixup: add `release-drafter` workflow
This commit is contained in:
Damien Duportal 2023-10-28 12:59:42 +02:00 committed by GitHub
commit b5b5da4e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 }}