We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60a91d5 commit be6fb42Copy full SHA for be6fb42
actions/docker/scan-docker-repo/action.yaml
@@ -245,7 +245,9 @@ runs:
245
ACTION_PATH: ${{ github.action_path }}
246
SUMMARIZE_DIR: ${{ inputs.summarize-dir }}
247
run: |
248
- find "${SUMMARIZE_DIR}" -name 'report-*' -type f |
249
- while read -r report_file; do
250
- "${ACTION_PATH}/summarize.sh" "${report_file}" >> "${SUMMARIZE_DIR}/00-reports-summary.txt"
251
- done
+ tmp_file="$(mktemp)"
+ find "${SUMMARIZE_DIR}" -name 'report-*' -type f -exec cat '{}' \; > "${tmp_file}"
+
+ "${ACTION_PATH}/summarize.sh" "${tmp_file}" > "${SUMMARIZE_DIR}/00-reports-summary.txt"
252
253
+ rm "${tmp_file}"
0 commit comments