diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-02 03:11:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-02 03:11:35 +0300 |
commit | d1bc31b8d5eba0c27d888245d5c8d3b557ebd5c6 (patch) | |
tree | 8937df23daabbd96537415114ef694beca737225 /scripts | |
parent | e415571a6e766e961cd49a0ac92576c460a49e4d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/lint-doc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lint-doc.sh b/scripts/lint-doc.sh index 57664240c11..46d7159d71f 100755 --- a/scripts/lint-doc.sh +++ b/scripts/lint-doc.sh @@ -143,7 +143,7 @@ then ruby -r './tooling/lib/tooling/find_changes' -e "Tooling::FindChanges.new( from: :api, 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" if grep -E "\.vale|\.markdownlint|lint-doc\.sh|docs\.gitlab-ci\.yml" < $DOC_CHANGES_FILE then |