feat(gitea): pass commit_id explicitly in PostReview (#107) #112
+1
-1
@@ -262,7 +262,7 @@ func (c *Client) GetFileContentRef(ctx context.Context, owner, repo, filepath, r
|
|||||||
}
|
}
|
||||||
|
|
||||||
// PostReview submits a review to a PR and returns the created review.
|
// PostReview submits a review to a PR and returns the created review.
|
||||||
// event should be "APPROVED" or "REQUEST_CHANGES".
|
// event should be one of "APPROVED", "REQUEST_CHANGES", or "COMMENT".
|
||||||
// commitID anchors the review to a specific commit SHA. If empty, Gitea
|
// commitID anchors the review to a specific commit SHA. If empty, Gitea
|
||||||
// defaults to the current PR head.
|
// defaults to the current PR head.
|
||||||
// comments are optional inline comments attached to specific lines.
|
// comments are optional inline comments attached to specific lines.
|
||||||
|
|||||||
Reference in New Issue
Block a user