Skip to content

chore(deps): bump the dependencies group across 1 directory with 17 u… #107

chore(deps): bump the dependencies group across 1 directory with 17 u…

chore(deps): bump the dependencies group across 1 directory with 17 u… #107

name: Update Changelog
on:
push:
branches:
- '**'
- '!main'
paths-ignore:
- CHANGELOG.md
- package.json
- src-tauri/tauri.conf.json
- src-tauri/Cargo.toml
permissions:
contents: write
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
update-changelog:
if: github.actor != 'dependabot[bot]'
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
- name: Add commits to Unreleased section
run: |
node scripts/changelog.mjs add-commits \
"${{ github.event.before }}" \
"${{ github.event.after }}"
- name: Commit changelog update
shell: bash
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add CHANGELOG.md
if git diff --staged --quiet; then
echo "No changelog changes to commit."
else
git commit -m "docs: update changelog [skip ci] [dependabot skip]"
git push
fi