Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit d939423

Browse files
HarshitOnGitHublafriks
authored andcommitted
Update SDK to include head_commit in PushPayload. (#131)
1 parent d95a6e0 commit d939423

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitea/hook.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ type PushPayload struct {
371371
After string `json:"after"`
372372
CompareURL string `json:"compare_url"`
373373
Commits []*PayloadCommit `json:"commits"`
374+
HeadCommit *PayloadCommit `json:"head_commit"`
374375
Repo *Repository `json:"repository"`
375376
Pusher *User `json:"pusher"`
376377
Sender *User `json:"sender"`

0 commit comments

Comments
 (0)