Merge pull request #71 from mowi12/dependabot/uv/textual-8.2.8 #121
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: PR Quality Checks | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint-pr: | |
| name: Lint PR Commits | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set Up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "24" | |
| - name: Install commitlint | |
| run: npm install -D -g @commitlint/cli @commitlint/config-conventional | |
| - name: Print Versions | |
| run: | | |
| git --version | |
| node --version | |
| npm --version | |
| npx commitlint --version | |
| - name: Validate Current Commit (Last Commit) | |
| if: github.event_name == 'push' | |
| run: npx commitlint --config commitlint.config.js --last --verbose | |
| - name: Validate PR Commits | |
| if: github.event_name == 'pull_request' | |
| run: npx commitlint --config commitlint.config.js --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose |