Skip to content

Commit c2da42e

Browse files
authored
Merge pull request #1444 from php-api-clients/GitHub/from-1.1.4-529209138ca3f128f373739100dbd53c-from-1.1.4-529209138ca3f128f373739100dbd53c
2 parents bab944f + d4253fe commit c2da42e

File tree

8 files changed

+76
-41
lines changed

8 files changed

+76
-41
lines changed

clients/GitHub/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -12781,7 +12781,7 @@ You can find more about this operation over at the [API method documentation](ht
1278112781

1278212782
### repos/check-automated-security-fixes
1278312783

12784-
Check if automated security fixes are enabled for a repository
12784+
Check if Dependabot security updates are enabled for a repository
1278512785

1278612786
Using the `call` method:
1278712787
```php
@@ -12798,12 +12798,12 @@ $client->operations()->repos()->checkAutomatedSecurityFixes( owner: 'gene
1279812798
);
1279912799
```
1280012800

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

1280312803

1280412804
### repos/enable-automated-security-fixes
1280512805

12806-
Enable automated security fixes
12806+
Enable Dependabot security updates
1280712807

1280812808
Using the `call` method:
1280912809
```php
@@ -12820,12 +12820,12 @@ $client->operations()->repos()->enableAutomatedSecurityFixes( owner: 'gen
1282012820
);
1282112821
```
1282212822

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

1282512825

1282612826
### repos/disable-automated-security-fixes
1282712827

12828-
Disable automated security fixes
12828+
Disable Dependabot security updates
1282912829

1283012830
Using the `call` method:
1283112831
```php
@@ -12842,7 +12842,7 @@ $client->operations()->repos()->disableAutomatedSecurityFixes( owner: 'ge
1284212842
);
1284312843
```
1284412844

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

1284712847

1284812848
### repos/list-branches

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

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"specHash": "4298b69a1afaf61496dd8894c7a47c3a",
2+
"specHash": "529209138ca3f128f373739100dbd53c",
33
"generatedFiles": {
44
"files": [
55
{
@@ -11588,11 +11588,11 @@
1158811588
},
1158911589
{
1159011590
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CopilotSeatDetails.php",
11591-
"hash": "d6f19f23cdc6fe5278d7c13040ebea56"
11591+
"hash": "003304078fbde44a6ab6619c9187cc72"
1159211592
},
1159311593
{
1159411594
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Operations\/Copilot\/ListCopilotSeats\/Response\/ApplicationJson\/Ok.php",
11595-
"hash": "5f65e0b6cd6d2af1cdd4dc734b2c02ba"
11595+
"hash": "ac127a9a68dedc61a4cd44f533bd6d49"
1159611596
},
1159711597
{
1159811598
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Copilot\/CancelCopilotSeatAssignmentForTeams\/Request\/ApplicationJson.php",
@@ -11616,7 +11616,7 @@
1161611616
},
1161711617
{
1161811618
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/CheckAutomatedSecurityFixes.php",
11619-
"hash": "a75ea67ddca661703f2e47dd0ccf26ff"
11619+
"hash": "d060eb3636eaa4f0c49544da5eea2b43"
1162011620
},
1162111621
{
1162211622
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/Orgs\/EnableOrDisableSecurityProductOnAllOrgRepos\/Request\/ApplicationJson.php",
@@ -24224,7 +24224,7 @@
2422424224
},
2422524225
{
2422624226
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/CopilotSeatDetails\/AssigningTeam.php",
24227-
"hash": "86b25b1c2530248be880cee5d37b0759"
24227+
"hash": "8ce38f698adc69174916ccae39bcf6b0"
2422824228
},
2422924229
{
2423024230
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Internal\/Attribute\/CastUnionToType\/Schema\/RepositoryRuleset\/Conditions.php",
@@ -29392,7 +29392,7 @@
2939229392
},
2939329393
{
2939429394
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/EnterpriseTeam.php",
29395-
"hash": "2ff06468420bec0b828b0d1d7b572714"
29395+
"hash": "6683f9956704100286df4bdaa14338b6"
2939629396
},
2939729397
{
2939829398
"name": ".\/clients\/GitHub\/etc\/..\/\/src\/\/Schema\/TeamRoleAssignment.php",
@@ -31500,7 +31500,7 @@
3150031500
},
3150131501
{
3150231502
"name": "..\/..\/composer.lock",
31503-
"hash": "9968921f0959a081d8998c22c95e7f44"
31503+
"hash": "ba3412e727d85b330527d34ff8accb9e"
3150431504
}
3150531505
]
3150631506
}

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

+1-1
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/GitHub/src/Schema/CheckAutomatedSecurityFixes.php

+8-8
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/GitHub/src/Schema/CopilotSeatDetails.php

+9
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/GitHub/src/Schema/EnterpriseTeam.php

+12-1
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/GitHub/src/Schema/Operations/Copilot/ListCopilotSeats/Response/ApplicationJson/Ok.php

+9
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/GitHub/current.spec.yaml

+24-18
Original file line numberDiff line numberDiff line change
@@ -21684,17 +21684,17 @@ paths:
2168421684
subcategory: autolinks
2168521685
"/repos/{owner}/{repo}/automated-security-fixes":
2168621686
get:
21687-
summary: Check if automated security fixes are enabled for a repository
21688-
description: Shows whether automated security fixes are enabled, disabled or
21689-
paused for a repository. The authenticated user must have admin read access
21690-
to the repository. For more information, see "[Configuring automated security
21691-
fixes](https://docs.github.com/articles/configuring-automated-security-fixes)".
21687+
summary: Check if Dependabot security updates are enabled for a repository
21688+
description: Shows whether Dependabot security updates are enabled, disabled
21689+
or paused for a repository. The authenticated user must have admin read access
21690+
to the repository. For more information, see "[Configuring Dependabot security
21691+
updates](https://docs.github.com/articles/configuring-automated-security-fixes)".
2169221692
tags:
2169321693
- repos
2169421694
operationId: repos/check-automated-security-fixes
2169521695
externalDocs:
2169621696
description: API method documentation
21697-
url: https://docs.github.com/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository
21697+
url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository
2169821698
parameters:
2169921699
- "$ref": "#/components/parameters/owner"
2170021700
- "$ref": "#/components/parameters/repo"
@@ -21718,16 +21718,16 @@ paths:
2171821718
category: repos
2171921719
subcategory: repos
2172021720
put:
21721-
summary: Enable automated security fixes
21722-
description: Enables automated security fixes for a repository. The authenticated
21721+
summary: Enable Dependabot security updates
21722+
description: Enables Dependabot security updates for a repository. The authenticated
2172321723
user must have admin access to the repository. For more information, see "[Configuring
21724-
automated security fixes](https://docs.github.com/articles/configuring-automated-security-fixes)".
21724+
Dependabot security updates](https://docs.github.com/articles/configuring-automated-security-fixes)".
2172521725
tags:
2172621726
- repos
2172721727
operationId: repos/enable-automated-security-fixes
2172821728
externalDocs:
2172921729
description: API method documentation
21730-
url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes
21730+
url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates
2173121731
parameters:
2173221732
- "$ref": "#/components/parameters/owner"
2173321733
- "$ref": "#/components/parameters/repo"
@@ -21740,16 +21740,16 @@ paths:
2174021740
category: repos
2174121741
subcategory: repos
2174221742
delete:
21743-
summary: Disable automated security fixes
21744-
description: Disables automated security fixes for a repository. The authenticated
21743+
summary: Disable Dependabot security updates
21744+
description: Disables Dependabot security updates for a repository. The authenticated
2174521745
user must have admin access to the repository. For more information, see "[Configuring
21746-
automated security fixes](https://docs.github.com/articles/configuring-automated-security-fixes)".
21746+
Dependabot security updates](https://docs.github.com/articles/configuring-automated-security-fixes)".
2174721747
tags:
2174821748
- repos
2174921749
operationId: repos/disable-automated-security-fixes
2175021750
externalDocs:
2175121751
description: API method documentation
21752-
url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes
21752+
url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates
2175321753
parameters:
2175421754
- "$ref": "#/components/parameters/owner"
2175521755
- "$ref": "#/components/parameters/repo"
@@ -74869,6 +74869,12 @@ components:
7486974869
- 'null'
7487074870
examples:
7487174871
- 62ab9291-fae2-468e-974b-7e45096d5021
74872+
group_name:
74873+
type:
74874+
- string
74875+
- 'null'
74876+
examples:
74877+
- Justice League
7487274878
html_url:
7487374879
type: string
7487474880
format: uri
@@ -81675,18 +81681,18 @@ components:
8167581681
- url_template
8167681682
- is_alphanumeric
8167781683
check-automated-security-fixes:
81678-
title: Check Automated Security Fixes
81679-
description: Check Automated Security Fixes
81684+
title: Check Dependabot security updates
81685+
description: Check Dependabot security updates
8168081686
type: object
8168181687
properties:
8168281688
enabled:
8168381689
type: boolean
81684-
description: Whether automated security fixes are enabled for the repository.
81690+
description: Whether Dependabot security updates are enabled for the repository.
8168581691
examples:
8168681692
- true
8168781693
paused:
8168881694
type: boolean
81689-
description: Whether automated security fixes are paused for the repository.
81695+
description: Whether Dependabot security updates are paused for the repository.
8169081696
examples:
8169181697
- false
8169281698
required:

0 commit comments

Comments
 (0)