Skip to content

Merge pull request #71 from mowi12/dependabot/uv/textual-8.2.8 #121

Merge pull request #71 from mowi12/dependabot/uv/textual-8.2.8

Merge pull request #71 from mowi12/dependabot/uv/textual-8.2.8 #121

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