Commit Graph

30 Commits

Author SHA1 Message Date
Anton Krivenko 9d685f3a73 Merge pull request #106 from wrewolf/patch-1
Added support draft pull request for github
2021-01-04 22:37:19 +03:00
Aleksey Andreyanov ee81f21da7 Add correct X-Hub-Signature for PullRequestEvent test 2020-12-08 14:49:12 +03:00
Dr.MagPie 03cee75fc3 Updated Signature 2020-12-08 00:23:31 +02:00
chhsia0 3007a7f5c2 Added supported for GitHub pull request comments. 2019-10-26 10:00:18 -07:00
Tom Anderson 26af15f0e6 Adding support for event integration_installation_repositories 2019-08-01 14:15:31 -07:00
jrousseau 43ffb318d2 Add repository vulnerability alert event 2019-05-22 14:09:39 +02:00
John Maguire ebe6b8d143 Add test for security_advisory 2019-04-17 16:09:34 +01:00
Alex Mukho 4c7b9ae07d check_run and check_suite webhooks support 2019-03-18 18:15:03 +02:00
Elliot Maincourt bba5196bce [Github] Add installation_repositories event (#55)
I've recently been using your type definitions while playing around with
the Github Webhooks and I realised the `install_repositories` event was
missing. I've added it and updated the tests.
2019-01-08 20:19:54 -08:00
Dean Karn 8bd2d158e5 parallelized GitHub tests 2018-08-03 22:52:51 -07:00
Dean Karn 5009b13eac move fixtures to testdata dir 2018-08-03 20:28:38 -07:00
Dean Karn fe5cf5a911 test working 2018-07-31 08:46:17 -07:00
Dean Karn 1d0289a3ae temp checkin 2018-07-26 08:54:32 -07:00
Dean Karn 077706a514 Converted GitHub 2018-07-25 22:05:43 -07:00
binkkatal 443e255708 Fix failing TestCommitCommentEvent
Due to a slight change in the payload , the ssh for payload changed.
This was the reason for failing test case
2018-07-14 11:38:41 +05:30
binkkatal eb56c26534 Skip TestCommitCommentEvent 2018-07-14 11:30:50 +05:30
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