/lint-pr-title

GitHub Action for linting PR titles

Primary LanguageTypeScriptMIT LicenseMIT

lint-pr-title

GitHub Action for linting PR titles. It validates PR title against Conventional Commits rules.

Usage

Create a new GH workflow, e.g. .github/workflows/prLinter.yml:

name: Lint PR title
on:
  pull_request:
    types: [opened, reopened, edited, synchronize]

jobs:
  lint:
    name: Lint PR title
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: comandeer/lint-pr-title@v1

License

See LICENSE file for details.