pull-request-name-linter-action

Actions Status

Lints pull request names with commitlint.

Usage

name: lint-pr-names
on:
  pull_request:
    types: ['opened', 'edited', 'reopened', 'synchronize']

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: dislick/pull-request-name-linter-action

Limitations

  • Only works when storing commitlint config in commitlint.config.js
  • You cannot use extend in commitlint config