Skip to content

Commit 5c79fa2

Browse files
authored
Add Action to DeploymentStatusEvent (#3163)
1 parent 654769f commit 5c79fa2

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

github/event_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ type DeploymentProtectionRuleEvent struct {
232232
//
233233
// GitHub API docs: https://docs.github.com/developers/webhooks-and-events/webhook-events-and-payloads#deployment_status
234234
type DeploymentStatusEvent struct {
235+
Action *string `json:"action,omitempty"`
235236
Deployment *Deployment `json:"deployment,omitempty"`
236237
DeploymentStatus *DeploymentStatus `json:"deployment_status,omitempty"`
237238
Repo *Repository `json:"repository,omitempty"`

github/github-accessors.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-accessors_test.go

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)