Skip to content

chore(deps): Bump zustand from 4.5.7 to 5.0.14 in /ui #47

chore(deps): Bump zustand from 4.5.7 to 5.0.14 in /ui

chore(deps): Bump zustand from 4.5.7 to 5.0.14 in /ui #47

name: Check Changelog
on:
pull_request:
types: [assigned, opened, synchronize, reopened, labeled, unlabeled]
branches:
- main
jobs:
check-changelog:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Skip changelog enforcement for Dependabot
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
run: echo "Dependabot PR detected; changelog update not required."
- name: Checkout
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check if files have changed
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
run: |
FILES_CHANGED=$(git diff --name-only origin/main...HEAD | grep -E 'CHANGELOG\.md' -c)
if [ "$FILES_CHANGED" != "1" ]; then echo "Remember to update CHANGELOG.md"; exit 1; fi;