GitHub Action for linting PR titles. It validates PR title against Conventional Commits rules.
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
See LICENSE file for details.