From 140df7f34c05d0d7e5b03c2b4a7d38690b3a5152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20=22BKC=22=20Carlb=C3=A4cker?= Date: Tue, 29 Nov 2016 08:37:12 +0100 Subject: [PATCH] Tag-hooks are useless without the shasum (#21) --- gitea/repo_hook.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gitea/repo_hook.go b/gitea/repo_hook.go index 80df75c..3367d2a 100644 --- a/gitea/repo_hook.go +++ b/gitea/repo_hook.go @@ -116,6 +116,7 @@ var ( // CreatePayload FIXME type CreatePayload struct { Secret string `json:"secret"` + Sha string `json:"sha"` Ref string `json:"ref"` RefType string `json:"ref_type"` Repo *Repository `json:"repository"`