chore: update deps #842
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: 'Changelog' | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- 'docs/**' | |
- '.github/**' | |
jobs: | |
generate_changelog: | |
name: Generate changelog | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Node | |
uses: actions/setup-node@v4 | |
- name: Install auto-changelog | |
run: npm install -g auto-changelog | |
- name: Run auto-changelog | |
run: auto-changelog --ignore-commit-pattern "^[Uu]pdate.*" | |
- name: Commit changelog | |
run: | | |
git config --global user.name 'Arnaud Ligny' | |
git config --global user.email 'arnaudligny@users.noreply.github.com' | |
if [ -z "$(git status --porcelain)" ]; then | |
echo "Nothing to do" | |
else | |
git commit -am "Update CHANGELOG" | |
git push origin master | |
fi |