PATCH
github_releases_update.py
from charter.packs import github
result = await github.releases_update.ainvoke({"owner": ..., "repo": ..., "releaseId": ...})
Requires
repo, read:user.Path parameters
| Field | Type | Description |
|---|---|---|
owner * | string | The account owner of the repository. The name is not case sensitive. |
repo * | string | The name of the repository without the .git extension. The name is not case sensitive. |
releaseId * | integer | The unique identifier of the release. |
Body
| Field | Type | Description |
|---|---|---|
tagName | string | The name of the tag. |
targetCommitish | string | 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. |
name | string | The name of the release. |
body | string | Text describing the contents of the tag. |
draft | boolean | true to make this a draft (unpublished) release, false to publish it. Setting it to false is how a draft is published. |
prerelease | boolean | true to identify the release as a prerelease. |
discussionCategoryName | string | If specified, a discussion of the specified category is created and linked to the release. |
makeLatest | MakeLatest | 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. |