Create Release
github.create_release
ActionBusiness appsconnection required
Calls the GitHub API POST /repos/{owner}/{repo}/releases.
Publish a release for a tag, optionally as a draft or pre-release.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- GitHub
- Secret shape
- the GitHub personal access token
- Resolved by
- config.connection_id, else node.connection_id, else the tenant's sole GitHub connection
Configuration
9 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
owner Repository owner — the user or organisation login. Supports {{ }}. | string | Yes | — | — | octocat |
repo Repository name, without the owner prefix. Supports {{ }}. | string | Yes | — | — | hello-world |
tag_name Tag for the release. It is created from target_commitish if it does not exist. | string | Yes | — | — | v1.0.0 |
target_commitish Branch or commit the tag is created from. Defaults to the default branch. | string | No | — | — | — |
name Release title. | string | No | — | — | — |
body Release notes (Markdown). | string | No | — | — | — |
draft Create it unpublished. | boolean | No | — | — | — |
prerelease Mark it as a pre-release. | boolean | No | — | — | — |
generate_release_notes Let GitHub generate notes and append them to body. | boolean | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"owner": "octocat",
"repo": "hello-world",
"tag_name": "v1.0.0"
}Output
One shape.
result
The declared fields, plus the rest of the resource as GitHub returned it.
Extra keys beyond the ones listed can appear.
| Field | Type | Example |
|---|---|---|
ok True when GitHub accepted the call. | boolean | true |
id Release id, used by the asset endpoints. | number | — |
tag_name Tag the release points at. | string | — |
name Release title. | string | — |
draft True while the release is unpublished. | boolean | — |
prerelease True for a pre-release. | boolean | — |
html_url Link to the release page. | string | — |
{
"draft": false,
"html_url": "",
"id": 0,
"name": "",
"ok": true,
"prerelease": false,
"tag_name": ""
}Solutions with GitHub
See Create Release run in a workflow.
In a technical demo we add the GitHub connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.