Skip to content

Generate Changelog

Generate Changelog #10

name: Generate Changelog
on:
push:
tags:
- '*' # Match any tag format, with or without 'v'
workflow_dispatch: # Allow manual runs
jobs:
generate-changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Generate changelog
uses: janheinrichmerker/action-github-changelog-generator@v2.4
with:
token: ${{ secrets.GITHUB_TOKEN }}
output: CHANGELOG.md
- name: Commit and push changes
if: success()
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add CHANGELOG.md
git commit -m "Update CHANGELOG.md for new release"
git push