From fea654c5d04c963e0aeecd4346937840f930659d Mon Sep 17 00:00:00 2001 From: tosone Date: Mon, 27 Dec 2021 16:54:47 +0800 Subject: [PATCH] fix tag push event struct --- gitee/hook_event_types.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gitee/hook_event_types.go b/gitee/hook_event_types.go index 1fa3dc2..3b570cd 100644 --- a/gitee/hook_event_types.go +++ b/gitee/hook_event_types.go @@ -97,6 +97,5 @@ type PullRequestEvent struct { Password *string `json:"password,omitempty"` } -type TagPushEvent struct { - Action *string `json:"action,omitempty"` -} +// TagPushEvent ... +type TagPushEvent = PushEvent -- Gitee