Skip to content

fix: build script for Vercel #845

fix: build script for Vercel

fix: build script for Vercel #845

Workflow file for this run

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