Update astral-sh/setup-uv action to v8.3.2 #147
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 pull requests for changelog updates | |
| on: | |
| - pull_request | |
| permissions: | |
| contents: read | |
| jobs: | |
| check_changelog_updates: | |
| runs-on: ubuntu-latest | |
| if: "!contains(github.event.pull_request.labels.*.name, 'skip changelog')" | |
| name: Check CHANGELOG.md for updates | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check for CHANGELOG.md updates | |
| run: | | |
| FILES_CHANGED=$(git diff --name-only ${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }}) | |
| for i in $FILES_CHANGED | |
| do | |
| if [[ "$i" == "CHANGELOG.md" ]] | |
| then | |
| exit 0 | |
| fi | |
| done | |
| echo "ERROR: Please update CHANGELOG.md" | |
| exit 1 |