Create changelog.yml

This commit is contained in:
Christopher Beckmann 2022-09-16 14:02:36 +02:00 committed by GitHub
parent 14d49a6342
commit 265f8809b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

23
.github/workflows/changelog.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: Changelog Generation
on:
release:
types: [published, released]
workflow_dispatch:
jobs:
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
ref: master
- uses: rhysd/changelog-from-release/action@v3
with:
file: CHANGELOG.md
github_token: ${{ secrets.GITHUB_TOKEN }}
commit_summary_template: 'update changelog for %s changes'
args: -l 2
header: |
# Changelog