Skip to content

Commit 673cf0a

Browse files
authored
Merge pull request #1445 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-40e0c75c69db478191660393ee65bbd6-from-1.1.4-40e0c75c69db478191660393ee65bbd6
2 parents c2da42e + cdc41e7 commit 673cf0a

File tree

9 files changed

+86
-42
lines changed

9 files changed

+86
-42
lines changed

clients/GitHubEnterpriseCloud/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15465,7 +15465,7 @@ You can find more about this operation over at the [API method documentation](ht
1546515465

1546615466
### repos/check-automated-security-fixes
1546715467

15468-
Check if automated security fixes are enabled for a repository
15468+
Check if Dependabot security updates are enabled for a repository
1546915469

1547015470
Using the `call` method:
1547115471
```php
@@ -15482,12 +15482,12 @@ $client->operations()->repos()->checkAutomatedSecurityFixes( owner: 'gene
1548215482
);
1548315483
```
1548415484

15485-
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository).
15485+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository).
1548615486

1548715487

1548815488
### repos/enable-automated-security-fixes
1548915489

15490-
Enable automated security fixes
15490+
Enable Dependabot security updates
1549115491

1549215492
Using the `call` method:
1549315493
```php
@@ -15504,12 +15504,12 @@ $client->operations()->repos()->enableAutomatedSecurityFixes( owner: 'gen
1550415504
);
1550515505
```
1550615506

15507-
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes).
15507+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates).
1550815508

1550915509

1551015510
### repos/disable-automated-security-fixes
1551115511

15512-
Disable automated security fixes
15512+
Disable Dependabot security updates
1551315513

1551415514
Using the `call` method:
1551515515
```php
@@ -15526,7 +15526,7 @@ $client->operations()->repos()->disableAutomatedSecurityFixes( owner: 'ge
1552615526
);
1552715527
```
1552815528

15529-
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes).
15529+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates).
1553015530

1553115531

1553215532
### repos/list-branches

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "79449ce7df3e3a8b4c97032f07cbaae3",
2+
"specHash": "40e0c75c69db478191660393ee65bbd6",
33
"generatedFiles": {
44
"files": [
55
{
@@ -12060,11 +12060,11 @@
1206012060
},
1206112061
{
1206212062
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CopilotSeatDetails.php",
12063-
"hash": "fb7a8e318fee15264ba8b52099c75f75"
12063+
"hash": "2b99fdc62663ff3c092106a8604b28fe"
1206412064
},
1206512065
{
1206612066
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeats\/Response\/ApplicationJson\/Ok.php",
12067-
"hash": "d1207f8ef83ef55ee38ac3158cfaadb3"
12067+
"hash": "8ffb2de09a916448585d8352db28f8fa"
1206812068
},
1206912069
{
1207012070
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Copilot\/CancelCopilotSeatAssignmentForTeams\/Request\/ApplicationJson.php",
@@ -12088,7 +12088,7 @@
1208812088
},
1208912089
{
1209012090
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php",
12091-
"hash": "ed236648c43bfbc92bebdef743b6ccd1"
12091+
"hash": "31e2f1c5e98e81a2cf0fc325ea768e71"
1209212092
},
1209312093
{
1209412094
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Orgs\/EnableOrDisableSecurityProductOnAllOrgRepos\/Request\/ApplicationJson.php",
@@ -25836,7 +25836,7 @@
2583625836
},
2583725837
{
2583825838
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/CopilotSeatDetails\/AssigningTeam.php",
25839-
"hash": "8e0f7ad10af32266ee20b87f08e4ad54"
25839+
"hash": "47420a93eb5cf6861442311d272388f9"
2584025840
},
2584125841
{
2584225842
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/RepositoryRuleset\/Conditions.php",
@@ -31756,7 +31756,7 @@
3175631756
},
3175731757
{
3175831758
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/EnterpriseTeam.php",
31759-
"hash": "f703d7ca5bae5e6742dc096e1e8ca8ba"
31759+
"hash": "046527c8d56b5b3772b51845b6adf70f"
3176031760
},
3176131761
{
3176231762
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/WebHook\/ExemptionRequestPushRuleset.php",
@@ -31812,7 +31812,7 @@
3181231812
},
3181331813
{
3181431814
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeatsForEnterprise\/Response\/ApplicationJson\/Ok.php",
31815-
"hash": "35d4b0e48251ed21d75e30d85376493a"
31815+
"hash": "87c1a5836892274c2ba271a2d9045953"
3181631816
},
3181731817
{
3181831818
"name": ".\/clients\/GitHubEnterpriseCloud\/etc\/..\/\/src\/\/Internal\/Hydrator\/Operation\/Enterprises\/Enterprise\/Copilot\/Billing\/Seats.php",
@@ -34216,7 +34216,7 @@
3421634216
},
3421734217
{
3421834218
"name": "..\/..\/composer.lock",
34219-
"hash": "9968921f0959a081d8998c22c95e7f44"
34219+
"hash": "ba3412e727d85b330527d34ff8accb9e"
3422034220
}
3422134221
]
3422234222
}

