Create changelog.yml
This commit is contained in:
parent
14d49a6342
commit
265f8809b8
1 changed files with 23 additions and 0 deletions
23
.github/workflows/changelog.yml
vendored
Normal file
23
.github/workflows/changelog.yml
vendored
Normal 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
|
Loading…
Reference in a new issue