/repos/{owner}/{repo}/releases/{release_id}Update a release
Users with push access to the repository can edit a release.
[!NOTE] If the resolved target commit (the new value of
target_commitishif you are changing it, otherwise the existing target) adds or modifies any file under.github/workflows/relative to the repository's default branch, the authenticating token must be authorized to modify workflows. Otherwise, this endpoint returns404 Not Found; some authentication paths surface403 Resource not accessible by integrationinstead.
OAuth app tokens and personal access tokens (classic) need the workflow scope when the resolved target commit modifies workflow files. Fine-grained access tokens and GitHub App installation tokens also need the "Workflows" repository permission (write). The GITHUB_TOKEN available to GitHub Actions cannot be authorized for this; for more information, see "Automatic token authentication".
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
A 404 is returned: Not Found if the discussion category name is invalid.