Skip to content

CI: Change CI workflow trigger to pull_request #4

CI: Change CI workflow trigger to pull_request

CI: Change CI workflow trigger to pull_request #4

Workflow file for this run

name: CI
on:
pull_request:
permissions:
contents: read # for checkout
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch full history to check commit differences
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: Install dependencies
run: npm ci
- name: Validate all commits from push
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose