Skip to content

Suggesting a better name #18

Suggesting a better name

Suggesting a better name #18

Workflow file for this run

name: PR Lint
on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']
jobs:
prlint-reloaded:
runs-on: ubuntu-latest
steps:
- uses: maor-rozenfeld/prlint-reloaded@v1
with:
title-regex: ^[A-Z][a-z]+?\s
error-message: Your title must start with a capital letter, and a real word, e.g. 'Add GO support'
- uses: maor-rozenfeld/prlint-reloaded@v1
with:
title-regex: ^\S+\s+\S+\s+\S+
error-message: Your title must have at least three words
- uses: maor-rozenfeld/prlint-reloaded@v1
with:
title-regex: ^(?!\S+ing\s)(?!\S+ed\s)
error-message: Use imperative mood (i.e write "Fix", not "Fixed" or "Fixing")