From b5ddd6ffbfadd41897ba9bdcc3fe39b653ac750d Mon Sep 17 00:00:00 2001 From: Jose Moreno Date: Fri, 4 Oct 2024 15:40:27 +0200 Subject: [PATCH] added more verbose debugging --- .github/workflows/translatev2.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/translatev2.yml b/.github/workflows/translatev2.yml index 4f698c7b9..318d8b12d 100644 --- a/.github/workflows/translatev2.yml +++ b/.github/workflows/translatev2.yml @@ -53,13 +53,13 @@ jobs: clv2_file_list=${{ steps.variables.outputs.clv2_file_list }} echo "Checking impact of changes on files ${{ steps.variables.outputs.clv2_file_list }} to the following ${#clv2_file_list[@]} v2 checklists: ${clv2_file_list}..." for cl_file in $clv2_file_list; do - echo "Processing v2 checklist $cl_file..." + echo "Processing v2 checklist '${cl_file}'..." cl_name=$(echo $cl_file | cut -d/ -f4 | cut -d. -f1) cl_reco_files=$(python3 ./scripts/cl.py list-recos --input-folder ./v2/recos --checklist-file ./v2/checklists/alz.yaml --only-filenames) cl_reco_files_count=$(echo "$cl_reco_files" | wc -l) echo "$cl_reco_files_count reco files found referenced in the checklist $cl_file" for input_file in ${{ steps.files.outputs.all }}; do - echo "- Processing '$input_file'..." + echo "- Processing changed file '$input_file'..." if [[ "$cl_reco_files" == *"$input_file"* ]]; then echo " * Modification to file '$input_file' detected, which seems to be a reco leveraged by the checklist $cl_name in $cl_file" impacted_cl_files+="$cl_file"