Skip to content

Commit

Permalink
Add missing Deployment field to workflow_job event type (#3353)
Browse files Browse the repository at this point in the history
  • Loading branch information
AirOne70 authored Nov 20, 2024
1 parent f9210c4 commit 6d30edd
Show file tree
Hide file tree
Showing 3 changed files with 17 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 @@ -1787,6 +1787,7 @@ type WorkflowJobEvent struct {
Repo *Repository `json:"repository,omitempty"`
Sender *User `json:"sender,omitempty"`
Installation *Installation `json:"installation,omitempty"`
Deployment *Deployment `json:"deployment,omitempty"`
}

// WorkflowRunEvent is triggered when a GitHub Actions workflow run is requested or completed.
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.

8 changes: 8 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 6d30edd

Please sign in to comment.