From 09af79ce216ddfbfbcbce09cc1b57696b92c28c7 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 1 Jan 2019 06:34:11 +0800 Subject: [PATCH] add commit file status (#135) --- gitea/hook.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gitea/hook.go b/gitea/hook.go index ee6e2b7..d36e4d4 100644 --- a/gitea/hook.go +++ b/gitea/hook.go @@ -160,6 +160,9 @@ type PayloadCommit struct { Verification *PayloadCommitVerification `json:"verification"` // swagger:strfmt date-time Timestamp time.Time `json:"timestamp"` + Added []string `json:"added"` + Removed []string `json:"removed"` + Modified []string `json:"modified"` } // PayloadCommitVerification represents the GPG verification of a commit