ci: add pr header check (#1836)

This commit is contained in:
Himself65
2023-04-06 13:12:43 -05:00
committed by GitHub
parent 2e354ae59e
commit 773554bbac
4 changed files with 670 additions and 36 deletions

25
.commitlintrc.json Normal file
View File

@@ -0,0 +1,25 @@
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"scope-enum": [
2,
"always",
[
"electron",
"web",
"docs",
"component",
"workspace",
"env",
"cli",
"hooks",
"i18n",
"jotai",
"octobase-node",
"templates",
"y-indexeddb",
"debug"
]
]
}
}