Skip to content

Fix: Fix example

Fix: Fix example #251

Workflow file for this run

name: Check PR titles using commitlint
on:
pull_request:
types: [edited, opened, reopened, synchronize]
jobs:
check-pr-title:
name: Check PR title
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm install -g --force commitlint @commitlint/cli commitlint-plugin-cleanfeet
- run: npm install conventional-changelog-conventionalcommits
- run: touch .git/COMMIT_EDITMSG
- run: echo "${{ github.event.pull_request.title }}" | commitlint