Support left-file coordinates in repo_create_pull_request_thread #1572
LycheeCattie (LycheeCattie)
started this conversation in
Backlog of Suggestions
Replies: 1 comment
|
This is not something that has been requested by anyone else. I am going to add this to our backlog for future consideration if it gets more users asking for it. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Extend
repo_create_pull_request_threadto support left-file coordinates so automated PR reviewers can create inline comment threads on deleted files. Deleted content only exists on the left (base) side of a diff, so right-file coordinates alone are insufficient for anchoring comments on removed lines.Parameters
Add the following optional parameters to
repo_create_pull_request_thread(create action), mirroring the existing right-file coordinate support:leftFileStartLineleftFileStartOffsetleftFileEndLineleftFileEndOffsetThese should map to the Azure DevOps
CommentThreadContextfieldsleftFileStartandleftFileEnd, which are already supported by:GitApi.createThread/CommentThreadContext)Rules
Special treat
All reactions