mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
chore: enforce PR title format with PRLint Reloaded
This commit is contained in:
parent
5f655f1d53
commit
53d1382e3c
8
.github/prlint.json
vendored
Normal file
8
.github/prlint.json
vendored
Normal file
@ -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."
|
||||
}
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user