build(deps): bump vite to 5.0, fix multiple eslint errors (#239) #188
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 CI | |
on: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
generate-changelog: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.PAT_ACCESS }} | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '>=1.19.0' | |
- name: Install git-chglog | |
run: go install github.com/git-chglog/git-chglog/cmd/git-chglog@latest | |
- name: Pull changes | |
run: git pull origin main --rebase | |
- name: Generate changelog | |
run: git-chglog --next-tag 'Unreleased' --output CHANGELOG.md | |
- name: Commit changelog | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "chore(changelog): update CHANGELOG.md" | |
commit_options: '--no-verify --signoff' | |
file_pattern: CHANGELOG.md | |
push_options: --force |