set_pr_draft
Change a pull request's visibility by moving it into draft or marking it ready for review, bypassing REST limitations via GraphQL for immediate updates.
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.
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 | |||