Skip to content

Commit

Permalink
added more verbose debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
erjosito committed Oct 4, 2024
1 parent 1e3cb7c commit b5ddd6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/translatev2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b5ddd6f

Please sign in to comment.