Create milestone
gh_create_milestoneCreate a repository milestone with title, description, due date, and open/closed state, then verify creation via readback. Ensures exactly one milestone per attempt without retry.
Instructions
Additive write: create exactly one repository milestone with bounded title, description, due date, and explicit open/closed state after ordinary write authorization. One mutation attempt is followed by authoritative readback of the stable milestone number and requested fields; ambiguous creation is never retried automatically. It does not assign issues to the milestone or edit existing milestones.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | GitHub repository name without the owner prefix. | |
| owner | Yes | GitHub repository owner or organization login. | |
| state | No | Initial milestone state. | open |
| title | Yes | Milestone title. | |
| due_on | No | Optional ISO-8601 milestone due date/time. | |
| description | No | Optional milestone description. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| title | Yes | ||
| number | Yes | ||
| message | Yes | ||
| warning | No | ||
| request_id | No | ||
| write_completed | Yes | ||
| readback_completed | Yes | ||
| precondition_checked | Yes | ||
| state_matches_requested | Yes |