]> git.ipfire.org Git - thirdparty/git.git/commit
gitlab-ci: add whitespace error check
authorJustin Tobler <jltobler@gmail.com>
Fri, 3 May 2024 17:21:07 +0000 (12:21 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 3 May 2024 19:11:49 +0000 (12:11 -0700)
commit8f19e82c5b313a1518119cc4b31c32ec3001b967
tree0287130f1124305fc0dfd5775616bd05f1ef01c3
parent9bef98096c1a58ec0f0e793a282374b50a43eaab
gitlab-ci: add whitespace error check

GitLab CI does not have a job to check for whitespace errors introduced
by a set of changes. Reuse the existing generic `whitespace-check.sh` to
create the job for GitLab pipelines.

Note that the `$CI_MERGE_REQUEST_TARGET_BRANCH_SHA` variable is only
available in GitLab merge request pipelines and therefore the CI job is
configured to only run as part of those pipelines.

Signed-off-by: Justin Tobler <jltobler@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitlab-ci.yml