Skip to content

chore: fix contributing documentation #486

chore: fix contributing documentation

chore: fix contributing documentation #486

name: Conventional Commits Checker
on:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
lint-commits:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup NodeJS and NPM
uses: actions/setup-node@v2
with:
node-version: 16.13.2
- name: Add @commitlint
run: npm install -g @commitlint/cli @commitlint/config-conventional
- run: bin/conventional-commits.sh "${{ github.event.pull_request.title }}" ${{ github.event.pull_request.commits }}