Skip to content

Commit

Permalink
Deprecate WebHookPayload (#2032)
Browse files Browse the repository at this point in the history
Fixes: #303 .
  • Loading branch information
gmlewis committed Mar 25, 2022
1 parent 3e8a7f0 commit c28ccfd
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 513 deletions.
1 change: 1 addition & 0 deletions github/event_types.go
Expand Up @@ -885,6 +885,7 @@ type PushEvent struct {
DistinctSize *int `json:"distinct_size,omitempty"`

// The following fields are only populated by Webhook events.
Action *string `json:"action,omitempty"`
After *string `json:"after,omitempty"`
Created *bool `json:"created,omitempty"`
Deleted *bool `json:"deleted,omitempty"`
Expand Down
192 changes: 8 additions & 184 deletions github/github-accessors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c28ccfd

Please sign in to comment.