chore(deps): Bump zustand from 4.5.7 to 5.0.14 in /ui #47
This file contains hidden or 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: 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; |