Skip to content

Commit 339a5cf

Browse files
authored
Merge pull request #1090 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-aac9174d4a1dfe95ad6ff969d25fba1a-from-1.1.4-aac9174d4a1dfe95ad6ff969d25fba1a
2 parents 35d5db8 + f04c4b4 commit 339a5cf

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

clients/GitHubEnterpriseCloud/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": "23d08a3e03ef26af7beff559f3988932",
2+
"specHash": "aac9174d4a1dfe95ad6ff969d25fba1a",
33
"generatedFiles": {
44
"files": [
55
{
@@ -2392,7 +2392,7 @@
23922392
},
23932393
{
23942394
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookPush.php",
2395-
"hash": "ee38ffa7d23ffdadf39a74abd183645a"
2395+
"hash": "e6507733444cf039fc780177fb861898"
23962396
},
23972397
{
23982398
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/WebhookRegistryPackagePublished.php",
@@ -14004,7 +14004,7 @@
1400414004
},
1400514005
{
1400614006
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Operation\/Copilot.php",
14007-
"hash": "797c222dfca645a0cd779e36b823c18c"
14007+
"hash": "fdf59b4e9d7a4fa3db094d71c8d5a19e"
1400814008
},
1400914009
{
1401014010
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php",

clients/GitHubEnterpriseCloud/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\\/enterprise-cloud@latest\\/\\/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\\/enterprise-cloud@latest\\/\\/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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/GitHubEnterpriseCloud/current.spec.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27930,7 +27930,7 @@ paths:
2793027930
get:
2793127931
summary: Compare two commits
2793227932
description: |-
27933-
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/enterprise-cloud@latest//repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories)."
27933+
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/enterprise-cloud@latest//repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories)."
2793427934

2793527935
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.
2793627936

@@ -200679,9 +200679,8 @@ components:
200679200679
description: An array of commit objects describing the pushed commits. (Pushed
200680200680
commits are all commits that are included in the `compare` between the
200681200681
`before` commit and the `after` commit.) The array includes a maximum
200682-
of 20 commits. If necessary, you can use the [Commits API](https://docs.github.com/enterprise-cloud@latest//rest/commits)
200683-
to fetch additional commits. This limit is applied to timeline events
200684-
only and isn't applied to webhook deliveries.
200682+
of 2048 commits. If necessary, you can use the [Commits API](https://docs.github.com/enterprise-cloud@latest//rest/commits)
200683+
to fetch additional commits.
200685200684
type: array
200686200685
items:
200687200686
title: Commit

0 commit comments

Comments
 (0)