From 0fd362ba9105ec3ebf46e84a9ed3402419e65f6a Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Tue, 18 Feb 2025 11:42:03 +0100 Subject: [PATCH] Check dangling symlinks in the repository (cherry picked from commit f3087f129986b4034ffe6949008a8738717ed6c4) --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cc044f9e47..2ee8d01b56 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -534,6 +534,8 @@ misc: - if git grep SYSTEMTESTTOP -- ':!.gitlab-ci.yml'; then echo 'Please use relative paths instead of $SYSTEMTESTTOP.'; exit 1; fi - bash util/unused-headers.sh - bash util/xmllint-html.sh + # Check dangling symlinks in the repository + - if find . -xtype l | grep .; then exit 1; fi needs: [] artifacts: paths: