Github Set Pr Draft
github_set_pr_draftChange a pull request's review state to draft or ready. Updates status directly via GraphQL to avoid recreating the PR for draft mode.
Instructions
Moves a pull request between draft and ready for review. REST accepts draft only when the pull request is created, so this goes through GraphQL.
Workflow and conventions: github_get_skill('pr-management').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | Yes | True puts the pull request back into draft, False marks it ready for review | |
| pr_number | Yes | ||
| repo_name | Yes | ||
| repo_owner | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||