We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b579e8 commit 6ed8967Copy full SHA for 6ed8967
lefthook.yml
@@ -42,3 +42,25 @@ commit-msg:
42
commands:
43
commitlint:
44
run: pnpm commitlint --edit {1} --config commitlint.config.js
45
+
46
+post-merge:
47
+ follow: true
48
+ commands:
49
+ check-pnpm-lock:
50
+ run: |
51
+ if git diff --quiet HEAD^ HEAD -- pnpm-lock.yaml; then
52
+ echo pnpm-lock.yaml 已更新,运行 pnpm install ...
53
+ pnpm install
54
+ fi
55
56
+post-checkout:
57
58
59
60
61
+ if [ {3} -eq 1 ]; then
62
+ if git diff --quiet {1} {2} -- pnpm-lock.yaml; then
63
64
65
66
0 commit comments