github_releases_update
Update a GitHub release's details such as name, body, or draft status. Omitted fields stay unchanged; set draft to false to publish.
Instructions
Update a release; anything omitted is left unchanged. Publishing a draft is this call with draft: false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Text describing the contents of the tag. | |
| name | No | The name of the release. | |
| repo | Yes | The name of the repository without the `.git` extension. The name is not case sensitive. | |
| draft | No | `true` to make this a draft (unpublished) release, `false` to publish it. Setting it to `false` is how a draft is published. | |
| owner | Yes | The account owner of the repository. The name is not case sensitive. | |
| tagName | No | The name of the tag. | |
| releaseId | Yes | The unique identifier of the release. | |
| makeLatest | No | Whether this release should be set as the latest release for the repository — a string, not a boolean. Drafts and prereleases cannot be set as latest. | |
| prerelease | No | `true` to identify the release as a prerelease. | |
| targetCommitish | No | Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. | |
| discussionCategoryName | No | If specified, a discussion of the specified category is created and linked to the release. |