Skip to content

Commit 9fa4fdc

Browse files
fix: write clickable review link to step summary
::notice:: annotations render as plain text in GitHub — URLs are not clickable. Also write a markdown link to GITHUB_STEP_SUMMARY so users get a clickable "Review & approve" link on the Actions run page. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 29c4bed commit 9fa4fdc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

breaking/entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ if [ -n "$breaking_changes" ]; then
111111
if [ -z "$head_sha" ]; then head_sha="$GITHUB_SHA"; fi
112112
free_review_url="https://www.oasdiff.com/review?owner=${owner}&repo=${repo}&base_sha=$(urlencode "$GITHUB_BASE_REF")&rev_sha=${head_sha}&base_file=$(urlencode "$base_path")&rev_file=$(urlencode "$rev_path")"
113113
echo "::notice::📋 Review & approve these breaking changes → ${free_review_url}"
114+
echo "### 📋 [Review & approve these breaking changes](${free_review_url})" >> "$GITHUB_STEP_SUMMARY"
114115
else
115116
write_output "No breaking changes"
116117
fi

0 commit comments

Comments
 (0)