Commit Graph

14 Commits

Author SHA1 Message Date
binkkatal 2d55603413 Add fields in PushPayload for repository owner
All other webhook events have all the repository owner fields except push event.
This commit adds owner fields in `PushPayload`
```
Login             string `json:"login"`
ID                int64  `json:"id"`
AvatarURL         string `json:"avatar_url"`
GravatarID        string `json:"gravatar_id"`
URL               string `json:"url"`
HTMLURL           string `json:"html_url"`
FollowersURL      string `json:"followers_url"`
FollowingURL      string `json:"following_url"`
GistsURL          string `json:"gists_url"`
StarredURL        string `json:"starred_url"`
SubscriptionsURL  string `json:"subscriptions_url"`
OrganizationsURL  string `json:"organizations_url"`
ReposURL          string `json:"repos_url"`
EventsURL         string `json:"events_url"`
ReceivedEventsURL string `json:"received_events_url"`
Type              string `json:"type"`
SiteAdmin         bool   `json:"site_admin"`
```
2018-07-08 16:47:39 +05:30
Corey Brooks d9e847f7ea Make Logger interface more flexible 2018-06-21 09:28:35 -07:00
Pedro Pombeiro 8f6fada23d Add support for ping events 2018-01-16 10:15:54 +01:00
Pedro Pombeiro 94f9d6694d Add support for installation and integration_installation events 2018-01-16 10:15:29 +01:00
Dean Karn 5ed22cdd66 Initial GitHub Webhook revamp 2017-04-21 19:45:07 -04:00
Dean Karn 2e471dc89c Update MergerRequestEvents to MergeRequestEvents 2017-04-21 16:11:04 -04:00
Dean Karn 1e0ece40df cleanup imports + README for v2 2016-10-20 19:51:20 -04:00
Lars Lehtonen 16a6ac7a61 Added http headers as another param to ProcessPayloadFunc 2016-10-20 15:53:15 -07:00
joeybloggs b65e549d95 Add timeout for server start for tests
* updated a few ports in the examples, just so can copy, paste and run
locally without modification.
2015-11-02 10:20:44 -05:00
joeybloggs f4b17062b8 Fix some bad URL bad copy/replace 2015-10-30 14:22:19 -04:00
joeybloggs 6da0829ced rework for moving of repo to go-playground 2015-10-30 14:00:25 -04:00
joeybloggs 9af9035c2b Add Coverage Tests to GitHub webhooks 2015-10-30 12:19:06 -04:00
joeybloggs c6507a6c00 Add Processing + registration functionality
* Also updated/added comments
2015-10-29 16:53:20 -04:00
joeybloggs 28bd4943bc Finished adding GitHub Event mapping structs 2015-10-29 12:26:29 -04:00