Document features and changes for phase 2.5 of master/main transition (#15745)
This commit is contained in:
@@ -202,7 +202,7 @@ Key | Type | Description
|
||||
`push_id` | `integer` | Unique identifier for the push.
|
||||
`size`|`integer` | The number of commits in the push.
|
||||
`distinct_size`|`integer` | The number of distinct commits in the push.
|
||||
`ref`|`string` | The full [`git ref`](/v3/git/refs/) that was pushed. Example: `refs/heads/master`.
|
||||
`ref`|`string` | The full [`git ref`](/v3/git/refs/) that was pushed. Example: `refs/heads/main`.
|
||||
`head`|`string` | The SHA of the most recent commit on `ref` after the push.
|
||||
`before`|`string` | The SHA of the most recent commit on `ref` before the push.
|
||||
`commits`|`array` | An array of commit objects describing the pushed commits. (The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](/v3/repos/commits/) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.)
|
||||
|
||||
@@ -967,7 +967,7 @@ Deliveries for `review_requested` and `review_request_removed` events will have
|
||||
|
||||
Key | Type | Description
|
||||
----|------|-------------
|
||||
`ref`|`string` | The full [`git ref`](/v3/git/refs/) that was pushed. Example: `refs/heads/master`.
|
||||
`ref`|`string` | The full [`git ref`](/v3/git/refs/) that was pushed. Example: `refs/heads/main`.
|
||||
`before`|`string` | The SHA of the most recent commit on `ref` before the push.
|
||||
`after`|`string` | The SHA of the most recent commit on `ref` after the push.
|
||||
`commits`|`array` | An array of commit objects describing the pushed commits. (The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](/v3/repos/commits/) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.)
|
||||
|
||||
Reference in New Issue
Block a user