Liam Newman
8af66133d2
Switch to 'main' as default branch
2021-04-19 13:27:44 -07:00
Guillaume Smet
626574ae36
Add missing javadoc for GHEventPayload.WorkflowRun
2021-04-10 12:55:05 +02:00
Guillaume Smet
8c9eb3393b
Add label payload
2021-04-10 12:55:05 +02:00
Guillaume Smet
9abfdc805b
Add support for artifacts and logs of workflow runs
2021-04-02 22:53:08 +02:00
Guillaume Smet
8919c5f8c7
Implement GHEventPayload.WorkflowRun and GHEventPayload.WorkflowDispatch
...
Fixes #1037
2021-03-24 10:38:24 +01:00
Guillaume Smet
8509957102
Implement getChanges() for GHEventPayload.Issue
2021-03-19 13:39:26 +01:00
Guillaume Smet
b0aea0c575
Expose getLabel() for GHEventPayload.Issue
...
It was exposed on pull requests but not issues.
2021-03-19 13:11:38 +01:00
Jordi Olivares Provencio
8943ca6d1a
Reformat the JavaDoc
2021-01-28 22:36:24 +01:00
Jordi Olivares Provencio
b3460c1f9d
Add timestamp field support for the commits sent by GHEventPayload.Push
2021-01-28 22:34:09 +01:00
Liam Newman
e150280010
Merge remote-tracking branch 'upstream/master' into object-base
2020-12-28 10:52:16 -08:00
Liam Newman
6a39d7fca5
Trim whitespace and end with newline
2020-12-23 17:13:27 -08:00
Liam Newman
70ba4df385
Make root field transient in all classes
2020-12-18 14:58:12 -08:00
Tadas Giniotis
55e589b3d9
add the "target_url" field for "status" events
2020-12-12 23:46:03 +02:00
seregamorph
04b283c539
pull_request action "edited": changes
2020-11-18 20:41:58 +03:00
seregamorph
b51d655f77
#947 address review comments
2020-11-13 11:02:54 +03:00
seregamorph
929d9fb7bd
#947 base event payload
2020-11-09 22:48:04 +03:00
seregamorph
b7d03f7463
user, push, pull event extensions
2020-09-24 22:41:56 +03:00
seregamorph
5b69de770f
Fix events javadoc references
2020-09-24 14:37:49 +03:00
Piotrek Żygieło
969f6ef826
Use .equals to compare Strings
2020-05-16 11:55:21 +02:00
August
955690b124
Rename refreash to populate and add node_id for GHRepository
2020-04-05 19:09:02 +08:00
August
263de140c5
Removed InstallationRepository
2020-04-04 22:49:52 +08:00
August
4ff0870df8
Refresh repositories while warp up installation event
2020-04-04 22:30:05 +08:00
August
32ff315b6b
Resolve spotbugs and format code
2020-04-01 16:58:02 +08:00
August
f919346f8f
Add installation and installtion repositories event
2020-04-01 16:08:21 +08:00
XiongKezhi
7f07204fef
Add warpUp() for GHEventPayload.CheckSuite
2020-03-27 16:57:06 +08:00
XiongKezhi
768f60709f
Add Output and more tests
2020-03-03 23:45:01 +08:00
XiongKezhi
16faaae199
Add GHCheckSuite
2020-03-01 21:59:16 +08:00
Andrej Vano
0ee66ea928
[Status] Add GHEventPayload.Status class
2020-02-22 18:14:03 +01:00
Alex Taylor
a80b5b6abc
Fixed the findbugs errors
2019-12-14 15:38:34 -05:00
Alex Taylor
bc8f0aa223
Update GHEventPayload.java
...
updated to meet standards
2019-11-27 15:18:43 -05:00
Alex Taylor
8f787e9976
Added the Check Run event
...
Added the check run event and the objects used there along with a valid test
2019-11-27 13:30:45 -05:00
Liam Newman
d02af5ccb0
Switch property mapper to snake case
...
Jackson to automatically map property names using known patterns.
GitHub uses snake_case.
2019-11-18 19:05:43 -08:00
Liam Newman
da11702f68
Modify formatting to columnize
...
Turns out I do care about formatting a little. We have a lot of builders and chained methods.
I think it is easier to follow long chains when lined up veritcally.
2019-11-15 15:18:07 -08:00
Liam Newman
757b9b2118
Add JavaDocs
...
Do using IntelliJ JavaDocs plugin. Better to have something than nothing.
2019-11-14 13:24:28 -08:00
Liam Newman
a3b126282d
Remove package comments
2019-11-13 15:20:02 -08:00
Liam Newman
9d8460bb81
Enable automatic code formatter with CI validation
...
This may be controversial but it we're doing it. Having code formatting needs to be consistent
and a non-issue during code review. I'm willing modify the configuration if people see a strong
need, but formatting needs to be present and enforced.
2019-11-13 13:28:23 -08:00
Liam Newman
8943af9840
Cleanup tabs and whitespace
2019-11-13 12:47:19 -08:00
Kohsuke Kawaguchi
3cfcad76ac
Merge pull request #417 from twcurrie/tcurrie/revisions
...
Added release payload.
2018-08-30 05:21:24 +02:00
Werner
e368a17420
Adds the GHEventPayload.Issue class
2018-07-01 12:23:13 +02:00
Trevor Currie
587438938c
Added release payload.
2018-02-22 09:38:25 -08:00
Matt Nelson
0f81d1dbb3
Add support for pr review/review comment events
2017-10-05 18:14:15 -05:00
Kohsuke Kawaguchi
60bfea2d3b
Bug fix
2017-09-09 13:22:16 -07:00
Kohsuke Kawaguchi
17edd33703
Reorganized imports following #337
2017-09-09 12:00:23 -07:00
Stephen Connolly
d36e145d06
Need to be able to tell if this is a creation / deletion of a ref for multibranch projects
2016-11-11 14:18:47 +00:00
Stephen Connolly
7dc620a3ba
More details emerge on the PingEvent payload
2016-11-08 15:29:27 +00:00
Stephen Connolly
66145e1d23
Seems there is an undocumented but important PING event used by github-plugin
2016-11-08 15:26:33 +00:00
Stephen Connolly
7bf8621afe
Need the pusher details for github-plugin
2016-11-08 15:14:42 +00:00
Stephen Connolly
5b92d4b88c
Fix findbugs false alarms
2016-11-08 15:04:02 +00:00
Stephen Connolly
4daf6ba057
Add offline support to the API to make parsing events easier
...
- When we receive events from a webhook, it is non-trivial to determine which GitHub instance the event came from
or for that matter even if the event actually came from GitHub or GitHub Enterprise.
- In order to ensure that the logic for parsing events does not get replicated in clients, we need to be
able to call GitHub.parseEventPayload(Reader,Class) without knowing which GitHub the event originates from
and without the resulting objects triggering API calls back to a GitHub
- Thus we add GitHub.offline() to provide an off-line connection
- Thus we modify some of the object classes to return best-effort objects when off-line
- Add support for more of the event types into GHEventPayload
- Add tests of the event payload and accessing critical fields when using GitHub.offline()
2016-11-08 12:56:52 +00:00
Oleg Nenashev
79c5b2edd5
FindBugs: Fix over 100 issues and enforce FindBugs
2015-07-20 12:28:41 +03:00