Files
service-catalog/charts/kubeflow/run_yamllint.sh
T
2025-01-13 02:31:27 +00:00

11 lines
225 B
Bash

#!/bin/bash
if [ -s changed_files_in_PR.txt ]; then
while IFS= read -r file; do
echo "Running yamllint on $file"
yamllint "$file"
done < changed_files_in_PR.txt
else
echo "No YAML files changed in this PR."
fi