@pulumi/github 6.0.0-alpha.1709363818 → 6.0.0-alpha.1768023817

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.
Files changed (486) hide show
  1. package/actionsEnvironmentSecret.d.ts +0 -37
  2. package/actionsEnvironmentSecret.js +17 -54
  3. package/actionsEnvironmentSecret.js.map +1 -1
  4. package/actionsEnvironmentVariable.d.ts +5 -5
  5. package/actionsEnvironmentVariable.js +21 -21
  6. package/actionsEnvironmentVariable.js.map +1 -1
  7. package/actionsHostedRunner.d.ts +250 -0
  8. package/actionsHostedRunner.js +158 -0
  9. package/actionsHostedRunner.js.map +1 -0
  10. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +2 -2
  11. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +7 -7
  12. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  13. package/actionsOrganizationPermissions.d.ts +2 -2
  14. package/actionsOrganizationPermissions.js +13 -13
  15. package/actionsOrganizationPermissions.js.map +1 -1
  16. package/actionsOrganizationSecret.d.ts +6 -39
  17. package/actionsOrganizationSecret.js +21 -55
  18. package/actionsOrganizationSecret.js.map +1 -1
  19. package/actionsOrganizationSecretRepositories.d.ts +2 -2
  20. package/actionsOrganizationSecretRepositories.js +10 -10
  21. package/actionsOrganizationSecretRepositories.js.map +1 -1
  22. package/actionsOrganizationSecretRepository.d.ts +89 -0
  23. package/actionsOrganizationSecretRepository.js +86 -0
  24. package/actionsOrganizationSecretRepository.js.map +1 -0
  25. package/actionsOrganizationVariable.d.ts +4 -4
  26. package/actionsOrganizationVariable.js +19 -19
  27. package/actionsOrganizationVariable.js.map +1 -1
  28. package/actionsRepositoryAccessLevel.d.ts +5 -2
  29. package/actionsRepositoryAccessLevel.js +13 -10
  30. package/actionsRepositoryAccessLevel.js.map +1 -1
  31. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +3 -3
  32. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +13 -13
  33. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  34. package/actionsRepositoryPermissions.d.ts +2 -2
  35. package/actionsRepositoryPermissions.js +13 -13
  36. package/actionsRepositoryPermissions.js.map +1 -1
  37. package/actionsRunnerGroup.d.ts +5 -4
  38. package/actionsRunnerGroup.js +25 -24
  39. package/actionsRunnerGroup.js.map +1 -1
  40. package/actionsSecret.d.ts +6 -21
  41. package/actionsSecret.js +19 -35
  42. package/actionsSecret.js.map +1 -1
  43. package/actionsVariable.d.ts +3 -3
  44. package/actionsVariable.js +16 -16
  45. package/actionsVariable.js.map +1 -1
  46. package/appInstallationRepositories.d.ts +3 -2
  47. package/appInstallationRepositories.js +11 -10
  48. package/appInstallationRepositories.js.map +1 -1
  49. package/appInstallationRepository.d.ts +5 -4
  50. package/appInstallationRepository.js +14 -13
  51. package/appInstallationRepository.js.map +1 -1
  52. package/branch.d.ts +11 -6
  53. package/branch.js +23 -22
  54. package/branch.js.map +1 -1
  55. package/branchDefault.d.ts +4 -1
  56. package/branchDefault.js +15 -13
  57. package/branchDefault.js.map +1 -1
  58. package/branchProtection.d.ts +9 -9
  59. package/branchProtection.js +39 -39
  60. package/branchProtection.js.map +1 -1
  61. package/branchProtectionV3.d.ts +58 -1
  62. package/branchProtectionV3.js +79 -22
  63. package/branchProtectionV3.js.map +1 -1
  64. package/codespacesOrganizationSecret.d.ts +2 -39
  65. package/codespacesOrganizationSecret.js +18 -55
  66. package/codespacesOrganizationSecret.js.map +1 -1
  67. package/codespacesOrganizationSecretRepositories.d.ts +2 -2
  68. package/codespacesOrganizationSecretRepositories.js +10 -10
  69. package/codespacesOrganizationSecretRepositories.js.map +1 -1
  70. package/codespacesSecret.d.ts +3 -21
  71. package/codespacesSecret.js +17 -35
  72. package/codespacesSecret.js.map +1 -1
  73. package/codespacesUserSecret.d.ts +2 -21
  74. package/codespacesUserSecret.js +15 -34
  75. package/codespacesUserSecret.js.map +1 -1
  76. package/config/index.js +1 -1
  77. package/config/index.js.map +1 -1
  78. package/config/vars.d.ts +8 -9
  79. package/config/vars.js +9 -5
  80. package/config/vars.js.map +1 -1
  81. package/dependabotOrganizationSecret.d.ts +2 -39
  82. package/dependabotOrganizationSecret.js +18 -55
  83. package/dependabotOrganizationSecret.js.map +1 -1
  84. package/dependabotOrganizationSecretRepositories.d.ts +3 -3
  85. package/dependabotOrganizationSecretRepositories.js +11 -11
  86. package/dependabotOrganizationSecretRepositories.js.map +1 -1
  87. package/dependabotSecret.d.ts +3 -21
  88. package/dependabotSecret.js +17 -35
  89. package/dependabotSecret.js.map +1 -1
  90. package/emuGroupMapping.d.ts +3 -4
  91. package/emuGroupMapping.js +12 -13
  92. package/emuGroupMapping.js.map +1 -1
  93. package/enterpriseActionsPermissions.d.ts +137 -0
  94. package/enterpriseActionsPermissions.js +102 -0
  95. package/enterpriseActionsPermissions.js.map +1 -0
  96. package/enterpriseActionsRunnerGroup.d.ts +190 -0
  97. package/enterpriseActionsRunnerGroup.js +113 -0
  98. package/enterpriseActionsRunnerGroup.js.map +1 -0
  99. package/enterpriseActionsWorkflowPermissions.d.ts +113 -0
  100. package/enterpriseActionsWorkflowPermissions.js +97 -0
  101. package/enterpriseActionsWorkflowPermissions.js.map +1 -0
  102. package/enterpriseOrganization.d.ts +11 -2
  103. package/enterpriseOrganization.js +22 -19
  104. package/enterpriseOrganization.js.map +1 -1
  105. package/enterpriseSecurityAnalysisSettings.d.ts +162 -0
  106. package/enterpriseSecurityAnalysisSettings.js +116 -0
  107. package/enterpriseSecurityAnalysisSettings.js.map +1 -0
  108. package/getActionsEnvironmentPublicKey.d.ts +80 -0
  109. package/getActionsEnvironmentPublicKey.js +56 -0
  110. package/getActionsEnvironmentPublicKey.js.map +1 -0
  111. package/getActionsEnvironmentSecrets.d.ts +3 -3
  112. package/getActionsEnvironmentSecrets.js +9 -4
  113. package/getActionsEnvironmentSecrets.js.map +1 -1
  114. package/getActionsEnvironmentVariables.d.ts +3 -3
  115. package/getActionsEnvironmentVariables.js +9 -4
  116. package/getActionsEnvironmentVariables.js.map +1 -1
  117. package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +1 -1
  118. package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js +3 -2
  119. package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  120. package/getActionsOrganizationPublicKey.d.ts +1 -1
  121. package/getActionsOrganizationPublicKey.js +3 -2
  122. package/getActionsOrganizationPublicKey.js.map +1 -1
  123. package/getActionsOrganizationRegistrationToken.d.ts +1 -1
  124. package/getActionsOrganizationRegistrationToken.js +3 -2
  125. package/getActionsOrganizationRegistrationToken.js.map +1 -1
  126. package/getActionsOrganizationSecrets.d.ts +1 -1
  127. package/getActionsOrganizationSecrets.js +3 -2
  128. package/getActionsOrganizationSecrets.js.map +1 -1
  129. package/getActionsOrganizationVariables.d.ts +1 -1
  130. package/getActionsOrganizationVariables.js +3 -2
  131. package/getActionsOrganizationVariables.js.map +1 -1
  132. package/getActionsPublicKey.d.ts +1 -1
  133. package/getActionsPublicKey.js +5 -2
  134. package/getActionsPublicKey.js.map +1 -1
  135. package/getActionsRegistrationToken.d.ts +1 -1
  136. package/getActionsRegistrationToken.js +5 -2
  137. package/getActionsRegistrationToken.js.map +1 -1
  138. package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +1 -1
  139. package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js +5 -2
  140. package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  141. package/getActionsSecrets.d.ts +1 -1
  142. package/getActionsSecrets.js +7 -2
  143. package/getActionsSecrets.js.map +1 -1
  144. package/getActionsVariables.d.ts +1 -1
  145. package/getActionsVariables.js +7 -2
  146. package/getActionsVariables.js.map +1 -1
  147. package/getAppToken.d.ts +13 -9
  148. package/getAppToken.js +19 -10
  149. package/getAppToken.js.map +1 -1
  150. package/getBranch.d.ts +3 -3
  151. package/getBranch.js +8 -4
  152. package/getBranch.js.map +1 -1
  153. package/getBranchProtectionRules.d.ts +1 -1
  154. package/getBranchProtectionRules.js +5 -2
  155. package/getBranchProtectionRules.js.map +1 -1
  156. package/getCodespacesOrganizationPublicKey.d.ts +1 -1
  157. package/getCodespacesOrganizationPublicKey.js +3 -2
  158. package/getCodespacesOrganizationPublicKey.js.map +1 -1
  159. package/getCodespacesOrganizationSecrets.d.ts +1 -1
  160. package/getCodespacesOrganizationSecrets.js +3 -2
  161. package/getCodespacesOrganizationSecrets.js.map +1 -1
  162. package/getCodespacesPublicKey.d.ts +1 -1
  163. package/getCodespacesPublicKey.js +5 -2
  164. package/getCodespacesPublicKey.js.map +1 -1
  165. package/getCodespacesSecrets.d.ts +1 -1
  166. package/getCodespacesSecrets.js +7 -2
  167. package/getCodespacesSecrets.js.map +1 -1
  168. package/getCodespacesUserPublicKey.d.ts +1 -1
  169. package/getCodespacesUserPublicKey.js +3 -2
  170. package/getCodespacesUserPublicKey.js.map +1 -1
  171. package/getCodespacesUserSecrets.d.ts +1 -1
  172. package/getCodespacesUserSecrets.js +3 -2
  173. package/getCodespacesUserSecrets.js.map +1 -1
  174. package/getCollaborators.d.ts +13 -1
  175. package/getCollaborators.js +9 -2
  176. package/getCollaborators.js.map +1 -1
  177. package/getDependabotOrganizationPublicKey.d.ts +1 -1
  178. package/getDependabotOrganizationPublicKey.js +3 -2
  179. package/getDependabotOrganizationPublicKey.js.map +1 -1
  180. package/getDependabotOrganizationSecrets.d.ts +1 -1
  181. package/getDependabotOrganizationSecrets.js +3 -2
  182. package/getDependabotOrganizationSecrets.js.map +1 -1
  183. package/getDependabotPublicKey.d.ts +1 -1
  184. package/getDependabotPublicKey.js +5 -2
  185. package/getDependabotPublicKey.js.map +1 -1
  186. package/getDependabotSecrets.d.ts +1 -1
  187. package/getDependabotSecrets.js +7 -2
  188. package/getDependabotSecrets.js.map +1 -1
  189. package/getEnterprise.d.ts +5 -1
  190. package/getEnterprise.js +5 -2
  191. package/getEnterprise.js.map +1 -1
  192. package/getExternalGroups.d.ts +1 -1
  193. package/getExternalGroups.js +3 -2
  194. package/getExternalGroups.js.map +1 -1
  195. package/getGithubApp.d.ts +1 -1
  196. package/getGithubApp.js +5 -2
  197. package/getGithubApp.js.map +1 -1
  198. package/getIpRanges.d.ts +1 -1
  199. package/getIpRanges.js +3 -2
  200. package/getIpRanges.js.map +1 -1
  201. package/getIssueLabels.d.ts +1 -1
  202. package/getIssueLabels.js +5 -2
  203. package/getIssueLabels.js.map +1 -1
  204. package/getMembership.d.ts +1 -1
  205. package/getMembership.js +6 -2
  206. package/getMembership.js.map +1 -1
  207. package/getOrganization.d.ts +21 -3
  208. package/getOrganization.js +9 -2
  209. package/getOrganization.js.map +1 -1
  210. package/getOrganizationCustomProperties.d.ts +134 -0
  211. package/getOrganizationCustomProperties.js +62 -0
  212. package/getOrganizationCustomProperties.js.map +1 -0
  213. package/getOrganizationCustomRole.d.ts +5 -1
  214. package/getOrganizationCustomRole.js +9 -2
  215. package/getOrganizationCustomRole.js.map +1 -1
  216. package/getOrganizationExternalIdentities.d.ts +1 -1
  217. package/getOrganizationExternalIdentities.js +3 -2
  218. package/getOrganizationExternalIdentities.js.map +1 -1
  219. package/getOrganizationIpAllowList.d.ts +1 -1
  220. package/getOrganizationIpAllowList.js +3 -2
  221. package/getOrganizationIpAllowList.js.map +1 -1
  222. package/getOrganizationRepositoryRole.d.ts +82 -0
  223. package/getOrganizationRepositoryRole.js +54 -0
  224. package/getOrganizationRepositoryRole.js.map +1 -0
  225. package/getOrganizationRepositoryRoles.d.ts +65 -0
  226. package/getOrganizationRepositoryRoles.js +66 -0
  227. package/getOrganizationRepositoryRoles.js.map +1 -0
  228. package/getOrganizationRole.d.ts +82 -0
  229. package/getOrganizationRole.js +50 -0
  230. package/getOrganizationRole.js.map +1 -0
  231. package/getOrganizationRoleTeams.d.ts +85 -0
  232. package/getOrganizationRoleTeams.js +68 -0
  233. package/getOrganizationRoleTeams.js.map +1 -0
  234. package/getOrganizationRoleUsers.d.ts +81 -0
  235. package/getOrganizationRoleUsers.js +64 -0
  236. package/getOrganizationRoleUsers.js.map +1 -0
  237. package/getOrganizationRoles.d.ts +63 -0
  238. package/getOrganizationRoles.js +64 -0
  239. package/getOrganizationRoles.js.map +1 -0
  240. package/getOrganizationSecurityManagers.d.ts +45 -0
  241. package/getOrganizationSecurityManagers.js +46 -0
  242. package/getOrganizationSecurityManagers.js.map +1 -0
  243. package/getOrganizationTeamSyncGroups.d.ts +1 -1
  244. package/getOrganizationTeamSyncGroups.js +3 -2
  245. package/getOrganizationTeamSyncGroups.js.map +1 -1
  246. package/getOrganizationTeams.d.ts +1 -1
  247. package/getOrganizationTeams.js +8 -2
  248. package/getOrganizationTeams.js.map +1 -1
  249. package/getOrganizationWebhooks.d.ts +1 -1
  250. package/getOrganizationWebhooks.js +3 -2
  251. package/getOrganizationWebhooks.js.map +1 -1
  252. package/getRef.d.ts +3 -3
  253. package/getRef.js +9 -4
  254. package/getRef.js.map +1 -1
  255. package/getRelease.d.ts +64 -2
  256. package/getRelease.js +71 -2
  257. package/getRelease.js.map +1 -1
  258. package/getRepositories.d.ts +3 -3
  259. package/getRepositories.js +10 -4
  260. package/getRepositories.js.map +1 -1
  261. package/getRepository.d.ts +3 -1
  262. package/getRepository.js +9 -2
  263. package/getRepository.js.map +1 -1
  264. package/getRepositoryAutolinkReferences.d.ts +1 -1
  265. package/getRepositoryAutolinkReferences.js +5 -2
  266. package/getRepositoryAutolinkReferences.js.map +1 -1
  267. package/getRepositoryBranches.d.ts +1 -1
  268. package/getRepositoryBranches.js +7 -2
  269. package/getRepositoryBranches.js.map +1 -1
  270. package/getRepositoryCustomProperties.d.ts +64 -0
  271. package/getRepositoryCustomProperties.js +50 -0
  272. package/getRepositoryCustomProperties.js.map +1 -0
  273. package/getRepositoryDeployKeys.d.ts +1 -1
  274. package/getRepositoryDeployKeys.js +5 -2
  275. package/getRepositoryDeployKeys.js.map +1 -1
  276. package/getRepositoryDeploymentBranchPolicies.d.ts +7 -3
  277. package/getRepositoryDeploymentBranchPolicies.js +12 -4
  278. package/getRepositoryDeploymentBranchPolicies.js.map +1 -1
  279. package/getRepositoryEnvironmentDeploymentPolicies.d.ts +75 -0
  280. package/getRepositoryEnvironmentDeploymentPolicies.js +54 -0
  281. package/getRepositoryEnvironmentDeploymentPolicies.js.map +1 -0
  282. package/getRepositoryEnvironments.d.ts +1 -1
  283. package/getRepositoryEnvironments.js +5 -2
  284. package/getRepositoryEnvironments.js.map +1 -1
  285. package/getRepositoryFile.d.ts +3 -3
  286. package/getRepositoryFile.js +9 -4
  287. package/getRepositoryFile.js.map +1 -1
  288. package/getRepositoryMilestone.d.ts +3 -3
  289. package/getRepositoryMilestone.js +9 -4
  290. package/getRepositoryMilestone.js.map +1 -1
  291. package/getRepositoryPullRequest.d.ts +1 -1
  292. package/getRepositoryPullRequest.js +7 -2
  293. package/getRepositoryPullRequest.js.map +1 -1
  294. package/getRepositoryPullRequests.d.ts +3 -3
  295. package/getRepositoryPullRequests.js +13 -4
  296. package/getRepositoryPullRequests.js.map +1 -1
  297. package/getRepositoryTeams.d.ts +1 -1
  298. package/getRepositoryTeams.js +7 -2
  299. package/getRepositoryTeams.js.map +1 -1
  300. package/getRepositoryWebhooks.d.ts +1 -1
  301. package/getRepositoryWebhooks.js +5 -2
  302. package/getRepositoryWebhooks.js.map +1 -1
  303. package/getRestApi.d.ts +1 -1
  304. package/getRestApi.js +5 -2
  305. package/getRestApi.js.map +1 -1
  306. package/getSshKeys.d.ts +1 -1
  307. package/getSshKeys.js +3 -2
  308. package/getSshKeys.js.map +1 -1
  309. package/getTeam.d.ts +5 -3
  310. package/getTeam.js +8 -2
  311. package/getTeam.js.map +1 -1
  312. package/getTree.d.ts +17 -17
  313. package/getTree.js +23 -18
  314. package/getTree.js.map +1 -1
  315. package/getUser.d.ts +5 -1
  316. package/getUser.js +9 -2
  317. package/getUser.js.map +1 -1
  318. package/getUserExternalIdentity.d.ts +1 -1
  319. package/getUserExternalIdentity.js +5 -2
  320. package/getUserExternalIdentity.js.map +1 -1
  321. package/getUsers.d.ts +3 -1
  322. package/getUsers.js +7 -2
  323. package/getUsers.js.map +1 -1
  324. package/index.d.ts +76 -6
  325. package/index.js +126 -13
  326. package/index.js.map +1 -1
  327. package/issue.d.ts +17 -10
  328. package/issue.js +36 -29
  329. package/issue.js.map +1 -1
  330. package/issueLabel.d.ts +20 -3
  331. package/issueLabel.js +34 -18
  332. package/issueLabel.js.map +1 -1
  333. package/issueLabels.d.ts +5 -16
  334. package/issueLabels.js +12 -23
  335. package/issueLabels.js.map +1 -1
  336. package/membership.d.ts +3 -3
  337. package/membership.js +13 -13
  338. package/membership.js.map +1 -1
  339. package/organizationBlock.d.ts +1 -1
  340. package/organizationBlock.js +7 -7
  341. package/organizationBlock.js.map +1 -1
  342. package/organizationCustomProperties.d.ts +199 -0
  343. package/organizationCustomProperties.js +143 -0
  344. package/organizationCustomProperties.js.map +1 -0
  345. package/organizationCustomRole.d.ts +7 -3
  346. package/organizationCustomRole.js +19 -15
  347. package/organizationCustomRole.js.map +1 -1
  348. package/organizationProject.d.ts +6 -1
  349. package/organizationProject.js +14 -9
  350. package/organizationProject.js.map +1 -1
  351. package/organizationRepositoryRole.d.ts +121 -0
  352. package/organizationRepositoryRole.js +92 -0
  353. package/organizationRepositoryRole.js.map +1 -0
  354. package/organizationRole.d.ts +121 -0
  355. package/organizationRole.js +89 -0
  356. package/organizationRole.js.map +1 -0
  357. package/organizationRoleTeam.d.ts +83 -0
  358. package/organizationRoleTeam.js +80 -0
  359. package/organizationRoleTeam.js.map +1 -0
  360. package/organizationRoleTeamAssignment.d.ts +94 -0
  361. package/organizationRoleTeamAssignment.js +91 -0
  362. package/organizationRoleTeamAssignment.js.map +1 -0
  363. package/organizationRoleUser.d.ts +83 -0
  364. package/organizationRoleUser.js +80 -0
  365. package/organizationRoleUser.js.map +1 -0
  366. package/organizationRuleset.d.ts +92 -3
  367. package/organizationRuleset.js +109 -20
  368. package/organizationRuleset.js.map +1 -1
  369. package/organizationSecurityManager.d.ts +10 -3
  370. package/organizationSecurityManager.js +15 -8
  371. package/organizationSecurityManager.js.map +1 -1
  372. package/organizationSettings.d.ts +18 -16
  373. package/organizationSettings.js +73 -71
  374. package/organizationSettings.js.map +1 -1
  375. package/organizationWebhook.d.ts +22 -3
  376. package/organizationWebhook.js +33 -14
  377. package/organizationWebhook.js.map +1 -1
  378. package/package.json +4 -3
  379. package/projectCard.d.ts +24 -10
  380. package/projectCard.js +37 -23
  381. package/projectCard.js.map +1 -1
  382. package/projectColumn.d.ts +10 -2
  383. package/projectColumn.js +19 -11
  384. package/projectColumn.js.map +1 -1
  385. package/provider.d.ts +24 -11
  386. package/provider.js +22 -14
  387. package/provider.js.map +1 -1
  388. package/release.d.ts +91 -6
  389. package/release.js +54 -29
  390. package/release.js.map +1 -1
  391. package/repository.d.ts +64 -11
  392. package/repository.js +110 -88
  393. package/repository.js.map +1 -1
  394. package/repositoryAutolinkReference.d.ts +1 -0
  395. package/repositoryAutolinkReference.js +15 -14
  396. package/repositoryAutolinkReference.js.map +1 -1
  397. package/repositoryCollaborator.d.ts +3 -28
  398. package/repositoryCollaborator.js +16 -41
  399. package/repositoryCollaborator.js.map +1 -1
  400. package/repositoryCollaborators.d.ts +28 -38
  401. package/repositoryCollaborators.js +19 -39
  402. package/repositoryCollaborators.js.map +1 -1
  403. package/repositoryCustomProperty.d.ts +115 -0
  404. package/repositoryCustomProperty.js +98 -0
  405. package/repositoryCustomProperty.js.map +1 -0
  406. package/repositoryDependabotSecurityUpdates.d.ts +5 -4
  407. package/repositoryDependabotSecurityUpdates.js +10 -9
  408. package/repositoryDependabotSecurityUpdates.js.map +1 -1
  409. package/repositoryDeployKey.d.ts +6 -16
  410. package/repositoryDeployKey.js +20 -30
  411. package/repositoryDeployKey.js.map +1 -1
  412. package/repositoryDeploymentBranchPolicy.d.ts +10 -1
  413. package/repositoryDeploymentBranchPolicy.js +18 -13
  414. package/repositoryDeploymentBranchPolicy.js.map +1 -1
  415. package/repositoryEnvironment.d.ts +7 -4
  416. package/repositoryEnvironment.js +25 -22
  417. package/repositoryEnvironment.js.map +1 -1
  418. package/repositoryEnvironmentDeploymentPolicy.d.ts +54 -11
  419. package/repositoryEnvironmentDeploymentPolicy.js +49 -19
  420. package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
  421. package/repositoryFile.d.ts +72 -13
  422. package/repositoryFile.js +63 -34
  423. package/repositoryFile.js.map +1 -1
  424. package/repositoryMilestone.d.ts +1 -1
  425. package/repositoryMilestone.js +19 -19
  426. package/repositoryMilestone.js.map +1 -1
  427. package/repositoryProject.d.ts +6 -1
  428. package/repositoryProject.js +17 -13
  429. package/repositoryProject.js.map +1 -1
  430. package/repositoryPullRequest.d.ts +2 -2
  431. package/repositoryPullRequest.js +31 -31
  432. package/repositoryPullRequest.js.map +1 -1
  433. package/repositoryRuleset.d.ts +50 -11
  434. package/repositoryRuleset.js +67 -25
  435. package/repositoryRuleset.js.map +1 -1
  436. package/repositoryTopics.d.ts +4 -4
  437. package/repositoryTopics.js +12 -12
  438. package/repositoryTopics.js.map +1 -1
  439. package/repositoryWebhook.d.ts +8 -8
  440. package/repositoryWebhook.js +20 -21
  441. package/repositoryWebhook.js.map +1 -1
  442. package/team.d.ts +2 -1
  443. package/team.js +24 -23
  444. package/team.js.map +1 -1
  445. package/teamMembers.d.ts +9 -10
  446. package/teamMembers.js +17 -18
  447. package/teamMembers.js.map +1 -1
  448. package/teamMembership.d.ts +7 -4
  449. package/teamMembership.js +18 -15
  450. package/teamMembership.js.map +1 -1
  451. package/teamRepository.d.ts +6 -19
  452. package/teamRepository.js +17 -30
  453. package/teamRepository.js.map +1 -1
  454. package/teamSettings.d.ts +8 -5
  455. package/teamSettings.js +17 -14
  456. package/teamSettings.js.map +1 -1
  457. package/teamSyncGroupMapping.d.ts +18 -1
  458. package/teamSyncGroupMapping.js +26 -9
  459. package/teamSyncGroupMapping.js.map +1 -1
  460. package/types/index.js +1 -1
  461. package/types/index.js.map +1 -1
  462. package/types/input.d.ts +360 -74
  463. package/types/input.js +1 -1
  464. package/types/input.js.map +1 -1
  465. package/types/output.d.ts +495 -84
  466. package/types/output.js +1 -1
  467. package/types/output.js.map +1 -1
  468. package/userGpgKey.d.ts +2 -3
  469. package/userGpgKey.js +9 -10
  470. package/userGpgKey.js.map +1 -1
  471. package/userInvitationAccepter.d.ts +5 -7
  472. package/userInvitationAccepter.js +11 -13
  473. package/userInvitationAccepter.js.map +1 -1
  474. package/userSshKey.d.ts +5 -3
  475. package/userSshKey.js +15 -13
  476. package/userSshKey.js.map +1 -1
  477. package/utilities.d.ts +0 -4
  478. package/utilities.js +20 -30
  479. package/utilities.js.map +1 -1
  480. package/workflowRepositoryPermissions.d.ts +98 -0
  481. package/workflowRepositoryPermissions.js +82 -0
  482. package/workflowRepositoryPermissions.js.map +1 -0
  483. package/package.json.bak +0 -27
  484. package/repositoryTagProtection.d.ts +0 -93
  485. package/repositoryTagProtection.js +0 -84
  486. package/repositoryTagProtection.js.map +0 -1
