Skip to content

Notes

Notes #8

name: Update Changelog
on:
push:
branches:
- main
jobs:
changelog:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Generate CHANGELOG.md
run: npm run changelog
- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore: update CHANGELOG.md'
file_pattern: CHANGELOG.md