Skip to content

chore: update GitHub Actions #42

chore: update GitHub Actions

chore: update GitHub Actions #42

Workflow file for this run

name: Changelog
on:
push:
branches: [ master ]
jobs:
update-changelog:
name: Update changelog
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: master
- uses: Bpazy/setup-git-chglog@v1
- name: git-chglog version
run: git chglog --version
- name: Generate changelog
run: git chglog | tee CHANGELOG.md
- name: Commit
run: |
git config user.email ""
git config user.name "GitHub Action Bot"
git diff -- CHANGELOG.md
git add CHANGELOG.md
git commit -m "chore: update CHANGELOG [skip ci]" && git push origin master || true