Skip to content

Commit 13e833b

Browse files
authored
Merge pull request #1316 from php-api-clients/GitHub/from-1.1.4-a359c50c42a91cee9b6aa2cfcf93605d-from-1.1.4-a359c50c42a91cee9b6aa2cfcf93605d
2 parents 3f247a2 + c50f01a commit 13e833b

File tree

175 files changed

+10214
-518
lines changed

Some content is hidden

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

175 files changed

+10214
-518
lines changed

clients/GitHub/README.md

Lines changed: 312 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2830,6 +2830,310 @@ $client->operations()->actions()->setGithubActionsDefaultWorkflowPermissionsOrga
28302830
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization).
28312831

28322832

2833+
### actions/list-self-hosted-runner-groups-for-org
2834+
2835+
List self-hosted runner groups for an organization
2836+
2837+
Using the `call` method:
2838+
```php
2839+
$client->call('GET /orgs/{org}/actions/runner-groups', [
2840+
'org' => 'generated',
2841+
'visible_to_repository' => 'generated',
2842+
'per_page' => 8,
2843+
'page' => 1,
2844+
]);
2845+
```
2846+
2847+
Operations method:
2848+
```php
2849+
$client->operations()->actions()->listSelfHostedRunnerGroupsForOrg( org: 'generated',
2850+
visible_to_repository: 'generated',
2851+
per_page: 8,
2852+
page: 1,
2853+
);
2854+
```
2855+
2856+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization).
2857+
2858+
2859+
### actions/create-self-hosted-runner-group-for-org
2860+
2861+
Create a self-hosted runner group for an organization
2862+
2863+
Using the `call` method:
2864+
```php
2865+
$client->call('POST /orgs/{org}/actions/runner-groups', [
2866+
'org' => 'generated',
2867+
]);
2868+
```
2869+
2870+
Operations method:
2871+
```php
2872+
$client->operations()->actions()->createSelfHostedRunnerGroupForOrg( org: 'generated',
2873+
);
2874+
```
2875+
2876+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization).
2877+
2878+
2879+
### actions/get-self-hosted-runner-group-for-org
2880+
2881+
Get a self-hosted runner group for an organization
2882+
2883+
Using the `call` method:
2884+
```php
2885+
$client->call('GET /orgs/{org}/actions/runner-groups/{runner_group_id}', [
2886+
'org' => 'generated',
2887+
'runner_group_id' => 15,
2888+
]);
2889+
```
2890+
2891+
Operations method:
2892+
```php
2893+
$client->operations()->actions()->getSelfHostedRunnerGroupForOrg( org: 'generated',
2894+
runner_group_id: 15,
2895+
);
2896+
```
2897+
2898+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization).
2899+
2900+
2901+
### actions/delete-self-hosted-runner-group-from-org
2902+
2903+
Delete a self-hosted runner group from an organization
2904+
2905+
Using the `call` method:
2906+
```php
2907+
$client->call('DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}', [
2908+
'org' => 'generated',
2909+
'runner_group_id' => 15,
2910+
]);
2911+
```
2912+
2913+
Operations method:
2914+
```php
2915+
$client->operations()->actions()->deleteSelfHostedRunnerGroupFromOrg( org: 'generated',
2916+
runner_group_id: 15,
2917+
);
2918+
```
2919+
2920+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization).
2921+
2922+
2923+
### actions/update-self-hosted-runner-group-for-org
2924+
2925+
Update a self-hosted runner group for an organization
2926+
2927+
Using the `call` method:
2928+
```php
2929+
$client->call('PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}', [
2930+
'org' => 'generated',
2931+
'runner_group_id' => 15,
2932+
]);
2933+
```
2934+
2935+
Operations method:
2936+
```php
2937+
$client->operations()->actions()->updateSelfHostedRunnerGroupForOrg( org: 'generated',
2938+
runner_group_id: 15,
2939+
);
2940+
```
2941+
2942+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization).
2943+
2944+
2945+
### actions/list-repo-access-to-self-hosted-runner-group-in-org
2946+
2947+
List repository access to a self-hosted runner group in an organization
2948+
2949+
Using the `call` method:
2950+
```php
2951+
$client->call('GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories', [
2952+
'org' => 'generated',
2953+
'runner_group_id' => 15,
2954+
'page' => 1,
2955+
'per_page' => 8,
2956+
]);
2957+
```
2958+
2959+
Operations method:
2960+
```php
2961+
$client->operations()->actions()->listRepoAccessToSelfHostedRunnerGroupInOrg( org: 'generated',
2962+
runner_group_id: 15,
2963+
page: 1,
2964+
per_page: 8,
2965+
);
2966+
```
2967+
2968+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization).
2969+
2970+
2971+
### actions/set-repo-access-to-self-hosted-runner-group-in-org
2972+
2973+
Set repository access for a self-hosted runner group in an organization
2974+
2975+
Using the `call` method:
2976+
```php
2977+
$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories', [
2978+
'org' => 'generated',
2979+
'runner_group_id' => 15,
2980+
]);
2981+
```
2982+
2983+
Operations method:
2984+
```php
2985+
$client->operations()->actions()->setRepoAccessToSelfHostedRunnerGroupInOrg( org: 'generated',
2986+
runner_group_id: 15,
2987+
);
2988+
```
2989+
2990+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization).
2991+
2992+
2993+
### actions/add-repo-access-to-self-hosted-runner-group-in-org
2994+
2995+
Add repository access to a self-hosted runner group in an organization
2996+
2997+
Using the `call` method:
2998+
```php
2999+
$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}', [
3000+
'org' => 'generated',
3001+
'runner_group_id' => 15,
3002+
'repository_id' => 13,
3003+
]);
3004+
```
3005+
3006+
Operations method:
3007+
```php
3008+
$client->operations()->actions()->addRepoAccessToSelfHostedRunnerGroupInOrg( org: 'generated',
3009+
runner_group_id: 15,
3010+
repository_id: 13,
3011+
);
3012+
```
3013+
3014+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization).
3015+
3016+
3017+
### actions/remove-repo-access-to-self-hosted-runner-group-in-org
3018+
3019+
Remove repository access to a self-hosted runner group in an organization
3020+
3021+
Using the `call` method:
3022+
```php
3023+
$client->call('DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}', [
3024+
'org' => 'generated',
3025+
'runner_group_id' => 15,
3026+
'repository_id' => 13,
3027+
]);
3028+
```
3029+
3030+
Operations method:
3031+
```php
3032+
$client->operations()->actions()->removeRepoAccessToSelfHostedRunnerGroupInOrg( org: 'generated',
3033+
runner_group_id: 15,
3034+
repository_id: 13,
3035+
);
3036+
```
3037+
3038+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization).
3039+
3040+
3041+
### actions/list-self-hosted-runners-in-group-for-org
3042+
3043+
List self-hosted runners in a group for an organization
3044+
3045+
Using the `call` method:
3046+
```php
3047+
$client->call('GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners', [
3048+
'org' => 'generated',
3049+
'runner_group_id' => 15,
3050+
'per_page' => 8,
3051+
'page' => 1,
3052+
]);
3053+
```
3054+
3055+
Operations method:
3056+
```php
3057+
$client->operations()->actions()->listSelfHostedRunnersInGroupForOrg( org: 'generated',
3058+
runner_group_id: 15,
3059+
per_page: 8,
3060+
page: 1,
3061+
);
3062+
```
3063+
3064+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization).
3065+
3066+
3067+
### actions/set-self-hosted-runners-in-group-for-org
3068+
3069+
Set self-hosted runners in a group for an organization
3070+
3071+
Using the `call` method:
3072+
```php
3073+
$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners', [
3074+
'org' => 'generated',
3075+
'runner_group_id' => 15,
3076+
]);
3077+
```
3078+
3079+
Operations method:
3080+
```php
3081+
$client->operations()->actions()->setSelfHostedRunnersInGroupForOrg( org: 'generated',
3082+
runner_group_id: 15,
3083+
);
3084+
```
3085+
3086+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization).
3087+
3088+
3089+
### actions/add-self-hosted-runner-to-group-for-org
3090+
3091+
Add a self-hosted runner to a group for an organization
3092+
3093+
Using the `call` method:
3094+
```php
3095+
$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}', [
3096+
'org' => 'generated',
3097+
'runner_group_id' => 15,
3098+
'runner_id' => 9,
3099+
]);
3100+
```
3101+
3102+
Operations method:
3103+
```php
3104+
$client->operations()->actions()->addSelfHostedRunnerToGroupForOrg( org: 'generated',
3105+
runner_group_id: 15,
3106+
runner_id: 9,
3107+
);
3108+
```
3109+
3110+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization).
3111+
3112+
3113+
### actions/remove-self-hosted-runner-from-group-for-org
3114+
3115+
Remove a self-hosted runner from a group for an organization
3116+
3117+
Using the `call` method:
3118+
```php
3119+
$client->call('DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}', [
3120+
'org' => 'generated',
3121+
'runner_group_id' => 15,
3122+
'runner_id' => 9,
3123+
]);
3124+
```
3125+
3126+
Operations method:
3127+
```php
3128+
$client->operations()->actions()->removeSelfHostedRunnerFromGroupForOrg( org: 'generated',
3129+
runner_group_id: 15,
3130+
runner_id: 9,
3131+
);
3132+
```
3133+
3134+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization).
3135+
3136+
28333137
### actions/list-self-hosted-runners-for-org
28343138

