Skip to content
代码片段 群组 项目
未验证 提交 398965c3 编辑于 作者: Peter Leitzen's avatar Peter Leitzen
浏览文件

Let lefthook run yamllint also for *.ya?ml.*

This will match files like config/gitlab.yml.example.
上级 28c25351
No related branches found
No related tags found
无相关合并请求
......@@ -28,7 +28,7 @@ pre-push:
yamllint:
tags: backend style
files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
glob: '*.{yml,yaml}'
glob: '*.{yml,yaml}{,.*}'
run: scripts/lint-yaml.sh {files}
stylelint:
tags: stylesheet css style
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册