Lints pull request names with commitlint.
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
- Only works when storing commitlint config in
commitlint.config.js
- You cannot use
extend
in commitlint config