mirror of
https://github.com/apache/superset.git
synced 2026-04-07 10:31:50 +00:00
chore: add support for prlint: a commit msg linter (#9655)
Sets up [PRLint](https://github.com/apps/prlint), with a single rule matching [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) Also modifying the PR template to remove redundant annoying checkbox section. Once we adopt, I'm hoping we can modify our bot to auto-label based on the commit type.
This commit is contained in:
committed by
GitHub
parent
04e3a4a72d
commit
65d185f153
13
.github/PULL_REQUEST_TEMPLATE.md
vendored
13
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -1,14 +1,3 @@
|
||||
### CATEGORY
|
||||
|
||||
Choose one
|
||||
|
||||
- [ ] Bug Fix
|
||||
- [ ] Enhancement (new features, refinement)
|
||||
- [ ] Refactor
|
||||
- [ ] Add tests
|
||||
- [ ] Build / Development Environment
|
||||
- [ ] Documentation
|
||||
|
||||
### SUMMARY
|
||||
<!--- Describe the change below, including rationale and design decisions -->
|
||||
|
||||
@@ -27,5 +16,3 @@ Choose one
|
||||
- [ ] Confirm DB Migration upgrade and downgrade tested.
|
||||
- [ ] Introduces new feature or API
|
||||
- [ ] Removes existing feature or API
|
||||
|
||||
### REVIEWERS
|
||||
|
||||
8
.github/prlint.json
vendored
Normal file
8
.github/prlint.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"title": [
|
||||
{
|
||||
"pattern": "^(build|ci|docs|feat|fix|perf|refactor|style|test|other)((.+))?:\\s.+",
|
||||
"message": "Your title needs to be prefixed with a topic."
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user