@@ -203,7 +203,7 @@ type DeploymentEvent struct {
203
203
204
204
// The following field is only present when the webhook is triggered on
205
205
// a repository belonging to an organization.
206
- Organization * Organization `json:"organization,omitempty"`
206
+ Org * Organization `json:"organization,omitempty"`
207
207
}
208
208
209
209
// DeploymentProtectionRuleEvent represents a deployment protection rule event.
@@ -242,7 +242,7 @@ type DeploymentStatusEvent struct {
242
242
243
243
// The following field is only present when the webhook is triggered on
244
244
// a repository belonging to an organization.
245
- Organization * Organization `json:"organization,omitempty"`
245
+ Org * Organization `json:"organization,omitempty"`
246
246
}
247
247
248
248
// DiscussionCommentEvent represents a webhook event for a comment on discussion.
@@ -382,7 +382,7 @@ type GollumEvent struct {
382
382
383
383
// The following field is only present when the webhook is triggered on
384
384
// a repository belonging to an organization.
385
- Organization * Organization `json:"organization,omitempty"`
385
+ Org * Organization `json:"organization,omitempty"`
386
386
}
387
387
388
388
// EditChange represents the changes when an issue, pull request, comment,
@@ -533,7 +533,7 @@ type InstallationEvent struct {
533
533
534
534
// The following field is only present when the webhook is triggered on
535
535
// a repository belonging to an organization.
536
- Organization * Organization `json:"organization,omitempty"`
536
+ Org * Organization `json:"organization,omitempty"`
537
537
}
538
538
539
539
// InstallationRepositoriesEvent is triggered when a repository is added or
@@ -551,7 +551,7 @@ type InstallationRepositoriesEvent struct {
551
551
552
552
// The following field is only present when the webhook is triggered on
553
553
// a repository belonging to an organization.
554
- Organization * Organization `json:"organization,omitempty"`
554
+ Org * Organization `json:"organization,omitempty"`
555
555
}
556
556
557
557
// InstallationLoginChange represents a change in login on an installation.
@@ -634,7 +634,7 @@ type IssuesEvent struct {
634
634
635
635
// The following field is only present when the webhook is triggered on
636
636
// a repository belonging to an organization.
637
- Organization * Organization `json:"organization,omitempty"`
637
+ Org * Organization `json:"organization,omitempty"`
638
638
}
639
639
640
640
// LabelEvent is triggered when a repository's label is created, edited, or deleted.
@@ -674,7 +674,7 @@ type MarketplacePurchaseEvent struct {
674
674
675
675
// The following field is only present when the webhook is triggered on
676
676
// a repository belonging to an organization.
677
- Organization * Organization `json:"organization,omitempty"`
677
+ Org * Organization `json:"organization,omitempty"`
678
678
}
679
679
680
680
// MemberEvent is triggered when a user is added as a collaborator to a repository.
@@ -693,7 +693,7 @@ type MemberEvent struct {
693
693
694
694
// The following field is only present when the webhook is triggered on
695
695
// a repository belonging to an organization.
696
- Organization * Organization `json:"organization,omitempty"`
696
+ Org * Organization `json:"organization,omitempty"`
697
697
}
698
698
699
699
// MembershipEvent is triggered when a user is added or removed from a team.
@@ -868,7 +868,7 @@ type PageBuildEvent struct {
868
868
869
869
// The following field is only present when the webhook is triggered on
870
870
// a repository belonging to an organization.
871
- Organization * Organization `json:"organization,omitempty"`
871
+ Org * Organization `json:"organization,omitempty"`
872
872
}
873
873
874
874
// PersonalAccessTokenRequestEvent occurs when there is activity relating to a
@@ -932,7 +932,7 @@ type PersonalAccessTokenRequest struct {
932
932
933
933
// The following field is only present when the webhook is triggered on
934
934
// a repository belonging to an organization.
935
- Organization * Organization `json:"organization,omitempty"`
935
+ Org * Organization `json:"organization,omitempty"`
936
936
}
937
937
938
938
// PersonalAccessTokenPermissions represents the original or newly requested
@@ -1095,7 +1095,7 @@ type PublicEvent struct {
1095
1095
1096
1096
// The following field is only present when the webhook is triggered on
1097
1097
// a repository belonging to an organization.
1098
- Organization * Organization `json:"organization,omitempty"`
1098
+ Org * Organization `json:"organization,omitempty"`
1099
1099
}
1100
1100
1101
1101
// PullRequestEvent is triggered when a pull request is assigned, unassigned, labeled,
@@ -1181,7 +1181,7 @@ type PullRequestReviewCommentEvent struct {
1181
1181
1182
1182
// The following field is only present when the webhook is triggered on
1183
1183
// a repository belonging to an organization.
1184
- Organization * Organization `json:"organization,omitempty"`
1184
+ Org * Organization `json:"organization,omitempty"`
1185
1185
}
1186
1186
1187
1187
// PullRequestReviewThreadEvent is triggered when a comment made as part of a
@@ -1203,7 +1203,7 @@ type PullRequestReviewThreadEvent struct {
1203
1203
1204
1204
// The following field is only present when the webhook is triggered on
1205
1205
// a repository belonging to an organization.
1206
- Organization * Organization `json:"organization,omitempty"`
1206
+ Org * Organization `json:"organization,omitempty"`
1207
1207
}
1208
1208
1209
1209
// PullRequestTargetEvent is triggered when a pull request is assigned, unassigned, labeled,
@@ -1372,7 +1372,7 @@ type ReleaseEvent struct {
1372
1372
1373
1373
// The following field is only present when the webhook is triggered on
1374
1374
// a repository belonging to an organization.
1375
- Organization * Organization `json:"organization,omitempty"`
1375
+ Org * Organization `json:"organization,omitempty"`
1376
1376
}
1377
1377
1378
1378
// RepositoryEvent is triggered when a repository is created, archived, unarchived,
@@ -1446,7 +1446,7 @@ type RepositoryVulnerabilityAlertEvent struct {
1446
1446
1447
1447
// The following field is only present when the webhook is triggered on
1448
1448
// a repository belonging to an organization.
1449
- Organization * Organization `json:"organization,omitempty"`
1449
+ Org * Organization `json:"organization,omitempty"`
1450
1450
}
1451
1451
1452
1452
// RepositoryVulnerabilityAlert represents a repository security alert.
@@ -1556,7 +1556,7 @@ type StatusEvent struct {
1556
1556
1557
1557
// The following field is only present when the webhook is triggered on
1558
1558
// a repository belonging to an organization.
1559
- Organization * Organization `json:"organization,omitempty"`
1559
+ Org * Organization `json:"organization,omitempty"`
1560
1560
}
1561
1561
1562
1562
// TeamEvent is triggered when an organization's team is created, modified or deleted.
@@ -1630,7 +1630,7 @@ type WatchEvent struct {
1630
1630
1631
1631
// The following field is only present when the webhook is triggered on
1632
1632
// a repository belonging to an organization.
1633
- Organization * Organization `json:"organization,omitempty"`
1633
+ Org * Organization `json:"organization,omitempty"`
1634
1634
}
1635
1635
1636
1636
// WorkflowDispatchEvent is triggered when someone triggers a workflow run on GitHub or
0 commit comments