Skip to content
代码片段 群组 项目
提交 714617ec 编辑于 作者: Niklas's avatar Niklas
浏览文件

Fix file filter in lint-doc.sh

上级 53073ea4
No related branches found
No related tags found
无相关合并请求
...@@ -143,7 +143,7 @@ then ...@@ -143,7 +143,7 @@ then
ruby -r './tooling/lib/tooling/find_changes' -e "Tooling::FindChanges.new( ruby -r './tooling/lib/tooling/find_changes' -e "Tooling::FindChanges.new(
from: :api, from: :api,
changed_files_pathname: '${DOC_CHANGES_FILE}', changed_files_pathname: '${DOC_CHANGES_FILE}',
file_filter: ->(file) { !file['deleted_file'] && file['new_path'] =~ %r{doc/.*|lint-doc\.sh|docs\.gitlab-ci\.yml} } file_filter: ->(file) { !file['deleted_file'] && file['new_path'] =~ %r{doc/.*\.md|lint-doc\.sh|docs\.gitlab-ci\.yml} }
).execute" ).execute"
if grep -E "\.vale|\.markdownlint|lint-doc\.sh|docs\.gitlab-ci\.yml" < $DOC_CHANGES_FILE if grep -E "\.vale|\.markdownlint|lint-doc\.sh|docs\.gitlab-ci\.yml" < $DOC_CHANGES_FILE
then then
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册