Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit b2308e3

Browse files
lunnyappleboy
authored andcommitted
add release hook types (#107)
1 parent 7fa627f commit b2308e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gitea/hook.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,8 @@ type HookReleaseAction string
327327
// all release actions
328328
const (
329329
HookReleasePublished HookReleaseAction = "published"
330+
HookReleaseUpdated HookReleaseAction = "updated"
331+
HookReleaseDeleted HookReleaseAction = "deleted"
330332
)
331333

332334
// ReleasePayload represents a payload information of release event.

0 commit comments

Comments
 (0)