Skip to content

Commit 9595c59

Browse files
authored
Merge branch 'main' into reverse-build-tool-deps
2 parents ceeeaef + f10f150 commit 9595c59

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/validation.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ jobs:
352352
353353
version_change="0.0.0"
354354
355+
summary=()
355356
for file in ${diff_files}
356357
do
357358
echo " Verifying file '${file}'..."
@@ -360,9 +361,20 @@ jobs:
360361
if [[ "${version_change}" < "${temp_version_change}" ]]; then
361362
version_change=${temp_version_change}
362363
fi
364+
365+
if [[ "${temp_version_change}" > "0.0.1" ]]; then
366+
summary+=("${file} :: ${temp_version_change}")
367+
fi
363368
done
364-
369+
365370
echo "Discovered version change: ${version_change}"
371+
372+
if [[ "${version_change}" > "0.0.1" ]]; then
373+
echo "### Significant API changes summary" >> $GITHUB_STEP_SUMMARY
374+
echo "" >> $GITHUB_STEP_SUMMARY
375+
echo "" >> $GITHUB_STEP_SUMMARY
376+
printf '%s\n' "${summary[@]}" >> $GITHUB_STEP_SUMMARY
377+
fi
366378
367379
# Get current labels
368380
current_labels=$(gh api repos/${{ github.repository }}/issues/${{ env._PR_NUMBER }}/labels --jq '.[].name')

0 commit comments

Comments
 (0)