From ac2347ab3789dd06b6d87fc8d262882af85ec810 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 9db237073e..2c4b2d32ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -529,6 +529,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: