Skip to content

Commit

Permalink
Add Action to DeploymentStatusEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
JoannaaKL committed May 7, 2024
1 parent 807d5cf commit 88abac8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions github/event_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ type DeploymentProtectionRuleEvent struct {
//
// GitHub API docs: https://docs.github.com/developers/webhooks-and-events/webhook-events-and-payloads#deployment_status
type DeploymentStatusEvent struct {
Action *string `json:"action,omitempty"`
Deployment *Deployment `json:"deployment,omitempty"`
DeploymentStatus *DeploymentStatus `json:"deployment_status,omitempty"`
Repo *Repository `json:"repository,omitempty"`
Expand Down
8 changes: 8 additions & 0 deletions github/github-accessors.go

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

10 changes: 10 additions & 0 deletions github/github-accessors_test.go

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

0 comments on commit 88abac8

Please sign in to comment.