Skip to content

Commit 70240b7

Browse files
WyriHaximusgithub-actions[bot]
authored andcommitted
[GitHubEnterpriseCloud] Update to 1.1.4-306d5b5d8ae10d84736da59c5abf628f from 1.1.4-c9dfbdafb6c9c747b891f7b5912601ef
Detected Schema changes: 2024-12-12 17:30:58 ERROR unable to open the rolodex file, check specification references and base path ├ error: open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory └ file: /__w/github-root/github-root/server-statistics-actions.yaml 2024-12-12 17:30:58 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-packages.yaml └ error: open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory 2024-12-12 17:30:58 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-advisory-db.yaml └ error: open /__w/github-root/github-root/server-statistics-advisory-db.yaml: no such file or directory 2024-12-12 17:31:01 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-actions.yaml └ error: open /__w/github-root/github-root/server-statistics-actions.yaml: no such file or directory 2024-12-12 17:31:01 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-packages.yaml └ error: open /__w/github-root/github-root/server-statistics-packages.yaml: no such file or directory 2024-12-12 17:31:01 ERROR unable to open the rolodex file, check specification references and base path ├ file: /__w/github-root/github-root/server-statistics-advisory-db.yaml └ error: open /__w/github-root/github-root/server-statistics-advisory-db.yaml: no such file or directory ERROR: component `server-statistics-actions.yaml` does not exist in the specification ERROR: component `server-statistics-packages.yaml` does not exist in the specification ERROR: component `server-statistics-advisory-db.yaml` does not exist in the specification ERROR: cannot resolve reference `server-statistics-actions.yaml`, it's missing: [211210:11] ERROR: cannot resolve reference `server-statistics-packages.yaml`, it's missing: [211212:11] ERROR: cannot resolve reference `server-statistics-advisory-db.yaml`, it's missing: [211214:11] ERROR: component `server-statistics-actions.yaml` does not exist in the specification ERROR: component `server-statistics-packages.yaml` does not exist in the specification ERROR: component `server-statistics-advisory-db.yaml` does not exist in the specification ERROR: cannot resolve reference `server-statistics-actions.yaml`, it's missing: [210829:11] ERROR: cannot resolve reference `server-statistics-packages.yaml`, it's missing: [210831:11] ERROR: cannot resolve reference `server-statistics-advisory-db.yaml`, it's missing: [210833:11]
1 parent f3f55c5 commit 70240b7

File tree

106 files changed

+8787
-1238
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+8787
-1238
lines changed

clients/GitHubEnterpriseCloud/README.md

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2368,6 +2368,92 @@ $client->operations()->enterpriseAdmin()->removeEnterpriseCustomProperty(
23682368
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise).
23692369

23702370

2371+
### repos/create-enterprise-ruleset
2372+
2373+
Create an enterprise repository ruleset
2374+
2375+
Using the `call` method:
2376+
```php
2377+
$client->call('POST /enterprises/{enterprise}/rulesets', [
2378+
'enterprise' => 'generated',
2379+
]);
2380+
```
2381+
2382+
Operations method:
2383+
```php
2384+
$client->operations()->repos()->createEnterpriseRuleset( enterprise: 'generated',
2385+
);
2386+
```
2387+
2388+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#create-an-enterprise-repository-ruleset).
2389+
2390+
2391+
### repos/get-enterprise-ruleset
2392+
2393+
Get an enterprise repository ruleset
2394+
2395+
Using the `call` method:
2396+
```php
2397+
$client->call('GET /enterprises/{enterprise}/rulesets/{ruleset_id}', [
2398+
'enterprise' => 'generated',
2399+
'ruleset_id' => 10,
2400+
]);
2401+
```
2402+
2403+
Operations method:
2404+
```php
2405+
$client->operations()->repos()->getEnterpriseRuleset( enterprise: 'generated',
2406+
ruleset_id: 10,
2407+
);
2408+
```
2409+
2410+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-an-enterprise-repository-ruleset).
2411+
2412+
2413+
### repos/update-enterprise-ruleset
2414+
2415+
Update an enterprise repository ruleset
2416+
2417+
Using the `call` method:
2418+
```php
2419+
$client->call('PUT /enterprises/{enterprise}/rulesets/{ruleset_id}', [
2420+
'enterprise' => 'generated',
2421+
'ruleset_id' => 10,
2422+
]);
2423+
```
2424+
2425+
Operations method:
2426+
```php
2427+
$client->operations()->repos()->updateEnterpriseRuleset( enterprise: 'generated',
2428+
ruleset_id: 10,
2429+
);
2430+
```
2431+
2432+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#update-an-enterprise-repository-ruleset).
2433+
2434+
2435+
### repos/delete-enterprise-ruleset
2436+
2437+
Delete an enterprise repository ruleset
2438+
2439+
Using the `call` method:
2440+
```php
2441+
$client->call('DELETE /enterprises/{enterprise}/rulesets/{ruleset_id}', [
2442+
'enterprise' => 'generated',
2443+
'ruleset_id' => 10,
2444+
]);
2445+
```
2446+
2447+
Operations method:
2448+
```php
2449+
$client->operations()->repos()->deleteEnterpriseRuleset( enterprise: 'generated',
2450+
ruleset_id: 10,
2451+
);
2452+
```
2453+
2454+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#delete-an-enterprise-repository-ruleset).
2455+
2456+
23712457
### secret-scanning/list-alerts-for-enterprise
23722458

23732459
List secret scanning alerts for an enterprise

0 commit comments

Comments
 (0)