Skip to content

Commit 80920c0

Browse files
committed
chore: update husky prepare script and remove commit script
1 parent c49ec0e commit 80920c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/pr-check.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,5 @@ jobs:
3232
run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
3333
# 检查 PR 中的所有提交信息是否符合规范
3434
# base.sha 是 PR 的起始点
35-
# head.sha 是 PR 的最新提交
35+
# head.sha 是 PR 的最新提交
36+

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
"license": "node .knosys/scripts license add",
2020
"doc": "node .knosys/scripts site",
2121
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
22-
"prepare": "husky install",
23-
"commit": "git-cz"
22+
"prepare": "husky"
2423
},
2524
"config": {
2625
"commitizen": {

0 commit comments

Comments
 (0)