You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
feat: convert mark_pr_ready_for_review to set_pr_status tool
- Replace mark_pr_ready_for_review with set_pr_status tool- Add bidirectional PR status changes (draft ↔ ready_for_review)- Use enum parameter for status: "draft", "ready_for_review"- Implement GraphQL mutations for both directions- Add comprehensive test suite with 8 test scenarios- Remove deprecated MarkPullRequestReadyForReview functionAddresses user feedback to provide enum-based PR status managementwith support for setting PRs to both draft and ready-for-review states.
mcp.WithDescription(t("TOOL_MARK_PR_READY_FOR_REVIEW_DESCRIPTION","Mark a draftpull requestas ready forreview. Use this to change a pull request from draftstateto readyforreview.")),
1610
+
//SetPRStatus creates a tool tosetpull requeststatus between draft and ready-for-review states.
1611
+
// This uses the GraphQL API because the REST API does not support changing PR draftstatus.
mcp.WithDescription(t("TOOL_SET_PR_STATUS_DESCRIPTION","Setpull requeststatus between draft and ready-for-review states. Use this to change a pull request from draft to ready-for-review or vice versa.")),
1615
1615
mcp.WithToolAnnotation(mcp.ToolAnnotation{
1616
-
Title:t("TOOL_MARK_PR_READY_FOR_REVIEW_USER_TITLE","Mark pull requestready for review"),