Update README.md #865
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update CHANGELOG | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
jobs: | |
generate_changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Fetch changes | |
run: git fetch --prune --tags --unshallow | |
- | |
name: Install git-chglog | |
# v1 | |
uses: craicoverflow/install-git-chglog@6d338c1d96dcbf12a2115fbe8e5b9817293aae33 | |
- | |
name: Generate a CHANGELOG | |
run: git-chglog -o CHANGELOG.md | |
# v4 | |
- uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a | |
with: | |
branch: main | |
file_pattern: CHANGELOG.md | |
commit_message: 'chore: update CHANGELOG' |