@octokit/types 8.1.0 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,8 +16,13 @@ declare type ExtractRequestBody<T> = "requestBody" extends keyof T ? "content" e
16
16
  }[keyof T["requestBody"]];
17
17
  } : {};
18
18
  declare type ToOctokitParameters<T> = ExtractParameters<T> & ExtractRequestBody<T>;
19
- declare type Operation<Url extends keyof paths, Method extends keyof paths[Url]> = {
20
- parameters: ToOctokitParameters<paths[Url][Method]>;
19
+ declare type RequiredPreview<T> = T extends string ? {
20
+ mediaType: {
21
+ previews: [T, ...string[]];
22
+ };
23
+ } : {};
24
+ declare type Operation<Url extends keyof paths, Method extends keyof paths[Url], preview = unknown> = {
25
+ parameters: ToOctokitParameters<paths[Url][Method]> & RequiredPreview<preview>;
21
26
  request: {
22
27
  method: Method extends keyof MethodsMap ? MethodsMap[Method] : never;
23
28
  url: Url;
@@ -68,18 +73,6 @@ export interface Endpoints {
68
73
  * @see https://docs.github.com/rest/reference/apps#delete-an-app-token
69
74
  */
70
75
  "DELETE /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "delete">;
71
- /**
72
- * @see https://docs.github.com/rest/reference/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise
73
- */
74
- "DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}": Operation<"/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", "delete">;
75
- /**
76
- * @see https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-enterprise
77
- */
78
- "DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", "delete">;
79
- /**
80
- * @see https://docs.github.com/rest/reference/actions#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
81
- */
82
- "DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", "delete">;
83
76
  /**
84
77
  * @see https://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise
85
78
  */
@@ -88,14 +81,6 @@ export interface Endpoints {
88
81
  * @see https://docs.github.com/rest/reference/actions#delete-self-hosted-runner-from-an-enterprise
89
82
  */
90
83
  "DELETE /enterprises/{enterprise}/actions/runners/{runner_id}": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}", "delete">;
91
- /**
92
- * @see https://docs.github.com/rest/reference/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise
93
- */
94
- "DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}/labels", "delete">;
95
- /**
96
- * @see https://docs.github.com/rest/reference/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise
97
- */
98
- "DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name}": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name}", "delete">;
99
84
  /**
100
85
  * @see https://docs.github.com/rest/reference/gists#delete-a-gist
101
86
  */
@@ -117,17 +102,17 @@ export interface Endpoints {
117
102
  */
118
103
  "DELETE /notifications/threads/{thread_id}/subscription": Operation<"/notifications/threads/{thread_id}/subscription", "delete">;
119
104
  /**
120
- * @see https://docs.github.com/rest/reference/codespaces#delete-an-organization-secret
105
+ * @see https://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization
121
106
  */
122
- "DELETE /organizations/{org}/codespaces/secrets/{secret_name}": Operation<"/organizations/{org}/codespaces/secrets/{secret_name}", "delete">;
107
+ "DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}": Operation<"/orgs/{org}/actions/permissions/repositories/{repository_id}", "delete">;
123
108
  /**
124
- * @see https://docs.github.com/rest/reference/codespaces#remove-selected-repository-from-an-organization-secret
109
+ * @see https://docs.github.com/rest/reference/actions#delete-a-required-workflow
125
110
  */
126
- "DELETE /organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "delete">;
111
+ "DELETE /orgs/{org}/actions/required_workflows/{required_workflow_id}": Operation<"/orgs/{org}/actions/required_workflows/{required_workflow_id}", "delete">;
127
112
  /**
128
- * @see https://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization
113
+ * @see https://docs.github.com/rest/reference/actions#remove-a-repository-from-selected-repositories-list-for-a-required-workflow
129
114
  */
130
- "DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}": Operation<"/orgs/{org}/actions/permissions/repositories/{repository_id}", "delete">;
115
+ "DELETE /orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories/{repository_id}", "delete">;
131
116
  /**
132
117
  * @see https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization
133
118
  */
@@ -160,14 +145,26 @@ export interface Endpoints {
160
145
  * @see https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret
161
146
  */
162
147
  "DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", "delete">;
148
+ /**
149
+ * @see https://docs.github.com/rest/actions/variables#delete-an-organization-variable
150
+ */
151
+ "DELETE /orgs/{org}/actions/variables/{name}": Operation<"/orgs/{org}/actions/variables/{name}", "delete">;
152
+ /**
153
+ * @see https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable
154
+ */
155
+ "DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/variables/{name}/repositories/{repository_id}", "delete">;
163
156
  /**
164
157
  * @see https://docs.github.com/rest/reference/orgs#unblock-a-user-from-an-organization
165
158
  */
166
159
  "DELETE /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "delete">;
167
160
  /**
168
- * @see https://docs.github.com/rest/reference/orgs#delete-a-custom-role
161
+ * @see https://docs.github.com/rest/reference/codespaces#delete-an-organization-secret
162
+ */
163
+ "DELETE /orgs/{org}/codespaces/secrets/{secret_name}": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}", "delete">;
164
+ /**
165
+ * @see https://docs.github.com/rest/reference/codespaces#remove-selected-repository-from-an-organization-secret
169
166
  */
170
- "DELETE /orgs/{org}/custom_roles/{role_id}": Operation<"/orgs/{org}/custom_roles/{role_id}", "delete">;
167
+ "DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "delete">;
171
168
  /**
172
169
  * @see https://docs.github.com/rest/reference/dependabot#delete-an-organization-secret
173
170
  */
@@ -316,6 +313,10 @@ export interface Endpoints {
316
313
  * @see https://docs.github.com/rest/reference/actions#delete-a-repository-secret
317
314
  */
318
315
  "DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/actions/secrets/{secret_name}", "delete">;
316
+ /**
317
+ * @see https://docs.github.com/rest/actions/variables#delete-a-repository-variable
318
+ */
319
+ "DELETE /repos/{owner}/{repo}/actions/variables/{name}": Operation<"/repos/{owner}/{repo}/actions/variables/{name}", "delete">;
319
320
  /**
320
321
  * @see https://docs.github.com/v3/repos#delete-autolink
321
322
  */
@@ -325,43 +326,43 @@ export interface Endpoints {
325
326
  */
326
327
  "DELETE /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "delete">;
327
328
  /**
328
- * @see https://docs.github.com/rest/reference/repos#delete-branch-protection
329
+ * @see https://docs.github.com/rest/branches/branch-protection#delete-branch-protection
329
330
  */
330
331
  "DELETE /repos/{owner}/{repo}/branches/{branch}/protection": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection", "delete">;
331
332
  /**
332
- * @see https://docs.github.com/rest/reference/repos#delete-admin-branch-protection
333
+ * @see https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection
333
334
  */
334
335
  "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", "delete">;
335
336
  /**
336
- * @see https://docs.github.com/rest/reference/repos#delete-pull-request-review-protection
337
+ * @see https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection
337
338
  */
338
339
  "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", "delete">;
339
340
  /**
340
- * @see https://docs.github.com/rest/reference/repos#delete-commit-signature-protection
341
+ * @see https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection
341
342
  */
342
343
  "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", "delete">;
343
344
  /**
344
- * @see https://docs.github.com/rest/reference/repos#remove-status-check-protection
345
+ * @see https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection
345
346
  */
346
347
  "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", "delete">;
347
348
  /**
348
- * @see https://docs.github.com/rest/reference/repos#remove-status-check-contexts
349
+ * @see https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts
349
350
  */
350
351
  "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", "delete">;
351
352
  /**
352
- * @see https://docs.github.com/rest/reference/repos#delete-access-restrictions
353
+ * @see https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions
353
354
  */
354
355
  "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", "delete">;
355
356
  /**
356
- * @see https://docs.github.com/rest/reference/repos#remove-app-access-restrictions
357
+ * @see https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions
357
358
  */
358
359
  "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", "delete">;
359
360
  /**
360
- * @see https://docs.github.com/rest/reference/repos#remove-team-access-restrictions
361
+ * @see https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions
361
362
  */
362
363
  "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", "delete">;
363
364
  /**
364
- * @see https://docs.github.com/rest/reference/repos#remove-user-access-restrictions
365
+ * @see https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions
365
366
  */
366
367
  "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", "delete">;
367
368
  /**
@@ -393,11 +394,11 @@ export interface Endpoints {
393
394
  */
394
395
  "DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/dependabot/secrets/{secret_name}", "delete">;
395
396
  /**
396
- * @see https://docs.github.com/rest/reference/repos#delete-a-deployment
397
+ * @see https://docs.github.com/rest/deployments/deployments#delete-a-deployment
397
398
  */
398
399
  "DELETE /repos/{owner}/{repo}/deployments/{deployment_id}": Operation<"/repos/{owner}/{repo}/deployments/{deployment_id}", "delete">;
399
400
  /**
400
- * @see https://docs.github.com/rest/reference/repos#delete-an-environment
401
+ * @see https://docs.github.com/rest/deployments/environments#delete-an-environment
401
402
  */
402
403
  "DELETE /repos/{owner}/{repo}/environments/{environment_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}", "delete">;
403
404
  /**
@@ -453,7 +454,7 @@ export interface Endpoints {
453
454
  */
454
455
  "DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", "delete">;
455
456
  /**
456
- * @see https://docs.github.com/rest/reference/repos#delete-a-deploy-key
457
+ * @see https://docs.github.com/rest/deploy-keys#delete-a-deploy-key
457
458
  */
458
459
  "DELETE /repos/{owner}/{repo}/keys/{key_id}": Operation<"/repos/{owner}/{repo}/keys/{key_id}", "delete">;
459
460
  /**
@@ -516,6 +517,10 @@ export interface Endpoints {
516
517
  * @see https://docs.github.com/rest/reference/actions#delete-an-environment-secret
517
518
  */
518
519
  "DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "delete">;
520
+ /**
521
+ * @see https://docs.github.com/rest/actions/variables#delete-an-environment-variable
522
+ */
523
+ "DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables/{name}", "delete">;
519
524
  /**
520
525
  * @see https://docs.github.com/rest/reference/teams/#delete-a-team-legacy
521
526
  */
@@ -664,30 +669,6 @@ export interface Endpoints {
664
669
  * @see https://docs.github.com/rest/reference/emojis#get-emojis
665
670
  */
666
671
  "GET /emojis": Operation<"/emojis", "get">;
667
- /**
668
- * @see https://docs.github.com/rest/reference/enterprise-admin#get-github-enterprise-server-statistics
669
- */
670
- "GET /enterprise-installation/{enterprise_or_org}/server-statistics": Operation<"/enterprise-installation/{enterprise_or_org}/server-statistics", "get">;
671
- /**
672
- * @see https://docs.github.com/rest/reference/actions#get-github-actions-cache-usage-for-an-enterprise
673
- */
674
- "GET /enterprises/{enterprise}/actions/cache/usage": Operation<"/enterprises/{enterprise}/actions/cache/usage", "get">;
675
- /**
676
- * @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-enterprise
677
- */
678
- "GET /enterprises/{enterprise}/actions/permissions": Operation<"/enterprises/{enterprise}/actions/permissions", "get">;
679
- /**
680
- * @see https://docs.github.com/rest/reference/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise
681
- */
682
- "GET /enterprises/{enterprise}/actions/permissions/organizations": Operation<"/enterprises/{enterprise}/actions/permissions/organizations", "get">;
683
- /**
684
- * @see https://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-enterprise
685
- */
686
- "GET /enterprises/{enterprise}/actions/permissions/selected-actions": Operation<"/enterprises/{enterprise}/actions/permissions/selected-actions", "get">;
687
- /**
688
- * @see https://docs.github.com/rest/reference/actions#get-default-workflow-permissions-for-an-enterprise
689
- */
690
- "GET /enterprises/{enterprise}/actions/permissions/workflow": Operation<"/enterprises/{enterprise}/actions/permissions/workflow", "get">;
691
672
  /**
692
673
  * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-enterprise
693
674
  */
@@ -696,42 +677,22 @@ export interface Endpoints {
696
677
  * @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-group-for-an-enterprise
697
678
  */
698
679
  "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", "get">;
699
- /**
700
- * @see https://docs.github.com/rest/reference/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise
701
- */
702
- "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", "get">;
703
- /**
704
- * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-enterprise
705
- */
706
- "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", "get">;
707
- /**
708
- * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-enterprise
709
- */
710
- "GET /enterprises/{enterprise}/actions/runners": Operation<"/enterprises/{enterprise}/actions/runners", "get">;
711
- /**
712
- * @see https://docs.github.com/rest/reference/actions#list-runner-applications-for-an-enterprise
713
- */
714
- "GET /enterprises/{enterprise}/actions/runners/downloads": Operation<"/enterprises/{enterprise}/actions/runners/downloads", "get">;
715
- /**
716
- * @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-enterprise
717
- */
718
- "GET /enterprises/{enterprise}/actions/runners/{runner_id}": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}", "get">;
719
680
  /**
720
681
  * @see https://docs.github.com/rest/reference/actions#list-labels-for-a-self-hosted-runner-for-an-enterprise
721
682
  */
722
683
  "GET /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}/labels", "get">;
723
684
  /**
724
- * @see https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-an-enterprise
685
+ * @see https://docs.github.com/rest/enterprise-admin#get-code-security-analysis-features-for-an-enterprise
725
686
  */
726
- "GET /enterprises/{enterprise}/code-scanning/alerts": Operation<"/enterprises/{enterprise}/code-scanning/alerts", "get">;
687
+ "GET /enterprises/{enterprise}/code_security_and_analysis": Operation<"/enterprises/{enterprise}/code_security_and_analysis", "get">;
727
688
  /**
728
- * @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
689
+ * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise
729
690
  */
730
- "GET /enterprises/{enterprise}/secret-scanning/alerts": Operation<"/enterprises/{enterprise}/secret-scanning/alerts", "get">;
691
+ "GET /enterprises/{enterprise}/dependabot/alerts": Operation<"/enterprises/{enterprise}/dependabot/alerts", "get">;
731
692
  /**
732
- * @see https://docs.github.com/rest/reference/billing#export-advanced-security-active-committers-data-for-enterprise
693
+ * @see https://docs.github.com/rest/reference/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
733
694
  */
734
- "GET /enterprises/{enterprise}/settings/billing/advanced-security": Operation<"/enterprises/{enterprise}/settings/billing/advanced-security", "get">;
695
+ "GET /enterprises/{enterprise}/secret-scanning/alerts": Operation<"/enterprises/{enterprise}/secret-scanning/alerts", "get">;
735
696
  /**
736
697
  * @see https://docs.github.com/rest/reference/activity#list-public-events
737
698
  */
@@ -856,26 +817,6 @@ export interface Endpoints {
856
817
  * @see https://docs.github.com/rest/reference/orgs#list-organizations
857
818
  */
858
819
  "GET /organizations": Operation<"/organizations", "get">;
859
- /**
860
- * @see https://docs.github.com/rest/reference/orgs#list-custom-repository-roles-in-an-organization
861
- */
862
- "GET /organizations/{organization_id}/custom_roles": Operation<"/organizations/{organization_id}/custom_roles", "get">;
863
- /**
864
- * @see https://docs.github.com/rest/reference/codespaces#list-organization-secrets
865
- */
866
- "GET /organizations/{org}/codespaces/secrets": Operation<"/organizations/{org}/codespaces/secrets", "get">;
867
- /**
868
- * @see https://docs.github.com/rest/reference/codespaces#get-an-organization-public-key
869
- */
870
- "GET /organizations/{org}/codespaces/secrets/public-key": Operation<"/organizations/{org}/codespaces/secrets/public-key", "get">;
871
- /**
872
- * @see https://docs.github.com/rest/reference/codespaces#get-an-organization-secret
873
- */
874
- "GET /organizations/{org}/codespaces/secrets/{secret_name}": Operation<"/organizations/{org}/codespaces/secrets/{secret_name}", "get">;
875
- /**
876
- * @see https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-an-organization-secret
877
- */
878
- "GET /organizations/{org}/codespaces/secrets/{secret_name}/repositories": Operation<"/organizations/{org}/codespaces/secrets/{secret_name}/repositories", "get">;
879
820
  /**
880
821
  * @see https://docs.github.com/rest/reference/codespaces#list-in-organization
881
822
  * @deprecated "org_id" is now "org"
@@ -893,6 +834,10 @@ export interface Endpoints {
893
834
  * @see https://docs.github.com/rest/reference/actions#list-repositories-with-github-actions-cache-usage-for-an-organization
894
835
  */
895
836
  "GET /orgs/{org}/actions/cache/usage-by-repository": Operation<"/orgs/{org}/actions/cache/usage-by-repository", "get">;
837
+ /**
838
+ * @see https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization
839
+ */
840
+ "GET /orgs/{org}/actions/oidc/customization/sub": Operation<"/orgs/{org}/actions/oidc/customization/sub", "get">;
896
841
  /**
897
842
  * @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-organization
898
843
  */
@@ -909,6 +854,18 @@ export interface Endpoints {
909
854
  * @see https://docs.github.com/rest/reference/actions#get-default-workflow-permissions
910
855
  */
911
856
  "GET /orgs/{org}/actions/permissions/workflow": Operation<"/orgs/{org}/actions/permissions/workflow", "get">;
857
+ /**
858
+ * @see https://docs.github.com/rest/reference/actions#list-required-workflows
859
+ */
860
+ "GET /orgs/{org}/actions/required_workflows": Operation<"/orgs/{org}/actions/required_workflows", "get">;
861
+ /**
862
+ * @see https://docs.github.com/rest/reference/actions#get-a-required-workflow
863
+ */
864
+ "GET /orgs/{org}/actions/required_workflows/{required_workflow_id}": Operation<"/orgs/{org}/actions/required_workflows/{required_workflow_id}", "get">;
865
+ /**
866
+ * @see https://docs.github.com/rest/reference/actions#list-selected-repositories-required-workflows
867
+ */
868
+ "GET /orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories": Operation<"/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories", "get">;
912
869
  /**
913
870
  * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization
914
871
  */
@@ -957,6 +914,18 @@ export interface Endpoints {
957
914
  * @see https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret
958
915
  */
959
916
  "GET /orgs/{org}/actions/secrets/{secret_name}/repositories": Operation<"/orgs/{org}/actions/secrets/{secret_name}/repositories", "get">;
917
+ /**
918
+ * @see https://docs.github.com/rest/actions/variables#list-organization-variables
919
+ */
920
+ "GET /orgs/{org}/actions/variables": Operation<"/orgs/{org}/actions/variables", "get">;
921
+ /**
922
+ * @see https://docs.github.com/rest/actions/variables#get-an-organization-variable
923
+ */
924
+ "GET /orgs/{org}/actions/variables/{name}": Operation<"/orgs/{org}/actions/variables/{name}", "get">;
925
+ /**
926
+ * @see https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable
927
+ */
928
+ "GET /orgs/{org}/actions/variables/{name}/repositories": Operation<"/orgs/{org}/actions/variables/{name}/repositories", "get">;
960
929
  /**
961
930
  * @see https://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization
962
931
  */
@@ -973,6 +942,26 @@ export interface Endpoints {
973
942
  * @see https://docs.github.com/rest/reference/codespaces#list-in-organization
974
943
  */
975
944
  "GET /orgs/{org}/codespaces": Operation<"/orgs/{org}/codespaces", "get">;
945
+ /**
946
+ * @see https://docs.github.com/rest/reference/codespaces#list-organization-secrets
947
+ */
948
+ "GET /orgs/{org}/codespaces/secrets": Operation<"/orgs/{org}/codespaces/secrets", "get">;
949
+ /**
950
+ * @see https://docs.github.com/rest/reference/codespaces#get-an-organization-public-key
951
+ */
952
+ "GET /orgs/{org}/codespaces/secrets/public-key": Operation<"/orgs/{org}/codespaces/secrets/public-key", "get">;
953
+ /**
954
+ * @see https://docs.github.com/rest/reference/codespaces#get-an-organization-secret
955
+ */
956
+ "GET /orgs/{org}/codespaces/secrets/{secret_name}": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}", "get">;
957
+ /**
958
+ * @see https://docs.github.com/rest/reference/codespaces#list-selected-repositories-for-an-organization-secret
959
+ */
960
+ "GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories", "get">;
961
+ /**
962
+ * @see https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization
963
+ */
964
+ "GET /orgs/{org}/dependabot/alerts": Operation<"/orgs/{org}/dependabot/alerts", "get">;
976
965
  /**
977
966
  * @see https://docs.github.com/rest/reference/dependabot#list-organization-secrets
978
967
  */
@@ -997,10 +986,6 @@ export interface Endpoints {
997
986
  * @see https://docs.github.com/rest/reference/orgs#list-failed-organization-invitations
998
987
  */
999
988
  "GET /orgs/{org}/failed_invitations": Operation<"/orgs/{org}/failed_invitations", "get">;
1000
- /**
1001
- * @see https://docs.github.com/rest/reference/orgs#list-fine-grained-permissions-for-an-organization
1002
- */
1003
- "GET /orgs/{org}/fine_grained_permissions": Operation<"/orgs/{org}/fine_grained_permissions", "get">;
1004
989
  /**
1005
990
  * @see https://docs.github.com/rest/reference/orgs#list-organization-webhooks
1006
991
  */
@@ -1053,6 +1038,10 @@ export interface Endpoints {
1053
1038
  * @see https://docs.github.com/rest/reference/orgs#check-organization-membership-for-a-user
1054
1039
  */
1055
1040
  "GET /orgs/{org}/members/{username}": Operation<"/orgs/{org}/members/{username}", "get">;
1041
+ /**
1042
+ * @see https://docs.github.com/rest/reference/codespaces#get-codespaces-for-user-in-org
1043
+ */
1044
+ "GET /orgs/{org}/members/{username}/codespaces": Operation<"/orgs/{org}/members/{username}/codespaces", "get">;
1056
1045
  /**
1057
1046
  * @see https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user
1058
1047
  */
@@ -1121,10 +1110,6 @@ export interface Endpoints {
1121
1110
  * @see https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-organization
1122
1111
  */
1123
1112
  "GET /orgs/{org}/settings/billing/actions": Operation<"/orgs/{org}/settings/billing/actions", "get">;
1124
- /**
1125
- * @see https://docs.github.com/rest/reference/billing#get-github-advanced-security-active-committers-for-an-organization
1126
- */
1127
- "GET /orgs/{org}/settings/billing/advanced-security": Operation<"/orgs/{org}/settings/billing/advanced-security", "get">;
1128
1113
  /**
1129
1114
  * @see https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-organization
1130
1115
  */
@@ -1229,6 +1214,18 @@ export interface Endpoints {
1229
1214
  * @see https://docs.github.com/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user
1230
1215
  */
1231
1216
  "GET /rate_limit": Operation<"/rate_limit", "get">;
1217
+ /**
1218
+ * @see https://docs.github.com/rest/reference/actions#list-repository-required-workflows
1219
+ */
1220
+ "GET /repos/{org}/{repo}/actions/required_workflows": Operation<"/repos/{org}/{repo}/actions/required_workflows", "get">;
1221
+ /**
1222
+ * @see https://docs.github.com/rest/reference/actions#get-repository-required-workflow
1223
+ */
1224
+ "GET /repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}": Operation<"/repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}", "get">;
1225
+ /**
1226
+ * @see https://docs.github.com/rest/reference/actions#get-repository-required-workflow-usage
1227
+ */
1228
+ "GET /repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/timing": Operation<"/repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/timing", "get">;
1232
1229
  /**
1233
1230
  * @see https://docs.github.com/rest/reference/repos#get-a-repository
1234
1231
  */
@@ -1261,6 +1258,10 @@ export interface Endpoints {
1261
1258
  * @see https://docs.github.com/rest/reference/actions#download-job-logs-for-a-workflow-run
1262
1259
  */
1263
1260
  "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs": Operation<"/repos/{owner}/{repo}/actions/jobs/{job_id}/logs", "get">;
1261
+ /**
1262
+ * @see https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository
1263
+ */
1264
+ "GET /repos/{owner}/{repo}/actions/oidc/customization/sub": Operation<"/repos/{owner}/{repo}/actions/oidc/customization/sub", "get">;
1264
1265
  /**
1265
1266
  * @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository
1266
1267
  */
@@ -1277,6 +1278,10 @@ export interface Endpoints {
1277
1278
  * @see https://docs.github.com/rest/reference/actions#get-default-workflow-permissions-for-a-repository
1278
1279
  */
1279
1280
  "GET /repos/{owner}/{repo}/actions/permissions/workflow": Operation<"/repos/{owner}/{repo}/actions/permissions/workflow", "get">;
1281
+ /**
1282
+ * @see https://docs.github.com/rest/reference/actions#list-required-workflow-runs
1283
+ */
1284
+ "GET /repos/{owner}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/runs": Operation<"/repos/{owner}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/runs", "get">;
1280
1285
  /**
1281
1286
  * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-a-repository
1282
1287
  */
@@ -1349,6 +1354,14 @@ export interface Endpoints {
1349
1354
  * @see https://docs.github.com/rest/reference/actions#get-a-repository-secret
1350
1355
  */
1351
1356
  "GET /repos/{owner}/{repo}/actions/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/actions/secrets/{secret_name}", "get">;
1357
+ /**
1358
+ * @see https://docs.github.com/rest/actions/variables#list-repository-variables
1359
+ */
1360
+ "GET /repos/{owner}/{repo}/actions/variables": Operation<"/repos/{owner}/{repo}/actions/variables", "get">;
1361
+ /**
1362
+ * @see https://docs.github.com/rest/actions/variables#get-a-repository-variable
1363
+ */
1364
+ "GET /repos/{owner}/{repo}/actions/variables/{name}": Operation<"/repos/{owner}/{repo}/actions/variables/{name}", "get">;
1352
1365
  /**
1353
1366
  * @see https://docs.github.com/rest/reference/actions#list-repository-workflows
1354
1367
  */
@@ -1382,51 +1395,51 @@ export interface Endpoints {
1382
1395
  */
1383
1396
  "GET /repos/{owner}/{repo}/autolinks/{autolink_id}": Operation<"/repos/{owner}/{repo}/autolinks/{autolink_id}", "get">;
1384
1397
  /**
1385
- * @see https://docs.github.com/rest/reference/repos#list-branches
1398
+ * @see https://docs.github.com/rest/branches/branches#list-branches
1386
1399
  */
1387
1400
  "GET /repos/{owner}/{repo}/branches": Operation<"/repos/{owner}/{repo}/branches", "get">;
1388
1401
  /**
1389
- * @see https://docs.github.com/rest/reference/repos#get-a-branch
1402
+ * @see https://docs.github.com/rest/branches/branches#get-a-branch
1390
1403
  */
1391
1404
  "GET /repos/{owner}/{repo}/branches/{branch}": Operation<"/repos/{owner}/{repo}/branches/{branch}", "get">;
1392
1405
  /**
1393
- * @see https://docs.github.com/rest/reference/repos#get-branch-protection
1406
+ * @see https://docs.github.com/rest/branches/branch-protection#get-branch-protection
1394
1407
  */
1395
1408
  "GET /repos/{owner}/{repo}/branches/{branch}/protection": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection", "get">;
1396
1409
  /**
1397
- * @see https://docs.github.com/rest/reference/repos#get-admin-branch-protection
1410
+ * @see https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection
1398
1411
  */
1399
1412
  "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", "get">;
1400
1413
  /**
1401
- * @see https://docs.github.com/rest/reference/repos#get-pull-request-review-protection
1414
+ * @see https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection
1402
1415
  */
1403
1416
  "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", "get">;
1404
1417
  /**
1405
- * @see https://docs.github.com/rest/reference/repos#get-commit-signature-protection
1418
+ * @see https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection
1406
1419
  */
1407
1420
  "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", "get">;
1408
1421
  /**
1409
- * @see https://docs.github.com/rest/reference/repos#get-status-checks-protection
1422
+ * @see https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection
1410
1423
  */
1411
1424
  "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", "get">;
1412
1425
  /**
1413
- * @see https://docs.github.com/rest/reference/repos#get-all-status-check-contexts
1426
+ * @see https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts
1414
1427
  */
1415
1428
  "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", "get">;
1416
1429
  /**
1417
- * @see https://docs.github.com/rest/reference/repos#get-access-restrictions
1430
+ * @see https://docs.github.com/rest/branches/branch-protection#get-access-restrictions
1418
1431
  */
1419
1432
  "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", "get">;
1420
1433
  /**
1421
- * @see https://docs.github.com/rest/reference/repos#list-apps-with-access-to-the-protected-branch
1434
+ * @see https://docs.github.com/rest/branches/branch-protection#list-apps-with-access-to-the-protected-branch
1422
1435
  */
1423
1436
  "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", "get">;
1424
1437
  /**
1425
- * @see https://docs.github.com/rest/reference/repos#list-teams-with-access-to-the-protected-branch
1438
+ * @see https://docs.github.com/rest/branches/branch-protection#list-teams-with-access-to-the-protected-branch
1426
1439
  */
1427
1440
  "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", "get">;
1428
1441
  /**
1429
- * @see https://docs.github.com/rest/reference/repos#list-users-with-access-to-the-protected-branch
1442
+ * @see https://docs.github.com/rest/branches/branch-protection#list-users-with-access-to-the-protected-branch
1430
1443
  */
1431
1444
  "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", "get">;
1432
1445
  /**
@@ -1619,19 +1632,19 @@ export interface Endpoints {
1619
1632
  */
1620
1633
  "GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}": Operation<"/repos/{owner}/{repo}/dependency-graph/compare/{basehead}", "get">;
1621
1634
  /**
1622
- * @see https://docs.github.com/rest/reference/repos#list-deployments
1635
+ * @see https://docs.github.com/rest/deployments/deployments#list-deployments
1623
1636
  */
1624
1637
  "GET /repos/{owner}/{repo}/deployments": Operation<"/repos/{owner}/{repo}/deployments", "get">;
1625
1638
  /**
1626
- * @see https://docs.github.com/rest/reference/repos#get-a-deployment
1639
+ * @see https://docs.github.com/rest/deployments/deployments#get-a-deployment
1627
1640
  */
1628
1641
  "GET /repos/{owner}/{repo}/deployments/{deployment_id}": Operation<"/repos/{owner}/{repo}/deployments/{deployment_id}", "get">;
1629
1642
  /**
1630
- * @see https://docs.github.com/rest/reference/repos#list-deployment-statuses
1643
+ * @see https://docs.github.com/rest/deployments/statuses#list-deployment-statuses
1631
1644
  */
1632
1645
  "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses": Operation<"/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", "get">;
1633
1646
  /**
1634
- * @see https://docs.github.com/rest/reference/repos#get-a-deployment-status
1647
+ * @see https://docs.github.com/rest/deployments/statuses#get-a-deployment-status
1635
1648
  */
1636
1649
  "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}": Operation<"/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", "get">;
1637
1650
  /**
@@ -1639,7 +1652,7 @@ export interface Endpoints {
1639
1652
  */
1640
1653
  "GET /repos/{owner}/{repo}/environments": Operation<"/repos/{owner}/{repo}/environments", "get">;
1641
1654
  /**
1642
- * @see https://docs.github.com/rest/reference/repos#get-an-environment
1655
+ * @see https://docs.github.com/rest/deployments/environments#get-an-environment
1643
1656
  */
1644
1657
  "GET /repos/{owner}/{repo}/environments/{environment_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}", "get">;
1645
1658
  /**
@@ -1754,6 +1767,10 @@ export interface Endpoints {
1754
1767
  * @see https://docs.github.com/rest/reference/issues#get-an-issue
1755
1768
  */
1756
1769
  "GET /repos/{owner}/{repo}/issues/{issue_number}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}", "get">;
1770
+ /**
1771
+ * @see https://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned-to-a-issue
1772
+ */
1773
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}", "get">;
1757
1774
  /**
1758
1775
  * @see https://docs.github.com/rest/reference/issues#list-issue-comments
1759
1776
  */
@@ -1775,11 +1792,11 @@ export interface Endpoints {
1775
1792
  */
1776
1793
  "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/timeline", "get">;
1777
1794
  /**
1778
- * @see https://docs.github.com/rest/reference/repos#list-deploy-keys
1795
+ * @see https://docs.github.com/rest/deploy-keys#list-deploy-keys
1779
1796
  */
1780
1797
  "GET /repos/{owner}/{repo}/keys": Operation<"/repos/{owner}/{repo}/keys", "get">;
1781
1798
  /**
1782
- * @see https://docs.github.com/rest/reference/repos#get-a-deploy-key
1799
+ * @see https://docs.github.com/rest/deploy-keys#get-a-deploy-key
1783
1800
  */
1784
1801
  "GET /repos/{owner}/{repo}/keys/{key_id}": Operation<"/repos/{owner}/{repo}/keys/{key_id}", "get">;
1785
1802
  /**
@@ -2030,6 +2047,14 @@ export interface Endpoints {
2030
2047
  * @see https://docs.github.com/rest/reference/actions#get-an-environment-secret
2031
2048
  */
2032
2049
  "GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}", "get">;
2050
+ /**
2051
+ * @see https://docs.github.com/rest/actions/variables#list-environment-variables
2052
+ */
2053
+ "GET /repositories/{repository_id}/environments/{environment_name}/variables": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables", "get">;
2054
+ /**
2055
+ * @see https://docs.github.com/rest/actions/variables#get-an-environment-variable
2056
+ */
2057
+ "GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables/{name}", "get">;
2033
2058
  /**
2034
2059
  * @see https://docs.github.com/rest/reference/search#search-code
2035
2060
  */
@@ -2159,7 +2184,7 @@ export interface Endpoints {
2159
2184
  */
2160
2185
  "GET /user/codespaces/{codespace_name}": Operation<"/user/codespaces/{codespace_name}", "get">;
2161
2186
  /**
2162
- * @see
2187
+ * @see https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export
2163
2188
  */
2164
2189
  "GET /user/codespaces/{codespace_name}/exports/{export_id}": Operation<"/user/codespaces/{codespace_name}/exports/{export_id}", "get">;
2165
2190
  /**
@@ -2415,7 +2440,11 @@ export interface Endpoints {
2415
2440
  */
2416
2441
  "GET /users/{username}/subscriptions": Operation<"/users/{username}/subscriptions", "get">;
2417
2442
  /**
2418
- * @see
2443
+ * @see https://docs.github.com/rest/reference/meta#get-all-api-versions
2444
+ */
2445
+ "GET /versions": Operation<"/versions", "get">;
2446
+ /**
2447
+ * @see https://docs.github.com/rest/meta#get-the-zen-of-github
2419
2448
  */
2420
2449
  "GET /zen": Operation<"/zen", "get">;
2421
2450
  /**
@@ -2427,9 +2456,9 @@ export interface Endpoints {
2427
2456
  */
2428
2457
  "PATCH /applications/{client_id}/token": Operation<"/applications/{client_id}/token", "patch">;
2429
2458
  /**
2430
- * @see https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-enterprise
2459
+ * @see https://docs.github.com/rest/enterprise-admin#update-code-security-and-analysis-features-for-an-enterprise
2431
2460
  */
2432
- "PATCH /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", "patch">;
2461
+ "PATCH /enterprises/{enterprise}/code_security_and_analysis": Operation<"/enterprises/{enterprise}/code_security_and_analysis", "patch">;
2433
2462
  /**
2434
2463
  * @see https://docs.github.com/rest/reference/gists/#update-a-gist
2435
2464
  */
@@ -2443,17 +2472,21 @@ export interface Endpoints {
2443
2472
  */
2444
2473
  "PATCH /notifications/threads/{thread_id}": Operation<"/notifications/threads/{thread_id}", "patch">;
2445
2474
  /**
2446
- * @see https://docs.github.com/rest/reference/orgs/#update-an-organization
2475
+ * @see https://docs.github.com/rest/reference/orgs#update-an-organization
2447
2476
  */
2448
2477
  "PATCH /orgs/{org}": Operation<"/orgs/{org}", "patch">;
2478
+ /**
2479
+ * @see https://docs.github.com/rest/reference/actions#update-a-required-workflow
2480
+ */
2481
+ "PATCH /orgs/{org}/actions/required_workflows/{required_workflow_id}": Operation<"/orgs/{org}/actions/required_workflows/{required_workflow_id}", "patch">;
2449
2482
  /**
2450
2483
  * @see https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization
2451
2484
  */
2452
2485
  "PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation<"/orgs/{org}/actions/runner-groups/{runner_group_id}", "patch">;
2453
2486
  /**
2454
- * @see https://docs.github.com/rest/reference/orgs#update-a-custom-role
2487
+ * @see https://docs.github.com/rest/actions/variables#update-an-organization-variable
2455
2488
  */
2456
- "PATCH /orgs/{org}/custom_roles/{role_id}": Operation<"/orgs/{org}/custom_roles/{role_id}", "patch">;
2489
+ "PATCH /orgs/{org}/actions/variables/{name}": Operation<"/orgs/{org}/actions/variables/{name}", "patch">;
2457
2490
  /**
2458
2491
  * @see https://docs.github.com/rest/reference/orgs#update-an-organization-webhook
2459
2492
  */
@@ -2487,15 +2520,19 @@ export interface Endpoints {
2487
2520
  */
2488
2521
  "PATCH /projects/{project_id}": Operation<"/projects/{project_id}", "patch">;
2489
2522
  /**
2490
- * @see https://docs.github.com/rest/reference/repos/#update-a-repository
2523
+ * @see https://docs.github.com/rest/repos/repos#update-a-repository
2491
2524
  */
2492
2525
  "PATCH /repos/{owner}/{repo}": Operation<"/repos/{owner}/{repo}", "patch">;
2493
2526
  /**
2494
- * @see https://docs.github.com/rest/reference/repos#update-pull-request-review-protection
2527
+ * @see https://docs.github.com/rest/actions/variables#update-a-repository-variable
2528
+ */
2529
+ "PATCH /repos/{owner}/{repo}/actions/variables/{name}": Operation<"/repos/{owner}/{repo}/actions/variables/{name}", "patch">;
2530
+ /**
2531
+ * @see https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection
2495
2532
  */
2496
2533
  "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", "patch">;
2497
2534
  /**
2498
- * @see https://docs.github.com/rest/reference/repos#update-status-check-protection
2535
+ * @see https://docs.github.com/rest/branches/branch-protection#update-status-check-protection
2499
2536
  */
2500
2537
  "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", "patch">;
2501
2538
  /**
@@ -2551,7 +2588,7 @@ export interface Endpoints {
2551
2588
  */
2552
2589
  "PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}": Operation<"/repos/{owner}/{repo}/issues/comments/{comment_id}", "patch">;
2553
2590
  /**
2554
- * @see https://docs.github.com/rest/reference/issues/#update-an-issue
2591
+ * @see https://docs.github.com/rest/reference/issues#update-an-issue
2555
2592
  */
2556
2593
  "PATCH /repos/{owner}/{repo}/issues/{issue_number}": Operation<"/repos/{owner}/{repo}/issues/{issue_number}", "patch">;
2557
2594
  /**
@@ -2582,6 +2619,10 @@ export interface Endpoints {
2582
2619
  * @see https://docs.github.com/rest/reference/secret-scanning#update-a-secret-scanning-alert
2583
2620
  */
2584
2621
  "PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}": Operation<"/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}", "patch">;
2622
+ /**
2623
+ * @see https://docs.github.com/rest/actions/variables#update-an-environment-variable
2624
+ */
2625
+ "PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables/{name}", "patch">;
2585
2626
  /**
2586
2627
  * @see https://docs.github.com/rest/reference/teams/#update-a-team-legacy
2587
2628
  */
@@ -2638,18 +2679,14 @@ export interface Endpoints {
2638
2679
  * @see https://docs.github.com/rest/reference/actions#create-self-hosted-runner-group-for-an-enterprise
2639
2680
  */
2640
2681
  "POST /enterprises/{enterprise}/actions/runner-groups": Operation<"/enterprises/{enterprise}/actions/runner-groups", "post">;
2641
- /**
2642
- * @see https://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-enterprise
2643
- */
2644
- "POST /enterprises/{enterprise}/actions/runners/registration-token": Operation<"/enterprises/{enterprise}/actions/runners/registration-token", "post">;
2645
- /**
2646
- * @see https://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-enterprise
2647
- */
2648
- "POST /enterprises/{enterprise}/actions/runners/remove-token": Operation<"/enterprises/{enterprise}/actions/runners/remove-token", "post">;
2649
2682
  /**
2650
2683
  * @see https://docs.github.com/rest/reference/actions#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise
2651
2684
  */
2652
2685
  "POST /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}/labels", "post">;
2686
+ /**
2687
+ * @see https://docs.github.com/rest/enterprise-admin#enable-or-disable-a-security-feature
2688
+ */
2689
+ "POST /enterprises/{enterprise}/{security_product}/{enablement}": Operation<"/enterprises/{enterprise}/{security_product}/{enablement}", "post">;
2653
2690
  /**
2654
2691
  * @see https://docs.github.com/rest/reference/gists#create-a-gist
2655
2692
  */
@@ -2670,6 +2707,10 @@ export interface Endpoints {
2670
2707
  * @see https://docs.github.com/rest/reference/markdown#render-a-markdown-document-in-raw-mode
2671
2708
  */
2672
2709
  "POST /markdown/raw": Operation<"/markdown/raw", "post">;
2710
+ /**
2711
+ * @see https://docs.github.com/rest/reference/actions#create-a-required-workflow
2712
+ */
2713
+ "POST /orgs/{org}/actions/required_workflows": Operation<"/orgs/{org}/actions/required_workflows", "post">;
2673
2714
  /**
2674
2715
  * @see https://docs.github.com/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization
2675
2716
  */
@@ -2687,9 +2728,9 @@ export interface Endpoints {
2687
2728
  */
2688
2729
  "POST /orgs/{org}/actions/runners/{runner_id}/labels": Operation<"/orgs/{org}/actions/runners/{runner_id}/labels", "post">;
2689
2730
  /**
2690
- * @see https://docs.github.com/rest/reference/orgs#create-a-custom-role
2731
+ * @see https://docs.github.com/rest/actions/variables#create-an-organization-variable
2691
2732
  */
2692
- "POST /orgs/{org}/custom_roles": Operation<"/orgs/{org}/custom_roles", "post">;
2733
+ "POST /orgs/{org}/actions/variables": Operation<"/orgs/{org}/actions/variables", "post">;
2693
2734
  /**
2694
2735
  * @see https://docs.github.com/rest/reference/orgs#create-an-organization-webhook
2695
2736
  */
@@ -2806,6 +2847,10 @@ export interface Endpoints {
2806
2847
  * @see https://docs.github.com/rest/reference/actions#re-run-workflow-failed-jobs
2807
2848
  */
2808
2849
  "POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs": Operation<"/repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs", "post">;
2850
+ /**
2851
+ * @see https://docs.github.com/rest/actions/variables#create-a-repository-variable
2852
+ */
2853
+ "POST /repos/{owner}/{repo}/actions/variables": Operation<"/repos/{owner}/{repo}/actions/variables", "post">;
2809
2854
  /**
2810
2855
  * @see https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event
2811
2856
  */
@@ -2815,31 +2860,31 @@ export interface Endpoints {
2815
2860
  */
2816
2861
  "POST /repos/{owner}/{repo}/autolinks": Operation<"/repos/{owner}/{repo}/autolinks", "post">;
2817
2862
  /**
2818
- * @see https://docs.github.com/rest/reference/repos#set-admin-branch-protection
2863
+ * @see https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection
2819
2864
  */
2820
2865
  "POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", "post">;
2821
2866
  /**
2822
- * @see https://docs.github.com/rest/reference/repos#create-commit-signature-protection
2867
+ * @see https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection
2823
2868
  */
2824
2869
  "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", "post">;
2825
2870
  /**
2826
- * @see https://docs.github.com/rest/reference/repos#add-status-check-contexts
2871
+ * @see https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts
2827
2872
  */
2828
2873
  "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", "post">;
2829
2874
  /**
2830
- * @see https://docs.github.com/rest/reference/repos#add-app-access-restrictions
2875
+ * @see https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions
2831
2876
  */
2832
2877
  "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", "post">;
2833
2878
  /**
2834
- * @see https://docs.github.com/rest/reference/repos#add-team-access-restrictions
2879
+ * @see https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions
2835
2880
  */
2836
2881
  "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", "post">;
2837
2882
  /**
2838
- * @see https://docs.github.com/rest/reference/repos#add-user-access-restrictions
2883
+ * @see https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions
2839
2884
  */
2840
2885
  "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", "post">;
2841
2886
  /**
2842
- * @see https://docs.github.com/rest/reference/repos#rename-a-branch
2887
+ * @see https://docs.github.com/rest/branches/branches#rename-a-branch
2843
2888
  */
2844
2889
  "POST /repos/{owner}/{repo}/branches/{branch}/rename": Operation<"/repos/{owner}/{repo}/branches/{branch}/rename", "post">;
2845
2890
  /**
@@ -2879,11 +2924,11 @@ export interface Endpoints {
2879
2924
  */
2880
2925
  "POST /repos/{owner}/{repo}/dependency-graph/snapshots": Operation<"/repos/{owner}/{repo}/dependency-graph/snapshots", "post">;
2881
2926
  /**
2882
- * @see https://docs.github.com/rest/reference/repos#create-a-deployment
2927
+ * @see https://docs.github.com/rest/deployments/deployments#create-a-deployment
2883
2928
  */
2884
2929
  "POST /repos/{owner}/{repo}/deployments": Operation<"/repos/{owner}/{repo}/deployments", "post">;
2885
2930
  /**
2886
- * @see https://docs.github.com/rest/reference/repos#create-a-deployment-status
2931
+ * @see https://docs.github.com/rest/deployments/statuses#create-a-deployment-status
2887
2932
  */
2888
2933
  "POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses": Operation<"/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", "post">;
2889
2934
  /**
@@ -2959,7 +3004,7 @@ export interface Endpoints {
2959
3004
  */
2960
3005
  "POST /repos/{owner}/{repo}/issues/{issue_number}/reactions": Operation<"/repos/{owner}/{repo}/issues/{issue_number}/reactions", "post">;
2961
3006
  /**
2962
- * @see https://docs.github.com/rest/reference/repos#create-a-deploy-key
3007
+ * @see https://docs.github.com/rest/deploy-keys#create-a-deploy-key
2963
3008
  */
2964
3009
  "POST /repos/{owner}/{repo}/keys": Operation<"/repos/{owner}/{repo}/keys", "post">;
2965
3010
  /**
@@ -2967,11 +3012,11 @@ export interface Endpoints {
2967
3012
  */
2968
3013
  "POST /repos/{owner}/{repo}/labels": Operation<"/repos/{owner}/{repo}/labels", "post">;
2969
3014
  /**
2970
- * @see https://docs.github.com/rest/reference/repos#sync-a-fork-branch-with-the-upstream-repository
3015
+ * @see https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository
2971
3016
  */
2972
3017
  "POST /repos/{owner}/{repo}/merge-upstream": Operation<"/repos/{owner}/{repo}/merge-upstream", "post">;
2973
3018
  /**
2974
- * @see https://docs.github.com/rest/reference/repos#merge-a-branch
3019
+ * @see https://docs.github.com/rest/branches/branches#merge-a-branch
2975
3020
  */
2976
3021
  "POST /repos/{owner}/{repo}/merges": Operation<"/repos/{owner}/{repo}/merges", "post">;
2977
3022
  /**
@@ -3054,6 +3099,10 @@ export interface Endpoints {
3054
3099
  * @see https://docs.github.com/rest/reference/repos#create-a-repository-using-a-template
3055
3100
  */
3056
3101
  "POST /repos/{template_owner}/{template_repo}/generate": Operation<"/repos/{template_owner}/{template_repo}/generate", "post">;
3102
+ /**
3103
+ * @see https://docs.github.com/rest/actions/variables#create-an-environment-variable
3104
+ */
3105
+ "POST /repositories/{repository_id}/environments/{environment_name}/variables": Operation<"/repositories/{repository_id}/environments/{environment_name}/variables", "post">;
3057
3106
  /**
3058
3107
  * @see https://docs.github.com/rest/reference/teams#create-a-discussion-legacy
3059
3108
  */
@@ -3075,9 +3124,13 @@ export interface Endpoints {
3075
3124
  */
3076
3125
  "POST /user/codespaces": Operation<"/user/codespaces", "post">;
3077
3126
  /**
3078
- * @see
3127
+ * @see https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user
3079
3128
  */
3080
3129
  "POST /user/codespaces/{codespace_name}/exports": Operation<"/user/codespaces/{codespace_name}/exports", "post">;
3130
+ /**
3131
+ * @see https://docs.github.com/rest/reference/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace
3132
+ */
3133
+ "POST /user/codespaces/{codespace_name}/publish": Operation<"/user/codespaces/{codespace_name}/publish", "post">;
3081
3134
  /**
3082
3135
  * @see https://docs.github.com/rest/reference/codespaces#start-a-codespace-for-the-authenticated-user
3083
3136
  */
@@ -3138,46 +3191,14 @@ export interface Endpoints {
3138
3191
  * @see https://docs.github.com/rest/reference/apps#suspend-an-app-installation
3139
3192
  */
3140
3193
  "PUT /app/installations/{installation_id}/suspended": Operation<"/app/installations/{installation_id}/suspended", "put">;
3141
- /**
3142
- * @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-enterprise
3143
- */
3144
- "PUT /enterprises/{enterprise}/actions/permissions": Operation<"/enterprises/{enterprise}/actions/permissions", "put">;
3145
- /**
3146
- * @see https://docs.github.com/rest/reference/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise
3147
- */
3148
- "PUT /enterprises/{enterprise}/actions/permissions/organizations": Operation<"/enterprises/{enterprise}/actions/permissions/organizations", "put">;
3149
3194
  /**
3150
3195
  * @see https://docs.github.com/rest/reference/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise
3151
3196
  */
3152
3197
  "PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}": Operation<"/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", "put">;
3153
- /**
3154
- * @see https://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-enterprise
3155
- */
3156
- "PUT /enterprises/{enterprise}/actions/permissions/selected-actions": Operation<"/enterprises/{enterprise}/actions/permissions/selected-actions", "put">;
3157
- /**
3158
- * @see https://docs.github.com/rest/reference/actions#set-default-workflow-permissions-for-an-enterprise
3159
- */
3160
- "PUT /enterprises/{enterprise}/actions/permissions/workflow": Operation<"/enterprises/{enterprise}/actions/permissions/workflow", "put">;
3161
- /**
3162
- * @see https://docs.github.com/rest/reference/actions#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
3163
- */
3164
- "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", "put">;
3165
3198
  /**
3166
3199
  * @see https://docs.github.com/rest/reference/actions#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise
3167
3200
  */
3168
3201
  "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", "put">;
3169
- /**
3170
- * @see https://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-enterprise
3171
- */
3172
- "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", "put">;
3173
- /**
3174
- * @see https://docs.github.com/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise
3175
- */
3176
- "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation<"/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", "put">;
3177
- /**
3178
- * @see https://docs.github.com/rest/reference/actions#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise
3179
- */
3180
- "PUT /enterprises/{enterprise}/actions/runners/{runner_id}/labels": Operation<"/enterprises/{enterprise}/actions/runners/{runner_id}/labels", "put">;
3181
3202
  /**
3182
3203
  * @see https://docs.github.com/rest/reference/gists#star-a-gist
3183
3204
  */
@@ -3191,17 +3212,9 @@ export interface Endpoints {
3191
3212
  */
3192
3213
  "PUT /notifications/threads/{thread_id}/subscription": Operation<"/notifications/threads/{thread_id}/subscription", "put">;
3193
3214
  /**
3194
- * @see https://docs.github.com/rest/reference/codespaces#create-or-update-an-organization-secret
3195
- */
3196
- "PUT /organizations/{org}/codespaces/secrets/{secret_name}": Operation<"/organizations/{org}/codespaces/secrets/{secret_name}", "put">;
3197
- /**
3198
- * @see https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-an-organization-secret
3215
+ * @see https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization
3199
3216
  */
3200
- "PUT /organizations/{org}/codespaces/secrets/{secret_name}/repositories": Operation<"/organizations/{org}/codespaces/secrets/{secret_name}/repositories", "put">;
3201
- /**
3202
- * @see https://docs.github.com/rest/reference/codespaces#add-selected-repository-to-an-organization-secret
3203
- */
3204
- "PUT /organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/organizations/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "put">;
3217
+ "PUT /orgs/{org}/actions/oidc/customization/sub": Operation<"/orgs/{org}/actions/oidc/customization/sub", "put">;
3205
3218
  /**
3206
3219
  * @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-organization
3207
3220
  */
@@ -3222,6 +3235,14 @@ export interface Endpoints {
3222
3235
  * @see https://docs.github.com/rest/reference/actions#set-default-workflow-permissions
3223
3236
  */
3224
3237
  "PUT /orgs/{org}/actions/permissions/workflow": Operation<"/orgs/{org}/actions/permissions/workflow", "put">;
3238
+ /**
3239
+ * @see https://docs.github.com/rest/reference/actions#set-selected-repositories-for-a-required-workflow
3240
+ */
3241
+ "PUT /orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories": Operation<"/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories", "put">;
3242
+ /**
3243
+ * @see https://docs.github.com/rest/reference/actions#add-a-repository-to-selected-repositories-list-for-a-required-workflow
3244
+ */
3245
+ "PUT /orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/required_workflows/{required_workflow_id}/repositories/{repository_id}", "put">;
3225
3246
  /**
3226
3247
  * @see https://docs.github.com/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization
3227
3248
  */
@@ -3250,10 +3271,34 @@ export interface Endpoints {
3250
3271
  * @see https://docs.github.com/rest/reference/actions#add-selected-repository-to-an-organization-secret
3251
3272
  */
3252
3273
  "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", "put">;
3274
+ /**
3275
+ * @see https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable
3276
+ */
3277
+ "PUT /orgs/{org}/actions/variables/{name}/repositories": Operation<"/orgs/{org}/actions/variables/{name}/repositories", "put">;
3278
+ /**
3279
+ * @see https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable
3280
+ */
3281
+ "PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}": Operation<"/orgs/{org}/actions/variables/{name}/repositories/{repository_id}", "put">;
3253
3282
  /**
3254
3283
  * @see https://docs.github.com/rest/reference/orgs#block-a-user-from-an-organization
3255
3284
  */
3256
3285
  "PUT /orgs/{org}/blocks/{username}": Operation<"/orgs/{org}/blocks/{username}", "put">;
3286
+ /**
3287
+ * @see https://docs.github.com/rest/reference/codespaces#set-codespaces-billing
3288
+ */
3289
+ "PUT /orgs/{org}/codespaces/billing": Operation<"/orgs/{org}/codespaces/billing", "put">;
3290
+ /**
3291
+ * @see https://docs.github.com/rest/reference/codespaces#create-or-update-an-organization-secret
3292
+ */
3293
+ "PUT /orgs/{org}/codespaces/secrets/{secret_name}": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}", "put">;
3294
+ /**
3295
+ * @see https://docs.github.com/rest/reference/codespaces#set-selected-repositories-for-an-organization-secret
3296
+ */
3297
+ "PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories", "put">;
3298
+ /**
3299
+ * @see https://docs.github.com/rest/reference/codespaces#add-selected-repository-to-an-organization-secret
3300
+ */
3301
+ "PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}": Operation<"/orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}", "put">;
3257
3302
  /**
3258
3303
  * @see https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret
3259
3304
  */
@@ -3302,6 +3347,10 @@ export interface Endpoints {
3302
3347
  * @see https://docs.github.com/rest/reference/projects#add-project-collaborator
3303
3348
  */
3304
3349
  "PUT /projects/{project_id}/collaborators/{username}": Operation<"/projects/{project_id}/collaborators/{username}", "put">;
3350
+ /**
3351
+ * @see https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository
3352
+ */
3353
+ "PUT /repos/{owner}/{repo}/actions/oidc/customization/sub": Operation<"/repos/{owner}/{repo}/actions/oidc/customization/sub", "put">;
3305
3354
  /**
3306
3355
  * @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository
3307
3356
  */
@@ -3339,23 +3388,23 @@ export interface Endpoints {
3339
3388
  */
3340
3389
  "PUT /repos/{owner}/{repo}/automated-security-fixes": Operation<"/repos/{owner}/{repo}/automated-security-fixes", "put">;
3341
3390
  /**
3342
- * @see https://docs.github.com/rest/reference/repos#update-branch-protection
3391
+ * @see https://docs.github.com/rest/branches/branch-protection#update-branch-protection
3343
3392
  */
3344
3393
  "PUT /repos/{owner}/{repo}/branches/{branch}/protection": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection", "put">;
3345
3394
  /**
3346
- * @see https://docs.github.com/rest/reference/repos#set-status-check-contexts
3395
+ * @see https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts
3347
3396
  */
3348
3397
  "PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", "put">;
3349
3398
  /**
3350
- * @see https://docs.github.com/rest/reference/repos#set-app-access-restrictions
3399
+ * @see https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions
3351
3400
  */
3352
3401
  "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", "put">;
3353
3402
  /**
3354
- * @see https://docs.github.com/rest/reference/repos#set-team-access-restrictions
3403
+ * @see https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions
3355
3404
  */
3356
3405
  "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", "put">;
3357
3406
  /**
3358
- * @see https://docs.github.com/rest/reference/repos#set-user-access-restrictions
3407
+ * @see https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions
3359
3408
  */
3360
3409
  "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation<"/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", "put">;
3361
3410
  /**
@@ -3375,7 +3424,7 @@ export interface Endpoints {
3375
3424
  */
3376
3425
  "PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}": Operation<"/repos/{owner}/{repo}/dependabot/secrets/{secret_name}", "put">;
3377
3426
  /**
3378
- * @see https://docs.github.com/rest/reference/repos#create-or-update-an-environment
3427
+ * @see https://docs.github.com/rest/deployments/environments#create-or-update-an-environment
3379
3428
  */
3380
3429
  "PUT /repos/{owner}/{repo}/environments/{environment_name}": Operation<"/repos/{owner}/{repo}/environments/{environment_name}", "put">;
3381
3430
  /**
@@ -3455,7 +3504,7 @@ export interface Endpoints {
3455
3504
  */
3456
3505
  "PUT /teams/{team_id}/projects/{project_id}": Operation<"/teams/{team_id}/projects/{project_id}", "put">;
3457
3506
  /**
3458
- * @see https://docs.github.com/rest/reference/teams/#add-or-update-team-repository-permissions-legacy
3507
+ * @see https://docs.github.com/rest/reference/teams#add-or-update-team-repository-permissions-legacy
3459
3508
  */
3460
3509
  "PUT /teams/{team_id}/repos/{owner}/{repo}": Operation<"/teams/{team_id}/repos/{owner}/{repo}", "put">;
3461
3510
  /**