Get latest release
Read the newest published release (drafts and pre-releases are skipped).
Command in the GitHub toolkit · id ooa.github/get_latest_release · 4 inputs (3 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Endpoint address | String | No | https://api.github.com | API address. Keep the default for github.com; for GitHub Enterprise Server use https://github.yourcompany.com/api/v3. |
| Token | Credential | Yes | Personal access token or app token from the vault, with access to the repository. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Owner | String | Yes | User or organization that owns the repository, e.g. acme-corp. | |
| Repo | String | Yes | Repository name without the owner, e.g. billing-service. |
Outputs
| Output | Type | What it is |
|---|---|---|
| release | Dictionary | id, tag, name, notes, published_at, author, url, assets (list of file names). |
| tag | String | Tag of the release, e.g. v2.4.0. |