Skip to content

Commit

Permalink
Merge pull request #8394 from paulbalandan/prlint-reloaded
Browse files Browse the repository at this point in the history
chore: enforce PR title format with PRLint Reloaded
  • Loading branch information
paulbalandan authored Jan 2, 2024
2 parents 5f655f1 + 53d1382 commit 3013218
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/prlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"title": [
{
"pattern": "^(\\[\\d+\\.\\d+\\]\\s{1})?(feat|fix|chore|docs|perf|refactor|style|test)(\\([\\-.@:`a-zA-Z0-9]+\\))?!?:\\s{1}\\S.+\\S$",
"message": "PR title must include the type (feat, fix, chore, docs, perf, refactor, style, test) of the commit per Conventional Commits specification. See https://www.conventionalcommits.org/en/v1.0.0/ for the discussion."
}
]
}

0 comments on commit 3013218

Please sign in to comment.