mirror of
https://github.com/langgenius/dify-docs-archived.git
synced 2026-07-01 20:35:52 -04:00
121ad3b008
* Feat: add husky and test * Feat: add husky and test md file * Feat: add husky and test md file * Feat: add husky and test md file and test it * Feat: add husky and test md file and test it * Feat: update git commit -t parameters * Feat: delete husky * Feat: remove action's auto delation * Feat: update action file * Feat: delete test md file
11 lines
222 B
Bash
Executable File
11 lines
222 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# 运行语言检查脚本
|
|
if bash ./lang-check/git-diff.sh; then
|
|
# 检查通过,执行提交
|
|
git commit -m "$*"
|
|
else
|
|
# 检查失败
|
|
echo "Language check failed, commit aborted"
|
|
exit 1
|
|
fi |