Skip to content

Linting 1 commits

Linting 1 commits #262

Workflow file for this run

name: Commit lint
run-name: Linting ${{ github.event.pull_request.commits }} commits
on:
pull_request:
types:
- opened
- synchronize
jobs:
lint:
name: Lint commit messages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci --no-optional
- run: npx commitlint --from=${{ github.event.pull_request.base.sha }}