Skip to content

Commit 35d5db8

Browse files
authored
Merge pull request #1089 from php-api-clients/GitHub/from-1.1.4-2bcf4a7ffd1c08c4653f4fa12fbb7e3f-from-1.1.4-2bcf4a7ffd1c08c4653f4fa12fbb7e3f
2 parents f6ccc45 + 2cc5858 commit 35d5db8

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

clients/GitHub/etc/openapi-client-generator.state

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "b854ef7598e090ed26841c01372b8bfc",
2+
"specHash": "2bcf4a7ffd1c08c4653f4fa12fbb7e3f",
33
"generatedFiles": {
44
"files": [
55
{
@@ -2272,7 +2272,7 @@
22722272
},
22732273
{
22742274
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookPush.php",
2275-
"hash": "49e13e0ae88b80418a874004500c587f"
2275+
"hash": "a92e954d794bf3c6b382a2657adb7037"
22762276
},
22772277
{
22782278
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/WebhookRegistryPackagePublished.php",
@@ -13532,7 +13532,7 @@
1353213532
},
1353313533
{
1353413534
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Operation\/Copilot.php",
13535-
"hash": "e0cc356b1c65d6fecc88aa7e99443b5f"
13535+
"hash": "290f99dbad083ed35659736cb1c3bf8b"
1353613536
},
1353713537
{
1353813538
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php",

clients/GitHub/src/Schema/WebhookPush.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
}
163163
}
164164
},
165-
"description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](https:\\/\\/docs.github.com\\/rest\\/commits) to fetch additional commits. This limit is applied to timeline events only and isn\'t applied to webhook deliveries."
165+
"description": "An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 2048 commits. If necessary, you can use the [Commits API](https:\\/\\/docs.github.com\\/rest\\/commits) to fetch additional commits."
166166
},
167167
"compare": {
168168
"type": "string",
@@ -1640,7 +1640,7 @@
16401640
/**
16411641
* after: The SHA of the most recent commit on `ref` after the push.
16421642
* before: The SHA of the most recent commit on `ref` before the push.
1643-
* commits: An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/rest/commits) to fetch additional commits. This limit is applied to timeline events only and isn't applied to webhook deliveries.
1643+
* commits: An array of commit objects describing the pushed commits. (Pushed commits are all commits that are included in the `compare` between the `before` commit and the `after` commit.) The array includes a maximum of 2048 commits. If necessary, you can use the [Commits API](https://docs.github.com/rest/commits) to fetch additional commits.
16441644
* compare: URL that shows the changes in this `ref` update, from the `before` commit to the `after` commit. For a newly created `ref` that is directly based on the default branch, this is the comparison between the head of the default branch and the `after` commit. Otherwise, this shows all commits until the `after` commit.
16451645
* created: Whether this push created the `ref`.
16461646
* deleted: Whether this push deleted the `ref`.

etc/specs/GitHub/current.spec.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24279,7 +24279,7 @@ paths:
2427924279
get:
2428024280
summary: Compare two commits
2428124281
description: |-
24282-
Compares two commits against one another. You can compare branches in the same repository, or you can compare branches that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see "[Understanding connections between repositories](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories)."
24282+
Compares two commits against one another. You can compare refs (branches or tags) and commit SHAs in the same repository, or you can compare refs and commit SHAs that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see "[Understanding connections between repositories](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories)."
2428324283

2428424284
This endpoint is equivalent to running the `git log BASE..HEAD` command, but it returns commits in a different order. The `git log BASE..HEAD` command returns commits in reverse chronological order, whereas the API returns commits in chronological order.
2428524285

@@ -193765,9 +193765,8 @@ components:
193765193765
description: An array of commit objects describing the pushed commits. (Pushed
193766193766
commits are all commits that are included in the `compare` between the
193767193767
`before` commit and the `after` commit.) The array includes a maximum
193768-
of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/rest/commits)
193769-
to fetch additional commits. This limit is applied to timeline events
193770-
only and isn't applied to webhook deliveries.
193768+
of 2048 commits. If necessary, you can use the [Commits API](https://docs.github.com/rest/commits)
193769+
to fetch additional commits.
193771193770
type: array
193772193771
items:
193773193772
title: Commit

0 commit comments

Comments
 (0)