package/types/output.d.ts CHANGED
@@ -1,4 +1,50 @@
1
1
  import * as outputs from "../types/output";
2
+ export interface ActionsHostedRunnerImage {
3
+ /**
4
+ * The image ID. For GitHub-owned images, use numeric IDs like "2306" for Ubuntu Latest 24.04. To get available images, use the GitHub API: `GET /orgs/{org}/actions/hosted-runners/images/github-owned`.
5
+ */
6
+ id: string;
7
+ /**
8
+ * The size of the image in gigabytes.
9
+ */
10
+ sizeGb: number;
11
+ /**
12
+ * The image source. Valid values are "github", "partner", or "custom". Defaults to "github".
13
+ */
14
+ source?: string;
15
+ }
16
+ export interface ActionsHostedRunnerMachineSizeDetail {
17
+ /**
18
+ * Number of CPU cores.
19
+ */
20
+ cpuCores: number;
21
+ /**
22
+ * Machine size identifier.
23
+ */
24
+ id: string;
25
+ /**
26
+ * Amount of memory in gigabytes.
27
+ */
28
+ memoryGb: number;
29
+ /**
30
+ * Amount of storage in gigabytes.
31
+ */
32
+ storageGb: number;
33
+ }
34
+ export interface ActionsHostedRunnerPublicIp {
35
+ /**
36
+ * Whether this IP range is enabled.
37
+ */
38
+ enabled: boolean;
39
+ /**
40
+ * Subnet length.
41
+ */
42
+ length: number;
43
+ /**
44
+ * IP address prefix.
45
+ */
46
+ prefix: string;
47
+ }
2
48
  export interface ActionsOrganizationPermissionsAllowedActionsConfig {
3
49
  /**
4
50
  * Whether GitHub-owned actions are allowed in the organization.
@@ -112,13 +158,17 @@ export interface BranchProtectionV3RequiredPullRequestReviews {
112
158
  */
113
159
  dismissalUsers?: string[];
114
160
  /**
115
- * @deprecated Use enforce_admins instead
161
+ * @deprecated Use enforceAdmins instead
116
162
  */
117
163
  includeAdmins?: boolean;
118
164
  /**
119
165
  * Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.
120
166
  */
121
167
  requireCodeOwnerReviews?: boolean;
168
+ /**
169
+ * Require that the most recent push must be approved by someone other than the last pusher. Defaults to `false`
170
+ */
171
+ requireLastPushApproval?: boolean;
122
172
  /**
123
173
  * Require x number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. This requirement matches GitHub's API, see the upstream [documentation](https://developer.github.com/v3/repos/branches/#parameters-1) for more information.
124
174
  */
@@ -142,7 +192,7 @@ export interface BranchProtectionV3RequiredStatusChecks {
142
192
  /**
143
193
  * The list of status checks to require in order to merge into this branch. No status checks are required by default. Checks should be strings containing the context and appId like so "context:app_id".
144
194
  */
145
- checks?: string[];
195
+ checks: string[];
146
196
  /**
147
197
  * [**DEPRECATED**] (Optional) The list of status checks to require in order to merge into this branch. No status checks are required by default.
148
198
  *
@@ -153,9 +203,9 @@ export interface BranchProtectionV3RequiredStatusChecks {
153
203
  *
154
204
  * @deprecated GitHub is deprecating the use of `contexts`. Use a `checks` array instead.
155
205
  */
156
- contexts?: string[];
206
+ contexts: string[];
157
207
  /**
158
- * @deprecated Use enforce_admins instead
208
+ * @deprecated Use enforceAdmins instead
159
209
  */
160
210
  includeAdmins?: boolean;
161
211
  /**
@@ -180,6 +230,26 @@ export interface BranchProtectionV3Restrictions {
180
230
  */
181
231
  users?: string[];
182
232
  }
233
+ export interface EnterpriseActionsPermissionsAllowedActionsConfig {
234
+ /**
235
+ * Whether GitHub-owned actions are allowed in the organization.
236
+ */
237
+ githubOwnedAllowed: boolean;
238
+ /**
239
+ * Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*."
240
+ */
241
+ patternsAlloweds?: string[];
242
+ /**
243
+ * Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
244
+ */
245
+ verifiedAllowed?: boolean;
246
+ }
247
+ export interface EnterpriseActionsPermissionsEnabledOrganizationsConfig {
248
+ /**
249
+ * List of organization IDs to enable for GitHub Actions.
250
+ */
251
+ organizationIds: number[];
252
+ }
183
253
  export interface GetActionsEnvironmentSecretsSecret {
184
254
  /**
185
255
  * Timestamp of the secret creation
@@ -374,7 +444,7 @@ export interface GetCollaboratorsCollaborator {
374
444
  */
375
445
  organizationsUrl: string;
376
446
  /**
377
- * The permission of the collaborator.
447
+ * Filter collaborators returned by their permission. Can be one of: `pull`, `triage`, `push`, `maintain`, `admin`. Defaults to not doing any filtering on permission.
378
448
  */
379
449
  permission: string;
380
450
  /**
@@ -516,6 +586,100 @@ export interface GetOrganizationIpAllowListIpAllowList {
516
586
  */
517
587
  updatedAt: string;
518
588
  }
589
+ export interface GetOrganizationRepositoryRolesRole {
590
+ /**
591
+ * The system role from which this role inherits permissions.
592
+ */
593
+ baseRole: string;
594
+ /**
595
+ * The description of the organization repository role.
596
+ */
597
+ description: string;
598
+ /**
599
+ * The name of the organization repository role.
600
+ */
601
+ name: string;
602
+ /**
603
+ * The permissions included in this role.
604
+ */
605
+ permissions: string[];
606
+ /**
607
+ * The ID of the organization repository role.
608
+ */
609
+ roleId: number;
610
+ }
611
+ export interface GetOrganizationRoleTeamsTeam {
612
+ /**
613
+ * The name of the team.
614
+ */
615
+ name: string;
616
+ /**
617
+ * The permission that the team will have for its repositories.
618
+ */
619
+ permission: string;
620
+ /**
621
+ * The Slug of the team name.
622
+ */
623
+ slug: string;
624
+ /**
625
+ * The ID of the team.
626
+ */
627
+ teamId: number;
628
+ }
629
+ export interface GetOrganizationRoleUsersUser {
630
+ /**
631
+ * The login for the GitHub user account.
632
+ */
633
+ login: string;
634
+ /**
635
+ * The ID of the user.
636
+ */
637
+ userId: number;
638
+ }
639
+ export interface GetOrganizationRolesRole {
640
+ /**
641
+ * The system role from which this role inherits permissions.
642
+ */
643
+ baseRole: string;
644
+ /**
645
+ * The description of the organization role.
646
+ */
647
+ description: string;
648
+ /**
649
+ * The name of the organization role.
650
+ */
651
+ name: string;
652
+ /**
653
+ * A list of permissions included in this role.
654
+ */
655
+ permissions: string[];
656
+ /**
657
+ * The ID of the organization role.
658
+ */
659
+ roleId: number;
660
+ /**
661
+ * The source of this role; one of `Predefined`, `Organization`, or `Enterprise`.
662
+ */
663
+ source: string;
664
+ }
665
+ export interface GetOrganizationSecurityManagersTeam {
666
+ /**
667
+ * Unique identifier of the team.
668
+ */
669
+ id: number;
670
+ /**
671
+ * Name of the team.
672
+ */
673
+ name: string;
674
+ /**
675
+ * Permission that the team will have for its repositories.
676
+ */
677
+ permission: string;
678
+ /**
679
+ * Name based identifier of the team.
680
+ */
681
+ slug: string;
682
+ }
519
683
  export interface GetOrganizationTeamSyncGroupsGroup {
520
684
  /**
521
685
  * The description of the IdP group.
@@ -532,11 +696,11 @@ export interface GetOrganizationTeamSyncGroupsGroup {
532
696
  }
533
697
  export interface GetOrganizationTeamsTeam {
534
698
  /**
535
- * the team's description.
699
+ * The team's description.
536
700
  */
537
701
  description: string;
538
702
  /**
539
- * the ID of the team.
703
+ * The ID of the team.
540
704
  */
541
705
  id: number;
542
706
  /**
@@ -544,21 +708,31 @@ export interface GetOrganizationTeamsTeam {
544
708
  */
545
709
  members: string[];
546
710
  /**
547
- * the team's full name.
711
+ * The team's full name.
548
712
  */
549
713
  name: string;
550
714
  /**
551
- * the Node ID of the team.
715
+ * The Node ID of the team.
552
716
  */
553
717
  nodeId: string;
554
718
  /**
555
- * the parent team.
719
+ * (**DEPRECATED**) The parent team, use `parentTeamId` or `parentTeamSlug` instead.
720
+ *
721
+ * @deprecated Use parentTeamId and parentTeamSlug instead.
556
722
  */
557
723
  parent: {
558
724
  [key: string]: string;
559
725
  };
560
726
  /**
561
- * the team's privacy type.
727
+ * The ID of the parent team, if there is one.
728
+ */
729
+ parentTeamId: string;
730
+ /**
731
+ * The slug of the parent team, if there is one.
732
+ */
733
+ parentTeamSlug: string;
734
+ /**
735
+ * The team's privacy type.
562
736
  */
563
737
  privacy: string;
564
738
  /**
@@ -566,7 +740,7 @@ export interface GetOrganizationTeamsTeam {
566
740
  */
567
741
  repositories: string[];
568
742
  /**
569
- * the slug of the team.
743
+ * The slug of the team.
570
744
  */
571
745
  slug: string;
572
746
  }
@@ -658,6 +832,16 @@ export interface GetRepositoryBranchesBranch {
658
832
  */
659
833
  protected: boolean;
660
834
  }
835
+ export interface GetRepositoryCustomPropertiesProperty {
836
+ /**
837
+ * Name of the property
838
+ */
839
+ propertyName: string;
840
+ /**
841
+ * Value of the property
842
+ */
843
+ propertyValues: string[];
844
+ }
661
845
  export interface GetRepositoryDeployKeysKey {
662
846
  /**
663
847
  * Key id
@@ -686,6 +870,16 @@ export interface GetRepositoryDeploymentBranchPoliciesDeploymentBranchPolicy {
686
870
  */
687
871
  name: string;
688
872
  }
873
+ export interface GetRepositoryEnvironmentDeploymentPoliciesPolicy {
874
+ /**
875
+ * The pattern that branch or tag names must match in order to deploy to the environment.
876
+ */
877
+ pattern: string;
878
+ /**
879
+ * Type of the policy; this could be `branch` or `tag`.
880
+ */
881
+ type: string;
882
+ }
689
883
  export interface GetRepositoryEnvironmentsEnvironment {
690
884
  /**
691
885
  * Environment name.
@@ -926,6 +1120,7 @@ export interface GetRepositoryWebhooksWebhook {
926
1120
  }
927
1121
  export interface GetTeamRepositoriesDetailed {
928
1122
  repoId: number;
1123
+ repoName: string;
929
1124
  roleName: string;
930
1125
  }
931
1126
  export interface GetTreeEntry {
@@ -957,15 +1152,18 @@ export interface OrganizationRulesetBypassActor {
957
1152
  /**
958
1153
  * (Number) The ID of the actor that can bypass a ruleset.
959
1154
  */
960
- actorId: number;
1155
+ actorId?: number;
961
1156
  /**
962
1157
  * The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
963
1158
  */
964
1159
  actorType: string;
965
1160
  /**
966
- * (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.
1161
+ * (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`, `exempt`.
967
1162
  *
968
1163
  * ~>Note: at the time of writing this, the following actor types correspond to the following actor IDs:
1164
+ *
1165
+ * * `OrganizationAdmin` > `1`
1166
+ * * `RepositoryRole` (This is the actor type, the following are the base repository roles and their associated IDs.)
969
1167
  */
970
1168
  bypassMode: string;
971
1169
  }
@@ -987,21 +1185,21 @@ export interface OrganizationRulesetConditions {
987
1185
  }
988
1186
  export interface OrganizationRulesetConditionsRefName {
989
1187
  /**
990
- * (List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
1188
+ * Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
991
1189
  */
992
1190
  excludes: string[];
993
1191
  /**
994
- * (List of String) Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.
1192
+ * Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.
995
1193
  */
996
1194
  includes: string[];
997
1195
  }
998
1196
  export interface OrganizationRulesetConditionsRepositoryName {
999
1197
  /**
1000
- * (List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
1198
+ * Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
1001
1199
  */
1002
1200
  excludes: string[];
1003
1201
  /**
1004
- * (List of String) Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.
1202
+ * Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.
1005
1203
  */
1006
1204
  includes: string[];
1007
1205
  /**
@@ -1034,6 +1232,22 @@ export interface OrganizationRulesetRules {
1034
1232
  * (Boolean) Only allow users with bypass permissions to delete matching refs.
1035
1233
  */
1036
1234
  deletion?: boolean;
1235
+ /**
1236
+ * (Block List, Max: 1) Prevent commits that include files with specified file extensions from being pushed to the commit graph. This rule only applies to rulesets with target `push`. (see below for nested schema)
1237
+ */
1238
+ fileExtensionRestriction?: outputs.OrganizationRulesetRulesFileExtensionRestriction;
1239
+ /**
1240
+ * (Block List, Max: 1) Prevent commits that include changes to specified file paths from being pushed to the commit graph. This rule only applies to rulesets with target `push`. (see below for nested schema)
1241
+ */
1242
+ filePathRestriction?: outputs.OrganizationRulesetRulesFilePathRestriction;
1243
+ /**
1244
+ * (Integer) The maximum number of characters allowed in file paths.
1245
+ */
1246
+ maxFilePathLength?: outputs.OrganizationRulesetRulesMaxFilePathLength;
1247
+ /**
1248
+ * (Integer) The maximum allowed size, in megabytes (MB), of a file. Valid range is 1-100 MB.
1249
+ */
1250
+ maxFileSize?: outputs.OrganizationRulesetRulesMaxFileSize;
1037
1251
  /**
1038
1252
  * (Boolean) Prevent users with push access from force pushing to branches.
1039
1253
  */
@@ -1042,6 +1256,10 @@ export interface OrganizationRulesetRules {
1042
1256
  * (Block List, Max: 1) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. (see below for nested schema)
1043
1257
  */
1044
1258
  pullRequest?: outputs.OrganizationRulesetRulesPullRequest;
1259
+ /**
1260
+ * (Block List, Max: 1) Define which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated. Multiple code scanning tools can be specified. (see below for nested schema)
1261
+ */
1262
+ requiredCodeScanning?: outputs.OrganizationRulesetRulesRequiredCodeScanning;
1045
1263
  /**
1046
1264
  * (Boolean) Prevent merge commits from being pushed to matching branches.
1047
1265
  */
@@ -1073,15 +1291,15 @@ export interface OrganizationRulesetRulesBranchNamePattern {
1073
1291
  */
1074
1292
  name?: string;
1075
1293
  /**
1076
- * (Boolean) If true, the rule will fail if the pattern matches.
1294
+ * If true, the rule will fail if the pattern matches.
1077
1295
  */
1078
1296
  negate?: boolean;
1079
1297
  /**
1080
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1298
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1081
1299
  */
1082
1300
  operator: string;
1083
1301
  /**
1084
- * (String) The pattern to match with.
1302
+ * The pattern to match with.
1085
1303
  */
1086
1304
  pattern: string;
1087
1305
  }
@@ -1091,15 +1309,15 @@ export interface OrganizationRulesetRulesCommitAuthorEmailPattern {
1091
1309
  */
1092
1310
  name?: string;
1093
1311
  /**
1094
- * (Boolean) If true, the rule will fail if the pattern matches.
1312
+ * If true, the rule will fail if the pattern matches.
1095
1313
  */
1096
1314
  negate?: boolean;
1097
1315
  /**
1098
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1316
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1099
1317
  */
1100
1318
  operator: string;
1101
1319
  /**
1102
- * (String) The pattern to match with.
1320
+ * The pattern to match with.
1103
1321
  */
1104
1322
  pattern: string;
1105
1323
  }
@@ -1109,15 +1327,15 @@ export interface OrganizationRulesetRulesCommitMessagePattern {
1109
1327
  */
1110
1328
  name?: string;
1111
1329
  /**
1112
- * (Boolean) If true, the rule will fail if the pattern matches.
1330
+ * If true, the rule will fail if the pattern matches.
1113
1331
  */
1114
1332
  negate?: boolean;
1115
1333
  /**
1116
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1334
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1117
1335
  */
1118
1336
  operator: string;
1119
1337
  /**
1120
- * (String) The pattern to match with.
1338
+ * The pattern to match with.
1121
1339
  */
1122
1340
  pattern: string;
1123
1341
  }
@@ -1127,77 +1345,129 @@ export interface OrganizationRulesetRulesCommitterEmailPattern {
1127
1345
  */
1128
1346
  name?: string;
1129
1347
  /**
1130
- * (Boolean) If true, the rule will fail if the pattern matches.
1348
+ * If true, the rule will fail if the pattern matches.
1131
1349
  */
1132
1350
  negate?: boolean;
1133
1351
  /**
1134
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1352
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1135
1353
  */
1136
1354
  operator: string;
1137
1355
  /**
1138
- * (String) The pattern to match with.
1356
+ * The pattern to match with.
1139
1357
  */
1140
1358
  pattern: string;
1141
1359
  }
1360
+ export interface OrganizationRulesetRulesFileExtensionRestriction {
1361
+ /**
1362
+ * The file extensions that are restricted from being pushed to the commit graph.
1363
+ */
1364
+ restrictedFileExtensions: string[];
1365
+ }
1366
+ export interface OrganizationRulesetRulesFilePathRestriction {
1367
+ /**
1368
+ * The file paths that are restricted from being pushed to the commit graph.
1369
+ */
1370
+ restrictedFilePaths: string[];
1371
+ }
1372
+ export interface OrganizationRulesetRulesMaxFilePathLength {
1373
+ /**
1374
+ * The maximum allowed length of a file path.
1375
+ */
1376
+ maxFilePathLength: number;
1377
+ }
1378
+ export interface OrganizationRulesetRulesMaxFileSize {
1379
+ /**
1380
+ * The maximum allowed size of a file in megabytes (MB). Valid range is 1-100 MB.
1381
+ */
1382
+ maxFileSize: number;
1383
+ }
1142
1384
  export interface OrganizationRulesetRulesPullRequest {
1143
1385
  /**
1144
- * (Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
1386
+ * New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
1145
1387
  */
1146
1388
  dismissStaleReviewsOnPush?: boolean;
1147
1389
  /**
1148
- * (Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
1390
+ * Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
1149
1391
  */
1150
1392
  requireCodeOwnerReview?: boolean;
1151
1393
  /**
1152
- * (Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
1394
+ * Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
1153
1395
  */
1154
1396
  requireLastPushApproval?: boolean;
1155
1397
  /**
1156
- * (Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
1398
+ * The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
1157
1399
  */
1158
1400
  requiredApprovingReviewCount?: number;
1159
1401
  /**
1160
- * (Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
1402
+ * All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
1161
1403
  */
1162
1404
  requiredReviewThreadResolution?: boolean;
1163
1405
  }
1406
+ export interface OrganizationRulesetRulesRequiredCodeScanning {
1407
+ /**
1408
+ * Tools that must provide code scanning results for this rule to pass.
1409
+ */
1410
+ requiredCodeScanningTools: outputs.OrganizationRulesetRulesRequiredCodeScanningRequiredCodeScanningTool[];
1411
+ }
1412
+ export interface OrganizationRulesetRulesRequiredCodeScanningRequiredCodeScanningTool {
1413
+ /**
1414
+ * The severity level at which code scanning results that raise alerts block a reference update. Can be one of: `none`, `errors`, `errorsAndWarnings`, `all`.
1415
+ */
1416
+ alertsThreshold: string;
1417
+ /**
1418
+ * The severity level at which code scanning results that raise security alerts block a reference update. Can be one of: `none`, `critical`, `highOrHigher`, `mediumOrHigher`, `all`.
1419
+ */
1420
+ securityAlertsThreshold: string;
1421
+ /**
1422
+ * The name of a code scanning tool.
1423
+ */
1424
+ tool: string;
1425
+ }
1164
1426
  export interface OrganizationRulesetRulesRequiredStatusChecks {
1165
1427
  /**
1166
- * (Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)
1428
+ * (Boolean) Allow repositories and branches to be created if a check would otherwise prohibit it. Defaults to `false`.
1429
+ */
1430
+ doNotEnforceOnCreate?: boolean;
1431
+ /**
1432
+ * Status checks that are required. Several can be defined.
1167
1433
  */
1168
1434
  requiredChecks: outputs.OrganizationRulesetRulesRequiredStatusChecksRequiredCheck[];
1169
1435
  /**
1170
- * (Boolean) Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.
1436
+ * Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.
1171
1437
  */
1172
1438
  strictRequiredStatusChecksPolicy?: boolean;
1173
1439
  }
1174
1440
  export interface OrganizationRulesetRulesRequiredStatusChecksRequiredCheck {
1175
1441
  /**
1176
- * (String) The status check context name that must be present on the commit.
1442
+ * The status check context name that must be present on the commit.
1177
1443
  */
1178
1444
  context: string;
1179
1445
  /**
1180
- * (Number) The optional integration ID that this status check must originate from.
1446
+ * The optional integration ID that this status check must originate from.
1181
1447
  */
1182
1448
  integrationId?: number;
1183
1449
  }
1184
1450
  export interface OrganizationRulesetRulesRequiredWorkflows {
1185
1451
  /**
1186
- * (Block Set, Min: 1) Actions workflows that are required. Multiple can be defined. (see below for nested schema)
1452
+ * Allow repositories and branches to be created if a check would otherwise prohibit it.
1453
+ */
1454
+ doNotEnforceOnCreate?: boolean;
1455
+ /**
1456
+ * Actions workflows that are required. Several can be defined.
1187
1457
  */
1188
1458
  requiredWorkflows: outputs.OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow[];
1189
1459
  }
1190
1460
  export interface OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow {
1191
1461
  /**
1192
- * (String) The path to the YAML definition file of the workflow.
1462
+ * The path to the workflow YAML definition file.
1193
1463
  */
1194
1464
  path: string;
1195
1465
  /**
1196
- * (String) The optional ref from which to fetch the workflow. Defaults to `master`.
1466
+ * The ref (branch or tag) of the workflow file to use.
1197
1467
  */
1198
1468
  ref?: string;
1199
1469
  /**
1200
- * The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with `repositoryName`.
1470
+ * The repository in which the workflow is defined.
1201
1471
  */
1202
1472
  repositoryId: number;
1203
1473
  }
@@ -1207,15 +1477,15 @@ export interface OrganizationRulesetRulesTagNamePattern {
1207
1477
  */
1208
1478
  name?: string;
1209
1479
  /**
1210
- * (Boolean) If true, the rule will fail if the pattern matches.
1480
+ * If true, the rule will fail if the pattern matches.
1211
1481
  */
1212
1482
  negate?: boolean;
1213
1483
  /**
1214
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1484
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1215
1485
  */
1216
1486
  operator: string;
1217
1487
  /**
1218
- * (String) The pattern to match with.
1488
+ * The pattern to match with.
1219
1489
  */
1220
1490
  pattern: string;
1221
1491
  }
@@ -1237,6 +1507,12 @@ export interface OrganizationWebhookConfiguration {
1237
1507
  */
1238
1508
  url: string;
1239
1509
  }
1510
+ export interface RepositoryCollaboratorsIgnoreTeam {
1511
+ /**
1512
+ * The GitHub team id or the GitHub team slug.
1513
+ */
1514
+ teamId: string;
1515
+ }
1240
1516
  export interface RepositoryCollaboratorsTeam {
1241
1517
  /**
1242
1518
  * The permission of the outside collaborators for the repository.
@@ -1245,7 +1521,7 @@ export interface RepositoryCollaboratorsTeam {
1245
1521
  */
1246
1522
  permission?: string;
1247
1523
  /**
1248
- * The GitHub team id or the GitHub team slug
1524
+ * The GitHub team id or the GitHub team slug.
1249
1525
  */
1250
1526
  teamId: string;
1251
1527
  }
@@ -1303,7 +1579,7 @@ export interface RepositoryPages {
1303
1579
  */
1304
1580
  source?: outputs.RepositoryPagesSource;
1305
1581
  /**
1306
- * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
1582
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1307
1583
  */
1308
1584
  status: string;
1309
1585
  url: string;
@@ -1320,17 +1596,20 @@ export interface RepositoryPagesSource {
1320
1596
  }
1321
1597
  export interface RepositoryRulesetBypassActor {
1322
1598
  /**
1323
- * (Number) The ID of the actor that can bypass a ruleset.
1599
+ * The ID of the actor that can bypass a ruleset. If `actorType` is `Integration`, `actorId` is a GitHub App ID. App ID can be obtained by following instructions from the [Get an App API docs](https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#get-an-app)
1324
1600
  */
1325
- actorId: number;
1601
+ actorId?: number;
1326
1602
  /**
1327
- * The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
1603
+ * The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`, `DeployKey`.
1328
1604
  */
1329
1605
  actorType: string;
1330
1606
  /**
1331
- * (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.
1607
+ * (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`, `exempt`.
1332
1608
  *
1333
1609
  * > Note: at the time of writing this, the following actor types correspond to the following actor IDs:
1610
+ *
1611
+ * * `OrganizationAdmin` > `1`
1612
+ * * `RepositoryRole` (This is the actor type, the following are the base repository roles and their associated IDs.)
1334
1613
  */
1335
1614
  bypassMode: string;
1336
1615
  }
@@ -1342,11 +1621,11 @@ export interface RepositoryRulesetConditions {
1342
1621
  }
1343
1622
  export interface RepositoryRulesetConditionsRefName {
1344
1623
  /**
1345
- * (List of String) Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
1624
+ * Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
1346
1625
  */
1347
1626
  excludes: string[];
1348
1627
  /**
1349
- * (List of String) Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.
1628
+ * Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.
1350
1629
  */
1351
1630
  includes: string[];
1352
1631
  }
@@ -1375,6 +1654,26 @@ export interface RepositoryRulesetRules {
1375
1654
  * (Boolean) Only allow users with bypass permissions to delete matching refs.
1376
1655
  */
1377
1656
  deletion?: boolean;
1657
+ /**
1658
+ * (Block List, Max: 1) Prevent commits that include files with specified file extensions from being pushed to the commit graph. This rule only applies to rulesets with target `push`. (see below for nested schema)
1659
+ */
1660
+ fileExtensionRestriction?: outputs.RepositoryRulesetRulesFileExtensionRestriction;
1661
+ /**
1662
+ * (Block List, Max 1) Parameters to be used for the filePathRestriction rule. When enabled restricts access to files within the repository. (See below for nested schema)
1663
+ */
1664
+ filePathRestriction?: outputs.RepositoryRulesetRulesFilePathRestriction;
1665
+ /**
1666
+ * (Integer) The maximum number of characters allowed in file paths.
1667
+ */
1668
+ maxFilePathLength?: outputs.RepositoryRulesetRulesMaxFilePathLength;
1669
+ /**
1670
+ * (Integer) The maximum allowed size, in megabytes (MB), of a file. Valid range is 1-100 MB.
1671
+ */
1672
+ maxFileSize?: outputs.RepositoryRulesetRulesMaxFileSize;
1673
+ /**
1674
+ * (Block List, Max: 1) Merges must be performed via a merge queue. (see below for nested schema)
1675
+ */
1676
+ mergeQueue?: outputs.RepositoryRulesetRulesMergeQueue;
1378
1677
  /**
1379
1678
  * (Boolean) Prevent users with push access from force pushing to branches.
1380
1679
  */
@@ -1383,6 +1682,10 @@ export interface RepositoryRulesetRules {
1383
1682
  * (Block List, Max: 1) Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. (see below for nested schema)
1384
1683
  */
1385
1684
  pullRequest?: outputs.RepositoryRulesetRulesPullRequest;
1685
+ /**
1686
+ * (Block List, Max: 1) Define which tools must provide code scanning results before the reference is updated. When configured, code scanning must be enabled and have results for both the commit and the reference being updated. Multiple code scanning tools can be specified. (see below for nested schema)
1687
+ */
1688
+ requiredCodeScanning?: outputs.RepositoryRulesetRulesRequiredCodeScanning;
1386
1689
  /**
1387
1690
  * (Block List, Max: 1) Choose which environments must be successfully deployed to before branches can be merged into a branch that matches this rule. (see below for nested schema)
1388
1691
  */
@@ -1418,15 +1721,15 @@ export interface RepositoryRulesetRulesBranchNamePattern {
1418
1721
  */
1419
1722
  name?: string;
1420
1723
  /**
1421
- * (Boolean) If true, the rule will fail if the pattern matches.
1724
+ * If true, the rule will fail if the pattern matches.
1422
1725
  */
1423
1726
  negate?: boolean;
1424
1727
  /**
1425
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1728
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1426
1729
  */
1427
1730
  operator: string;
1428
1731
  /**
1429
- * (String) The pattern to match with.
1732
+ * The pattern to match with.
1430
1733
  */
1431
1734
  pattern: string;
1432
1735
  }
@@ -1436,15 +1739,15 @@ export interface RepositoryRulesetRulesCommitAuthorEmailPattern {
1436
1739
  */
1437
1740
  name?: string;
1438
1741
  /**
1439
- * (Boolean) If true, the rule will fail if the pattern matches.
1742
+ * If true, the rule will fail if the pattern matches.
1440
1743
  */
1441
1744
  negate?: boolean;
1442
1745
  /**
1443
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1746
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1444
1747
  */
1445
1748
  operator: string;
1446
1749
  /**
1447
- * (String) The pattern to match with.
1750
+ * The pattern to match with.
1448
1751
  */
1449
1752
  pattern: string;
1450
1753
  }
@@ -1454,15 +1757,15 @@ export interface RepositoryRulesetRulesCommitMessagePattern {
1454
1757
  */
1455
1758
  name?: string;
1456
1759
  /**
1457
- * (Boolean) If true, the rule will fail if the pattern matches.
1760
+ * If true, the rule will fail if the pattern matches.
1458
1761
  */
1459
1762
  negate?: boolean;
1460
1763
  /**
1461
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1764
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1462
1765
  */
1463
1766
  operator: string;
1464
1767
  /**
1465
- * (String) The pattern to match with.
1768
+ * The pattern to match with.
1466
1769
  */
1467
1770
  pattern: string;
1468
1771
  }
@@ -1472,63 +1775,141 @@ export interface RepositoryRulesetRulesCommitterEmailPattern {
1472
1775
  */
1473
1776
  name?: string;
1474
1777
  /**
1475
- * (Boolean) If true, the rule will fail if the pattern matches.
1778
+ * If true, the rule will fail if the pattern matches.
1476
1779
  */
1477
1780
  negate?: boolean;
1478
1781
  /**
1479
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1782
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1480
1783
  */
1481
1784
  operator: string;
1482
1785
  /**
1483
- * (String) The pattern to match with.
1786
+ * The pattern to match with.
1484
1787
  */
1485
1788
  pattern: string;
1486
1789
  }
1790
+ export interface RepositoryRulesetRulesFileExtensionRestriction {
1791
+ /**
1792
+ * A list of file extensions.
1793
+ */
1794
+ restrictedFileExtensions: string[];
1795
+ }
1796
+ export interface RepositoryRulesetRulesFilePathRestriction {
1797
+ /**
1798
+ * The file paths that are restricted from being pushed to the commit graph.
1799
+ */
1800
+ restrictedFilePaths: string[];
1801
+ }
1802
+ export interface RepositoryRulesetRulesMaxFilePathLength {
1803
+ /**
1804
+ * The maximum allowed length of a file path.
1805
+ */
1806
+ maxFilePathLength: number;
1807
+ }
1808
+ export interface RepositoryRulesetRulesMaxFileSize {
1809
+ /**
1810
+ * The maximum allowed size of a file in megabytes (MB). Valid range is 1-100 MB.
1811
+ */
1812
+ maxFileSize: number;
1813
+ }
1814
+ export interface RepositoryRulesetRulesMergeQueue {
1815
+ /**
1816
+ * Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed. Defaults to `60`.
1817
+ */
1818
+ checkResponseTimeoutMinutes?: number;
1819
+ /**
1820
+ * When set to ALLGREEN, the merge commit created by merge queue for each PR in the group must pass all required checks to merge. When set to HEADGREEN, only the commit at the head of the merge group, i.e. the commit containing changes from all of the PRs in the group, must pass its required checks to merge. Can be one of: ALLGREEN, HEADGREEN. Defaults to `ALLGREEN`.
1821
+ */
1822
+ groupingStrategy?: string;
1823
+ /**
1824
+ * Limit the number of queued pull requests requesting checks and workflow runs at the same time. Defaults to `5`.
1825
+ */
1826
+ maxEntriesToBuild?: number;
1827
+ /**
1828
+ * The maximum number of PRs that will be merged together in a group. Defaults to `5`.
1829
+ */
1830
+ maxEntriesToMerge?: number;
1831
+ /**
1832
+ * Method to use when merging changes from queued pull requests. Can be one of: MERGE, SQUASH, REBASE. Defaults to `MERGE`.
1833
+ */
1834
+ mergeMethod?: string;
1835
+ /**
1836
+ * The minimum number of PRs that will be merged together in a group. Defaults to `1`.
1837
+ */
1838
+ minEntriesToMerge?: number;
1839
+ /**
1840
+ * The time merge queue should wait after the first PR is added to the queue for the minimum group size to be met. After this time has elapsed, the minimum group size will be ignored and a smaller group will be merged. Defaults to `5`.
1841
+ */
1842
+ minEntriesToMergeWaitMinutes?: number;
1843
+ }
1487
1844
  export interface RepositoryRulesetRulesPullRequest {
1488
1845
  /**
1489
- * (Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
1846
+ * New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
1490
1847
  */
1491
1848
  dismissStaleReviewsOnPush?: boolean;
1492
1849
  /**
1493
- * (Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
1850
+ * Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
1494
1851
  */
1495
1852
  requireCodeOwnerReview?: boolean;
1496
1853
  /**
1497
- * (Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
1854
+ * Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
1498
1855
  */
1499
1856
  requireLastPushApproval?: boolean;
1500
1857
  /**
1501
- * (Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
1858
+ * The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
1502
1859
  */
1503
1860
  requiredApprovingReviewCount?: number;
1504
1861
  /**
1505
- * (Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
1862
+ * All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
1506
1863
  */
1507
1864
  requiredReviewThreadResolution?: boolean;
1508
1865
  }
1866
+ export interface RepositoryRulesetRulesRequiredCodeScanning {
1867
+ /**
1868
+ * Tools that must provide code scanning results for this rule to pass.
1869
+ */
1870
+ requiredCodeScanningTools: outputs.RepositoryRulesetRulesRequiredCodeScanningRequiredCodeScanningTool[];
1871
+ }
1872
+ export interface RepositoryRulesetRulesRequiredCodeScanningRequiredCodeScanningTool {
1873
+ /**
1874
+ * The severity level at which code scanning results that raise alerts block a reference update. Can be one of: `none`, `errors`, `errorsAndWarnings`, `all`.
1875
+ */
1876
+ alertsThreshold: string;
1877
+ /**
1878
+ * The severity level at which code scanning results that raise security alerts block a reference update. Can be one of: `none`, `critical`, `highOrHigher`, `mediumOrHigher`, `all`.
1879
+ */
1880
+ securityAlertsThreshold: string;
1881
+ /**
1882
+ * The name of a code scanning tool
1883
+ */
1884
+ tool: string;
1885
+ }
1509
1886
  export interface RepositoryRulesetRulesRequiredDeployments {
1510
1887
  /**
1511
- * (List of String) The environments that must be successfully deployed to before branches can be merged.
1888
+ * The environments that must be successfully deployed to before branches can be merged.
1512
1889
  */
1513
1890
  requiredDeploymentEnvironments: string[];
1514
1891
  }
1515
1892
  export interface RepositoryRulesetRulesRequiredStatusChecks {
1516
1893
  /**
1517
- * (Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)
1894
+ * Allow repositories and branches to be created if a check would otherwise prohibit it.
1895
+ */
1896
+ doNotEnforceOnCreate?: boolean;
1897
+ /**
1898
+ * Status checks that are required. Several can be defined.
1518
1899
  */
1519
1900
  requiredChecks: outputs.RepositoryRulesetRulesRequiredStatusChecksRequiredCheck[];
1520
1901
  /**
1521
- * (Boolean) Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.
1902
+ * Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.
1522
1903
  */
1523
1904
  strictRequiredStatusChecksPolicy?: boolean;
1524
1905
  }
1525
1906
  export interface RepositoryRulesetRulesRequiredStatusChecksRequiredCheck {
1526
1907
  /**
1527
- * (String) The status check context name that must be present on the commit.
1908
+ * The status check context name that must be present on the commit.
1528
1909
  */
1529
1910
  context: string;
1530
1911
  /**
1531
- * (Number) The optional integration ID that this status check must originate from.
1912
+ * The optional integration ID that this status check must originate from.
1532
1913
  */
1533
1914
  integrationId?: number;
1534
1915
  }
@@ -1538,15 +1919,15 @@ export interface RepositoryRulesetRulesTagNamePattern {
1538
1919
  */
1539
1920
  name?: string;
1540
1921
  /**
1541
- * (Boolean) If true, the rule will fail if the pattern matches.
1922
+ * If true, the rule will fail if the pattern matches.
1542
1923
  */
1543
1924
  negate?: boolean;
1544
1925
  /**
1545
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1926
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1546
1927
  */
1547
1928
  operator: string;
1548
1929
  /**
1549
- * (String) The pattern to match with.
1930
+ * The pattern to match with.
1550
1931
  */
1551
1932
  pattern: string;
1552
1933
  }
@@ -1555,10 +1936,22 @@ export interface RepositorySecurityAndAnalysis {
1555
1936
  * The advanced security configuration for the repository. See Advanced Security Configuration below for details. If a repository's visibility is `public`, advanced security is always enabled and cannot be changed, so this setting cannot be supplied.
1556
1937
  */
1557
1938
  advancedSecurity?: outputs.RepositorySecurityAndAnalysisAdvancedSecurity;
1939
+ /**
1940
+ * The code security configuration for the repository. See Code Security below for details.
1941
+ */
1942
+ codeSecurity?: outputs.RepositorySecurityAndAnalysisCodeSecurity;
1558
1943
  /**
1559
1944
  * The secret scanning configuration for the repository. See Secret Scanning Configuration below for details.
1560
1945
  */
1561
1946
  secretScanning?: outputs.RepositorySecurityAndAnalysisSecretScanning;
1947
+ /**
1948
+ * The secret scanning ai detection configuration for the repository. See Secret Scanning AI Detection Configuration below for details.
1949
+ */
1950
+ secretScanningAiDetection?: outputs.RepositorySecurityAndAnalysisSecretScanningAiDetection;
1951
+ /**
1952
+ * The secret scanning non-provider patterns configuration for this repository. See Secret Scanning Non-Provider Patterns Configuration below for more details.
1953
+ */
1954
+ secretScanningNonProviderPatterns?: outputs.RepositorySecurityAndAnalysisSecretScanningNonProviderPatterns;
1562
1955
  /**
1563
1956
  * The secret scanning push protection configuration for the repository. See Secret Scanning Push Protection Configuration below for details.
1564
1957
  */
@@ -1570,15 +1963,33 @@ export interface RepositorySecurityAndAnalysisAdvancedSecurity {
1570
1963
  */
1571
1964
  status: string;
1572
1965
  }
1966
+ export interface RepositorySecurityAndAnalysisCodeSecurity {
1967
+ /**
1968
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1969
+ */
1970
+ status: string;
1971
+ }
1573
1972
  export interface RepositorySecurityAndAnalysisSecretScanning {
1574
1973
  /**
1575
- * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
1974
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1975
+ */
1976
+ status: string;
1977
+ }
1978
+ export interface RepositorySecurityAndAnalysisSecretScanningAiDetection {
1979
+ /**
1980
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1981
+ */
1982
+ status: string;
1983
+ }
1984
+ export interface RepositorySecurityAndAnalysisSecretScanningNonProviderPatterns {
1985
+ /**
1986
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1576
1987
  */
1577
1988
  status: string;
1578
1989
  }
1579
1990
  export interface RepositorySecurityAndAnalysisSecretScanningPushProtection {
1580
1991
  /**
1581
- * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
1992
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1582
1993
  */
1583
1994
  status: string;
1584
1995
  }
@@ -1627,15 +2038,15 @@ export interface TeamMembersMember {
1627
2038
  }
1628
2039
  export interface TeamSettingsReviewRequestDelegation {
1629
2040
  /**
1630
- * The algorithm to use when assigning pull requests to team members. Supported values are `ROUND_ROBIN` and `LOAD_BALANCE`. Default value is `ROUND_ROBIN`
2041
+ * The algorithm to use when assigning pull requests to team members. Supported values are 'ROUND_ROBIN' and 'LOAD_BALANCE'.
1631
2042
  */
1632
2043
  algorithm?: string;
1633
2044
  /**
1634
- * The number of team members to assign to a pull request
2045
+ * The number of team members to assign to a pull request.
1635
2046
  */
1636
2047
  memberCount?: number;
1637
2048
  /**
1638
- * whether to notify the entire team when at least one member is also assigned to the pull request
2049
+ * whether to notify the entire team when at least one member is also assigned to the pull request.
1639
2050
  */
1640
2051
  notify?: boolean;
1641
2052
  }