diff --git a/clang-format-diff.py b/.gitlab-ci/clang-format-diff.py similarity index 100% rename from clang-format-diff.py rename to .gitlab-ci/clang-format-diff.py diff --git a/.gitlab-ci/run-style-check-diff.sh b/.gitlab-ci/run-style-check-diff.sh index 2bd6f386e..651f384fa 100755 --- a/.gitlab-ci/run-style-check-diff.sh +++ b/.gitlab-ci/run-style-check-diff.sh @@ -9,7 +9,7 @@ ancestor_horizon=28 # days (4 weeks) source .gitlab-ci/search-common-ancestor.sh -git diff -U0 --no-color "${newest_common_ancestor_sha}" | ./clang-format-diff.py -binary "clang-format-11" -p1 +git diff -U0 --no-color "${newest_common_ancestor_sha}" | .gitlab-ci/clang-format-diff.py -binary "clang-format-11" -p1 ) exit_status=$?