clients/GitHubEnterpriseCloud/src/Internal/Attribute/CastUnionToType/Schema/CopilotSeatDetails/AssigningTeam.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function cast(mixed $value, ObjectMapper $hydrator): mixed
3232
}
3333
}
3434

35-
if ($signature === 'created_at|group_id|html_url|id|members_url|name|slug|sync_to_organizations|updated_at|url') {
35+
if ($signature === 'created_at|group_id|group_name|html_url|id|members_url|name|slug|sync_to_organizations|updated_at|url') {
3636
try {
3737
return $hydrator->hydrateObject(Schema\EnterpriseTeam::class, $value);
3838
} catch (Throwable) {

clients/GitHubEnterpriseCloud/src/Schema/CheckAutomatedSecurityFixes.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
final readonly class CheckAutomatedSecurityFixes
88
{
99
public const SCHEMA_JSON = '{
10-
"title": "Check Automated Security Fixes",
10+
"title": "Check Dependabot security updates",
1111
"required": [
1212
"enabled",
1313
"paused"
@@ -16,31 +16,31 @@
1616
"properties": {
1717
"enabled": {
1818
"type": "boolean",
19-
"description": "Whether automated security fixes are enabled for the repository.",
19+
"description": "Whether Dependabot security updates are enabled for the repository.",
2020
"examples": [
2121
true
2222
]
2323
},
2424
"paused": {
2525
"type": "boolean",
26-
"description": "Whether automated security fixes are paused for the repository.",
26+
"description": "Whether Dependabot security updates are paused for the repository.",
2727
"examples": [
2828
false
2929
]
3030
}
3131
},
32-
"description": "Check Automated Security Fixes"
32+
"description": "Check Dependabot security updates"
3333
}';
34-
public const SCHEMA_TITLE = 'Check Automated Security Fixes';
35-
public const SCHEMA_DESCRIPTION = 'Check Automated Security Fixes';
34+
public const SCHEMA_TITLE = 'Check Dependabot security updates';
35+
public const SCHEMA_DESCRIPTION = 'Check Dependabot security updates';
3636
public const SCHEMA_EXAMPLE_DATA = '{
3737
"enabled": true,
3838
"paused": false
3939
}';
4040

4141
/**
42-
* enabled: Whether automated security fixes are enabled for the repository.
43-
* paused: Whether automated security fixes are paused for the repository.
42+
* enabled: Whether Dependabot security updates are enabled for the repository.
43+
* paused: Whether Dependabot security updates are paused for the repository.
4444
*/
4545
public function __construct(public bool $enabled, public bool $paused)
4646
{

clients/GitHubEnterpriseCloud/src/Schema/CopilotSeatDetails.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,15 @@
552552
"62ab9291-fae2-468e-974b-7e45096d5021"
553553
]
554554
},
555+
"group_name": {
556+
"type": [
557+
"string",
558+
"null"
559+
],
560+
"examples": [
561+
"Justice League"
562+
]
563+
},
555564
"html_url": {
556565
"type": "string",
557566
"format": "uri",

clients/GitHubEnterpriseCloud/src/Schema/EnterpriseTeam.php

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,15 @@
5252
"62ab9291-fae2-468e-974b-7e45096d5021"
5353
]
5454
},
55+
"group_name": {
56+
"type": [
57+
"string",
58+
"null"
59+
],
60+
"examples": [
61+
"Justice League"
62+
]
63+
},
5564
"html_url": {
5665
"type": "string",
5766
"format": "uri",
@@ -82,6 +91,7 @@
8291
"url": "https:\\/\\/example.com\\/",
8392
"sync_to_organizations": "disabled | all",
8493
"group_id": "62ab9291-fae2-468e-974b-7e45096d5021",
94+
"group_name": "Justice League",
8595
"html_url": "https:\\/\\/github.com\\/enterprises\\/dc\\/teams\\/justice-league",
8696
"members_url": "generated",
8797
"created_at": "1970-01-01T00:00:00+00:00",
@@ -90,7 +100,8 @@
90100

91101
public function __construct(public int $id, public string $name, public string $slug, public string $url, #[MapFrom('sync_to_organizations')]
92102
public string $syncToOrganizations, #[MapFrom('group_id')]
93-
public string|null $groupId, #[MapFrom('html_url')]
103+
public string|null $groupId, #[MapFrom('group_name')]
104+
public string|null $groupName, #[MapFrom('html_url')]
94105
public string $htmlUrl, #[MapFrom('members_url')]
95106
public string $membersUrl, #[MapFrom('created_at')]
96107
public string $createdAt, #[MapFrom('updated_at')]

clients/GitHubEnterpriseCloud/src/Schema/Operations/Copilot/ListCopilotSeats/Response/ApplicationJson/Ok.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,15 @@
559559
"62ab9291-fae2-468e-974b-7e45096d5021"
560560
]
561561
},
562+
"group_name": {
563+
"type": [
564+
"string",
565+
"null"
566+
],
567+
"examples": [
568+
"Justice League"
569+
]
570+
},
562571
"html_url": {
563572
"type": "string",
564573
"format": "uri",

clients/GitHubEnterpriseCloud/src/Schema/Operations/Copilot/ListCopilotSeatsForEnterprise/Response/ApplicationJson/Ok.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,15 @@
559559
"62ab9291-fae2-468e-974b-7e45096d5021"
560560
]
561561
},
562+
"group_name": {
563+
"type": [
564+
"string",
565+
"null"
566+
],
567+
"examples": [
568+
"Justice League"
569+
]
570+
},
562571
"html_url": {
563572
"type": "string",
564573
"format": "uri",

etc/specs/GitHubEnterpriseCloud/current.spec.yaml

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26370,17 +26370,17 @@ paths:
2637026370
subcategory: autolinks
2637126371
"/repos/{owner}/{repo}/automated-security-fixes":
2637226372
get:
26373-
summary: Check if automated security fixes are enabled for a repository
26374-
description: Shows whether automated security fixes are enabled, disabled or
26375-
paused for a repository. The authenticated user must have admin read access
26376-
to the repository. For more information, see "[Configuring automated security
26377-
fixes](https://docs.github.com/enterprise-cloud@latest//articles/configuring-automated-security-fixes)".
26373+
summary: Check if Dependabot security updates are enabled for a repository
26374+
description: Shows whether Dependabot security updates are enabled, disabled
26375+
or paused for a repository. The authenticated user must have admin read access
26376+
to the repository. For more information, see "[Configuring Dependabot security
26377+
updates](https://docs.github.com/enterprise-cloud@latest//articles/configuring-automated-security-fixes)".
2637826378
tags:
2637926379
- repos
2638026380
operationId: repos/check-automated-security-fixes
2638126381
externalDocs:
2638226382
description: API method documentation
26383-
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository
26383+
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository
2638426384
parameters:
2638526385
- "$ref": "#/components/parameters/owner"
2638626386
- "$ref": "#/components/parameters/repo"
@@ -26404,16 +26404,16 @@ paths:
2640426404
category: repos
2640526405
subcategory: repos
2640626406
put:
26407-
summary: Enable automated security fixes
26408-
description: Enables automated security fixes for a repository. The authenticated
26407+
summary: Enable Dependabot security updates
26408+
description: Enables Dependabot security updates for a repository. The authenticated
2640926409
user must have admin access to the repository. For more information, see "[Configuring
26410-
automated security fixes](https://docs.github.com/enterprise-cloud@latest//articles/configuring-automated-security-fixes)".
26410+
Dependabot security updates](https://docs.github.com/enterprise-cloud@latest//articles/configuring-automated-security-fixes)".
2641126411
tags:
2641226412
- repos
2641326413
operationId: repos/enable-automated-security-fixes
2641426414
externalDocs:
2641526415
description: API method documentation
26416-
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes
26416+
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates
2641726417
parameters:
2641826418
- "$ref": "#/components/parameters/owner"
2641926419
- "$ref": "#/components/parameters/repo"
@@ -26426,16 +26426,16 @@ paths:
2642626426
category: repos
2642726427
subcategory: repos
2642826428
delete:
26429-
summary: Disable automated security fixes
26430-
description: Disables automated security fixes for a repository. The authenticated
26429+
summary: Disable Dependabot security updates
26430+
description: Disables Dependabot security updates for a repository. The authenticated
2643126431
user must have admin access to the repository. For more information, see "[Configuring
26432-
automated security fixes](https://docs.github.com/enterprise-cloud@latest//articles/configuring-automated-security-fixes)".
26432+
Dependabot security updates](https://docs.github.com/enterprise-cloud@latest//articles/configuring-automated-security-fixes)".
2643326433
tags:
2643426434
- repos
2643526435
operationId: repos/disable-automated-security-fixes
2643626436
externalDocs:
2643726437
description: API method documentation
26438-
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes
26438+
url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates
2643926439
parameters:
2644026440
- "$ref": "#/components/parameters/owner"
2644126441
- "$ref": "#/components/parameters/repo"
@@ -78765,6 +78765,12 @@ components:
7876578765
- 'null'
7876678766
examples:
7876778767
- 62ab9291-fae2-468e-974b-7e45096d5021
78768+
group_name:
78769+
type:
78770+
- string
78771+
- 'null'
78772+
examples:
78773+
- Justice League
7876878774
html_url:
7876978775
type: string
7877078776
format: uri
@@ -90195,18 +90201,18 @@ components:
9019590201
- url_template
9019690202
- is_alphanumeric
9019790203
check-automated-security-fixes:
90198-
title: Check Automated Security Fixes
90199-
description: Check Automated Security Fixes
90204+
title: Check Dependabot security updates
90205+
description: Check Dependabot security updates
9020090206
type: object
9020190207
properties:
9020290208
enabled:
9020390209
type: boolean
90204-
description: Whether automated security fixes are enabled for the repository.
90210+
description: Whether Dependabot security updates are enabled for the repository.
9020590211
examples:
9020690212
- true
9020790213
paused:
9020890214
type: boolean
90209-
description: Whether automated security fixes are paused for the repository.
90215+
description: Whether Dependabot security updates are paused for the repository.
9021090216
examples:
9021190217
- false
9021290218
required:

0 commit comments

Comments
 (0)