diff options
author | Robin van Boven <497556+Beanow@users.noreply.github.com> | 2019-07-10 02:26:19 +0200 |
---|---|---|
committer | ᴊ. ᴄʜᴇɴ <u@gogs.io> | 2019-07-09 17:26:19 -0700 |
commit | 798636c95b207fc97a785ce545d7af7197361447 (patch) | |
tree | bf00cd0f6f8ccc1c934cf6f2f0e1b53b95851f8d /vendor/github.com/gogs | |
parent | 25fdf6cb1615227932209edc64be4b4c37064d1b (diff) |
Include the Sha in webhook create payloads. (#5689)
Diffstat (limited to 'vendor/github.com/gogs')
-rw-r--r-- | vendor/github.com/gogs/go-gogs-client/repo_hook.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/github.com/gogs/go-gogs-client/repo_hook.go b/vendor/github.com/gogs/go-gogs-client/repo_hook.go index 3d06b9fc..7f878915 100644 --- a/vendor/github.com/gogs/go-gogs-client/repo_hook.go +++ b/vendor/github.com/gogs/go-gogs-client/repo_hook.go @@ -114,6 +114,7 @@ var ( type CreatePayload struct { Ref string `json:"ref"` RefType string `json:"ref_type"` + Sha string `json:"sha"` DefaultBranch string `json:"default_branch"` Repo *Repository `json:"repository"` Sender *User `json:"sender"` |