Skip to content

Commit Lint

Commit Lint #4

Workflow file for this run

name: Commit Lint
on:
pull_request:
types: [opened, synchronize, reopened, edited]
permissions:
contents: read
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint commits
uses: wagoid/commitlint-github-action@v6
with:
configFile: commitlint.config.cjs
firstParent: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}