chore: ⚗️ Add debug information to license headers

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
Javier Salmeron Garcia
2023-08-08 13:35:08 +02:00
parent c0ae702a65
commit c2323801f4

View File

@@ -41,10 +41,13 @@ jobs:
local -r path="${1:?missing path}"
local -r excluded_paths=("/crds/")
for excluded_path in "${excluded_paths[@]}"; do
echo "Checking if ${path} includes ${excluded_path}"
if [[ "${path}" =~ ${excluded_path} ]]; then
echo "included!"
return 0
fi
done
echo "not included"
return 1
}
while read -r file_changed; do