Skip to content

Commit 8ca48dd

Browse files
authored
docs: Reformulate deprecation notice for Commits field in PushEvent (#3880)
1 parent 07ddcd9 commit 8ca48dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

github/event_types.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,8 @@ type PushEvent struct {
13741374
Size *int `json:"size,omitempty"`
13751375
// Commits is the list of commits in the push event.
13761376
//
1377-
// Deprecated: GitHub will remove commit summaries from Events API payloads on October 7, 2025.
1377+
// This field is only populated for webhook events.
1378+
// It has been removed from Events API payloads on October 7, 2025.
13781379
// Use the Commits REST API endpoint to get detailed commit information.
13791380
// See: https://docs.github.com/rest/commits/commits#list-commits
13801381
Commits []*HeadCommit `json:"commits,omitempty"`

0 commit comments

Comments
 (0)