From 1295c52a9929ad8b81e4f1c2ba00e5a1e622892b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 May 2020 21:15:54 -0700 Subject: [PATCH] feat: `release.released` action (#99) Co-authored-by: Octokit Bot --- cache/event-types-and-payloads.html | 4 ++-- index.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cache/event-types-and-payloads.html b/cache/event-types-and-payloads.html index 926c28626..b301d20fc 100644 --- a/cache/event-types-and-payloads.html +++ b/cache/event-types-and-payloads.html @@ -8231,7 +8231,7 @@

ReleaseEvent

-

Triggered when a release is published, unpublished, created, edited, deleted, or prereleased.

+

Triggered when a release is published, unpublished, created, edited, deleted, prereleased, or released.

Events API payload

@@ -8248,7 +8248,7 @@

action string -The action that was performed. Currently, can be published, unpublished, created, edited, deleted, or prereleased. +The action that was performed. Can be one of:
- published: a release, pre-release, or draft of a release is published
- unpublished: a release or pre-release is deleted
- created: a draft is saved, or a release or pre-release is published without previously being saved as a draft
- edited: a release, pre-release, or draft release is edited
- deleted: a release, pre-release, or draft release is deleted
- prereleased: a pre-release is created
- released: a release or draft of a release is published, or a pre-release is changed to a release changes[body][from] diff --git a/index.json b/index.json index 5b0514a2d..1f80337cf 100644 --- a/index.json +++ b/index.json @@ -19873,13 +19873,14 @@ }, { "name": "release", - "description": "Triggered when a [release](https://developer.github.com/v3/repos/releases/#get-a-single-release) is `published`, `unpublished`, `created`, `edited`, `deleted`, or `prereleased`.", + "description": "Triggered when a [release](https://developer.github.com/v3/repos/releases/#get-a-single-release) is `published`, `unpublished`, `created`, `edited`, `deleted`, `prereleased`, or `released`.", "actions": [ "created", "deleted", "edited", "prereleased", "published", + "released", "unpublished" ], "examples": [