Signed-off-by: Ivan Schaller <ivan@schaller.sh>
This commit is contained in:
parent
1283d83060
commit
8e168c4d88
1 changed files with 33 additions and 0 deletions
33
.gitea/workflows/update_changelog.yml
Normal file
33
.gitea/workflows/update_changelog.yml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
name: update changelog
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*.*.*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-changelog:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
ref: master
|
||||||
|
|
||||||
|
- name: install auto-changelog
|
||||||
|
run: npm install auto-changelog
|
||||||
|
|
||||||
|
- name: generate changelog
|
||||||
|
run: >-
|
||||||
|
npx auto-changelog -t keepachangelog
|
||||||
|
--commit-limit 50 --backfill-limit 50
|
||||||
|
--ignore-commit-pattern '[Bb]ump version|[Uu]pdate changelog|[Mm]erge pull request'
|
||||||
|
|
||||||
|
- name: commit and push changelog
|
||||||
|
uses: EndBug/add-and-commit@v9
|
||||||
|
with:
|
||||||
|
add: CHANGELOG.md
|
||||||
|
message: "[bot] update changelog"
|
||||||
|
author_name: actions-bot
|
||||||
|
author_email: actions@bots.44net.ch
|
Loading…
Reference in a new issue