From 2f3c1a8222341c7f19dcf8ce2f095b9ada8993e8 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 29 Dec 2018 17:34:05 +0800 Subject: [PATCH] add commit file status --- 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