Skip to content

Commit 65fef71

Browse files
feat: pass base_ref for linking removed changes to base branch
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 23d69c3 commit 65fef71

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pr-comment/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ payload=$(jq -n \
5757
--arg repo "$repo" \
5858
--argjson pr "$pr_number" \
5959
--arg sha "$GITHUB_SHA" \
60+
--arg base_ref "$GITHUB_BASE_REF" \
6061
--argjson changes "$changes" \
61-
'{github: {token: $token, owner: $owner, repo: $repo, pull_number: $pr, head_sha: $sha}, changes: $changes}')
62+
'{github: {token: $token, owner: $owner, repo: $repo, pull_number: $pr, head_sha: $sha, base_ref: $base_ref}, changes: $changes}')
6263

6364
# POST to oasdiff-service
6465
response=$(curl -s -w "\n%{http_code}" -X POST \

0 commit comments

Comments
 (0)