Skip to content

Commit

Permalink
Update merge-gates-reports.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Dec 17, 2024
1 parent bc79a41 commit e406c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/merge-gates-reports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ for report in ./reports/*; do
# The report is saved under ./$REPORT_NAME_{ matrix_report }/$REPORT_NAME_{ matrix_report }.json
FILE_PATH=$(echo $(ls $report))

# Extract the $NAME_PLURAL array from each report and merge it
# Extract the programs array from each report and merge it
combined_reports=$(jq --argjson COMBINED_REPORTS "$combined_reports" '.programs += $COMBINED_REPORTS.programs' <<< "$(cat "$report/$FILE_PATH")")
done

Expand Down

0 comments on commit e406c8f

Please sign in to comment.