28353139
List self-hosted runners for an organization
@@ -13000,6 +13304,8 @@ $client->call('GET /repos/{owner}/{repo}/code-scanning/alerts', [
1300013304
'tool_guid' => ,
1300113305
'ref' => 'generated',
1300213306
'pr' => 2,
13307+
'before' => 'generated',
13308+
'after' => 'generated',
1300313309
'state' => 'generated',
1300413310
'severity' => 'generated',
1300513311
'page' => 1,
@@ -13017,6 +13323,8 @@ $client->operations()->codeScanning()->listAlertsForRepo( owner: 'generat
1301713323
tool_guid: ,
1301813324
ref: 'generated',
1301913325
pr: 2,
13326+
before: 'generated',
13327+
after: 'generated',
1302013328
state: 'generated',
1302113329
severity: 'generated',
1302213330
page: 1,
@@ -13042,6 +13350,8 @@ $client->call('LIST /repos/{owner}/{repo}/code-scanning/alerts', [
1304213350
'tool_guid' => ,
1304313351
'ref' => 'generated',
1304413352
'pr' => 2,
13353+
'before' => 'generated',
13354+
'after' => 'generated',
1304513355
'state' => 'generated',
1304613356
'severity' => 'generated',
1304713357
'page' => 1,
@@ -13059,6 +13369,8 @@ $client->operations()->codeScanning()->listAlertsForRepoListing( owner: '
1305913369
tool_guid: ,
1306013370
ref: 'generated',
1306113371
pr: 2,
13372+
before: 'generated',
13373+
after: 'generated',
1306213374
state: 'generated',
1306313375
severity: 'generated',
1306413376
page: 1,

0 commit comments

Comments
 (0)