Skip to content

Commit lint by dabrain34 #175

Commit lint by dabrain34

Commit lint by dabrain34 #175

Workflow file for this run

name: "Commit message validation"
run-name: Commit lint by ${{ github.actor }}
on:
pull_request:
branches:
- main
jobs:
commit-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install commitlint
run: npm install --save-dev @commitlint/cli
- name: Validate commit messages
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose