Skip to content
代码片段 群组 项目
提交 3073a280 编辑于 作者: Evan Read's avatar Evan Read
浏览文件

Merge branch 'fix-file-filter-in-lint-doc' into 'master'

Fix file filter in lint-doc.sh

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/135780



Merged-by: default avatarEvan Read <eread@gitlab.com>
Approved-by: default avatarAmy Qualls <aqualls@gitlab.com>
Approved-by: default avatarNao Hashizume <nhashizume@gitlab.com>
Approved-by: default avatarJennifer Li <jli@gitlab.com>
Approved-by: default avatarEvan Read <eread@gitlab.com>
Co-authored-by: default avatarNiklas <mc.taucher2003@gmail.com>
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.
先完成此消息的编辑!
想要评论请 注册