@pulumi/github 6.0.0-alpha.1709638261 → 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 +14 -5
  208. package/getOrganization.js +8 -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/input.d.ts CHANGED
@@ -1,5 +1,51 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
+ export interface ActionsHostedRunnerImage {
4
+ /**
5
+ * 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`.
6
+ */
7
+ id: pulumi.Input<string>;
8
+ /**
9
+ * The size of the image in gigabytes.
10
+ */
11
+ sizeGb?: pulumi.Input<number>;
12
+ /**
13
+ * The image source. Valid values are "github", "partner", or "custom". Defaults to "github".
14
+ */
15
+ source?: pulumi.Input<string>;
16
+ }
17
+ export interface ActionsHostedRunnerMachineSizeDetail {
18
+ /**
19
+ * Number of CPU cores.
20
+ */
21
+ cpuCores?: pulumi.Input<number>;
22
+ /**
23
+ * Machine size identifier.
24
+ */
25
+ id?: pulumi.Input<string>;
26
+ /**
27
+ * Amount of memory in gigabytes.
28
+ */
29
+ memoryGb?: pulumi.Input<number>;
30
+ /**
31
+ * Amount of storage in gigabytes.
32
+ */
33
+ storageGb?: pulumi.Input<number>;
34
+ }
35
+ export interface ActionsHostedRunnerPublicIp {
36
+ /**
37
+ * Whether this IP range is enabled.
38
+ */
39
+ enabled?: pulumi.Input<boolean>;
40
+ /**
41
+ * Subnet length.
42
+ */
43
+ length?: pulumi.Input<number>;
44
+ /**
45
+ * IP address prefix.
46
+ */
47
+ prefix?: pulumi.Input<string>;
48
+ }
3
49
  export interface ActionsOrganizationPermissionsAllowedActionsConfig {
4
50
  /**
5
51
  * Whether GitHub-owned actions are allowed in the organization.
@@ -113,13 +159,17 @@ export interface BranchProtectionV3RequiredPullRequestReviews {
113
159
  */
114
160
  dismissalUsers?: pulumi.Input<pulumi.Input<string>[]>;
115
161
  /**
116
- * @deprecated Use enforce_admins instead
162
+ * @deprecated Use enforceAdmins instead
117
163
  */
118
164
  includeAdmins?: pulumi.Input<boolean>;
119
165
  /**
120
166
  * Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.
121
167
  */
122
168
  requireCodeOwnerReviews?: pulumi.Input<boolean>;
169
+ /**
170
+ * Require that the most recent push must be approved by someone other than the last pusher. Defaults to `false`
171
+ */
172
+ requireLastPushApproval?: pulumi.Input<boolean>;
123
173
  /**
124
174
  * 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.
125
175
  */
@@ -156,7 +206,7 @@ export interface BranchProtectionV3RequiredStatusChecks {
156
206
  */
157
207
  contexts?: pulumi.Input<pulumi.Input<string>[]>;
158
208
  /**
159
- * @deprecated Use enforce_admins instead
209
+ * @deprecated Use enforceAdmins instead
160
210
  */
161
211
  includeAdmins?: pulumi.Input<boolean>;
162
212
  /**
@@ -181,6 +231,26 @@ export interface BranchProtectionV3Restrictions {
181
231
  */
182
232
  users?: pulumi.Input<pulumi.Input<string>[]>;
183
233
  }
234
+ export interface EnterpriseActionsPermissionsAllowedActionsConfig {
235
+ /**
236
+ * Whether GitHub-owned actions are allowed in the organization.
237
+ */
238
+ githubOwnedAllowed: pulumi.Input<boolean>;
239
+ /**
240
+ * 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/*."
241
+ */
242
+ patternsAlloweds?: pulumi.Input<pulumi.Input<string>[]>;
243
+ /**
244
+ * Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
245
+ */
246
+ verifiedAllowed?: pulumi.Input<boolean>;
247
+ }
248
+ export interface EnterpriseActionsPermissionsEnabledOrganizationsConfig {
249
+ /**
250
+ * List of organization IDs to enable for GitHub Actions.
251
+ */
252
+ organizationIds: pulumi.Input<pulumi.Input<number>[]>;
253
+ }
184
254
  export interface IssueLabelsLabel {
185
255
  /**
186
256
  * A 6 character hex code, **without the leading #**, identifying the color of the label.
@@ -203,15 +273,18 @@ export interface OrganizationRulesetBypassActor {
203
273
  /**
204
274
  * (Number) The ID of the actor that can bypass a ruleset.
205
275
  */
206
- actorId: pulumi.Input<number>;
276
+ actorId?: pulumi.Input<number>;
207
277
  /**
208
278
  * The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
209
279
  */
210
280
  actorType: pulumi.Input<string>;
211
281
  /**
212
- * (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`.
282
+ * (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`.
213
283
  *
214
284
  * ~>Note: at the time of writing this, the following actor types correspond to the following actor IDs:
285
+ *
286
+ * * `OrganizationAdmin` > `1`
287
+ * * `RepositoryRole` (This is the actor type, the following are the base repository roles and their associated IDs.)
215
288
  */
216
289
  bypassMode: pulumi.Input<string>;
217
290
  }
@@ -233,21 +306,21 @@ export interface OrganizationRulesetConditions {
233
306
  }
234
307
  export interface OrganizationRulesetConditionsRefName {
235
308
  /**
236
- * (List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
309
+ * Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
237
310
  */
238
311
  excludes: pulumi.Input<pulumi.Input<string>[]>;
239
312
  /**
240
- * (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.
313
+ * 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.
241
314
  */
242
315
  includes: pulumi.Input<pulumi.Input<string>[]>;
243
316
  }
244
317
  export interface OrganizationRulesetConditionsRepositoryName {
245
318
  /**
246
- * (List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
319
+ * Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
247
320
  */
248
321
  excludes: pulumi.Input<pulumi.Input<string>[]>;
249
322
  /**
250
- * (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.
323
+ * 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.
251
324
  */
252
325
  includes: pulumi.Input<pulumi.Input<string>[]>;
253
326
  /**
@@ -280,6 +353,22 @@ export interface OrganizationRulesetRules {
280
353
  * (Boolean) Only allow users with bypass permissions to delete matching refs.
281
354
  */
282
355
  deletion?: pulumi.Input<boolean>;
356
+ /**
357
+ * (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)
358
+ */
359
+ fileExtensionRestriction?: pulumi.Input<inputs.OrganizationRulesetRulesFileExtensionRestriction>;
360
+ /**
361
+ * (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)
362
+ */
363
+ filePathRestriction?: pulumi.Input<inputs.OrganizationRulesetRulesFilePathRestriction>;
364
+ /**
365
+ * (Integer) The maximum number of characters allowed in file paths.
366
+ */
367
+ maxFilePathLength?: pulumi.Input<inputs.OrganizationRulesetRulesMaxFilePathLength>;
368
+ /**
369
+ * (Integer) The maximum allowed size, in megabytes (MB), of a file. Valid range is 1-100 MB.
370
+ */
371
+ maxFileSize?: pulumi.Input<inputs.OrganizationRulesetRulesMaxFileSize>;
283
372
  /**
284
373
  * (Boolean) Prevent users with push access from force pushing to branches.
285
374
  */
@@ -288,6 +377,10 @@ export interface OrganizationRulesetRules {
288
377
  * (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)
289
378
  */
290
379
  pullRequest?: pulumi.Input<inputs.OrganizationRulesetRulesPullRequest>;
380
+ /**
381
+ * (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)
382
+ */
383
+ requiredCodeScanning?: pulumi.Input<inputs.OrganizationRulesetRulesRequiredCodeScanning>;
291
384
  /**
292
385
  * (Boolean) Prevent merge commits from being pushed to matching branches.
293
386
  */
@@ -319,15 +412,15 @@ export interface OrganizationRulesetRulesBranchNamePattern {
319
412
  */
320
413
  name?: pulumi.Input<string>;
321
414
  /**
322
- * (Boolean) If true, the rule will fail if the pattern matches.
415
+ * If true, the rule will fail if the pattern matches.
323
416
  */
324
417
  negate?: pulumi.Input<boolean>;
325
418
  /**
326
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
419
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
327
420
  */
328
421
  operator: pulumi.Input<string>;
329
422
  /**
330
- * (String) The pattern to match with.
423
+ * The pattern to match with.
331
424
  */
332
425
  pattern: pulumi.Input<string>;
333
426
  }
@@ -337,15 +430,15 @@ export interface OrganizationRulesetRulesCommitAuthorEmailPattern {
337
430
  */
338
431
  name?: pulumi.Input<string>;
339
432
  /**
340
- * (Boolean) If true, the rule will fail if the pattern matches.
433
+ * If true, the rule will fail if the pattern matches.
341
434
  */
342
435
  negate?: pulumi.Input<boolean>;
343
436
  /**
344
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
437
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
345
438
  */
346
439
  operator: pulumi.Input<string>;
347
440
  /**
348
- * (String) The pattern to match with.
441
+ * The pattern to match with.
349
442
  */
350
443
  pattern: pulumi.Input<string>;
351
444
  }
@@ -355,15 +448,15 @@ export interface OrganizationRulesetRulesCommitMessagePattern {
355
448
  */
356
449
  name?: pulumi.Input<string>;
357
450
  /**
358
- * (Boolean) If true, the rule will fail if the pattern matches.
451
+ * If true, the rule will fail if the pattern matches.
359
452
  */
360
453
  negate?: pulumi.Input<boolean>;
361
454
  /**
362
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
455
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
363
456
  */
364
457
  operator: pulumi.Input<string>;
365
458
  /**
366
- * (String) The pattern to match with.
459
+ * The pattern to match with.
367
460
  */
368
461
  pattern: pulumi.Input<string>;
369
462
  }
@@ -373,77 +466,129 @@ export interface OrganizationRulesetRulesCommitterEmailPattern {
373
466
  */
374
467
  name?: pulumi.Input<string>;
375
468
  /**
376
- * (Boolean) If true, the rule will fail if the pattern matches.
469
+ * If true, the rule will fail if the pattern matches.
377
470
  */
378
471
  negate?: pulumi.Input<boolean>;
379
472
  /**
380
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
473
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
381
474
  */
382
475
  operator: pulumi.Input<string>;
383
476
  /**
384
- * (String) The pattern to match with.
477
+ * The pattern to match with.
385
478
  */
386
479
  pattern: pulumi.Input<string>;
387
480
  }
481
+ export interface OrganizationRulesetRulesFileExtensionRestriction {
482
+ /**
483
+ * The file extensions that are restricted from being pushed to the commit graph.
484
+ */
485
+ restrictedFileExtensions: pulumi.Input<pulumi.Input<string>[]>;
486
+ }
487
+ export interface OrganizationRulesetRulesFilePathRestriction {
488
+ /**
489
+ * The file paths that are restricted from being pushed to the commit graph.
490
+ */
491
+ restrictedFilePaths: pulumi.Input<pulumi.Input<string>[]>;
492
+ }
493
+ export interface OrganizationRulesetRulesMaxFilePathLength {
494
+ /**
495
+ * The maximum allowed length of a file path.
496
+ */
497
+ maxFilePathLength: pulumi.Input<number>;
498
+ }
499
+ export interface OrganizationRulesetRulesMaxFileSize {
500
+ /**
501
+ * The maximum allowed size of a file in megabytes (MB). Valid range is 1-100 MB.
502
+ */
503
+ maxFileSize: pulumi.Input<number>;
504
+ }
388
505
  export interface OrganizationRulesetRulesPullRequest {
389
506
  /**
390
- * (Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
507
+ * New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
391
508
  */
392
509
  dismissStaleReviewsOnPush?: pulumi.Input<boolean>;
393
510
  /**
394
- * (Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
511
+ * Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
395
512
  */
396
513
  requireCodeOwnerReview?: pulumi.Input<boolean>;
397
514
  /**
398
- * (Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
515
+ * Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
399
516
  */
400
517
  requireLastPushApproval?: pulumi.Input<boolean>;
401
518
  /**
402
- * (Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
519
+ * The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
403
520
  */
404
521
  requiredApprovingReviewCount?: pulumi.Input<number>;
405
522
  /**
406
- * (Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
523
+ * All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
407
524
  */
408
525
  requiredReviewThreadResolution?: pulumi.Input<boolean>;
409
526
  }
527
+ export interface OrganizationRulesetRulesRequiredCodeScanning {
528
+ /**
529
+ * Tools that must provide code scanning results for this rule to pass.
530
+ */
531
+ requiredCodeScanningTools: pulumi.Input<pulumi.Input<inputs.OrganizationRulesetRulesRequiredCodeScanningRequiredCodeScanningTool>[]>;
532
+ }
533
+ export interface OrganizationRulesetRulesRequiredCodeScanningRequiredCodeScanningTool {
534
+ /**
535
+ * The severity level at which code scanning results that raise alerts block a reference update. Can be one of: `none`, `errors`, `errorsAndWarnings`, `all`.
536
+ */
537
+ alertsThreshold: pulumi.Input<string>;
538
+ /**
539
+ * 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`.
540
+ */
541
+ securityAlertsThreshold: pulumi.Input<string>;
542
+ /**
543
+ * The name of a code scanning tool.
544
+ */
545
+ tool: pulumi.Input<string>;
546
+ }
410
547
  export interface OrganizationRulesetRulesRequiredStatusChecks {
411
548
  /**
412
- * (Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)
549
+ * (Boolean) Allow repositories and branches to be created if a check would otherwise prohibit it. Defaults to `false`.
550
+ */
551
+ doNotEnforceOnCreate?: pulumi.Input<boolean>;
552
+ /**
553
+ * Status checks that are required. Several can be defined.
413
554
  */
414
555
  requiredChecks: pulumi.Input<pulumi.Input<inputs.OrganizationRulesetRulesRequiredStatusChecksRequiredCheck>[]>;
415
556
  /**
416
- * (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`.
557
+ * 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`.
417
558
  */
418
559
  strictRequiredStatusChecksPolicy?: pulumi.Input<boolean>;
419
560
  }
420
561
  export interface OrganizationRulesetRulesRequiredStatusChecksRequiredCheck {
421
562
  /**
422
- * (String) The status check context name that must be present on the commit.
563
+ * The status check context name that must be present on the commit.
423
564
  */
424
565
  context: pulumi.Input<string>;
425
566
  /**
426
- * (Number) The optional integration ID that this status check must originate from.
567
+ * The optional integration ID that this status check must originate from.
427
568
  */
428
569
  integrationId?: pulumi.Input<number>;
429
570
  }
430
571
  export interface OrganizationRulesetRulesRequiredWorkflows {
431
572
  /**
432
- * (Block Set, Min: 1) Actions workflows that are required. Multiple can be defined. (see below for nested schema)
573
+ * Allow repositories and branches to be created if a check would otherwise prohibit it.
574
+ */
575
+ doNotEnforceOnCreate?: pulumi.Input<boolean>;
576
+ /**
577
+ * Actions workflows that are required. Several can be defined.
433
578
  */
434
579
  requiredWorkflows: pulumi.Input<pulumi.Input<inputs.OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow>[]>;
435
580
  }
436
581
  export interface OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow {
437
582
  /**
438
- * (String) The path to the YAML definition file of the workflow.
583
+ * The path to the workflow YAML definition file.
439
584
  */
440
585
  path: pulumi.Input<string>;
441
586
  /**
442
- * (String) The optional ref from which to fetch the workflow. Defaults to `master`.
587
+ * The ref (branch or tag) of the workflow file to use.
443
588
  */
444
589
  ref?: pulumi.Input<string>;
445
590
  /**
446
- * The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with `repositoryName`.
591
+ * The repository in which the workflow is defined.
447
592
  */
448
593
  repositoryId: pulumi.Input<number>;
449
594
  }
@@ -453,15 +598,15 @@ export interface OrganizationRulesetRulesTagNamePattern {
453
598
  */
454
599
  name?: pulumi.Input<string>;
455
600
  /**
456
- * (Boolean) If true, the rule will fail if the pattern matches.
601
+ * If true, the rule will fail if the pattern matches.
457
602
  */
458
603
  negate?: pulumi.Input<boolean>;
459
604
  /**
460
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
605
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
461
606
  */
462
607
  operator: pulumi.Input<string>;
463
608
  /**
464
- * (String) The pattern to match with.
609
+ * The pattern to match with.
465
610
  */
466
611
  pattern: pulumi.Input<string>;
467
612
  }
@@ -497,6 +642,12 @@ export interface ProviderAppAuth {
497
642
  */
498
643
  pemFile: pulumi.Input<string>;
499
644
  }
645
+ export interface RepositoryCollaboratorsIgnoreTeam {
646
+ /**
647
+ * The GitHub team id or the GitHub team slug.
648
+ */
649
+ teamId: pulumi.Input<string>;
650
+ }
500
651
  export interface RepositoryCollaboratorsTeam {
501
652
  /**
502
653
  * The permission of the outside collaborators for the repository.
@@ -505,7 +656,7 @@ export interface RepositoryCollaboratorsTeam {
505
656
  */
506
657
  permission?: pulumi.Input<string>;
507
658
  /**
508
- * The GitHub team id or the GitHub team slug
659
+ * The GitHub team id or the GitHub team slug.
509
660
  */
510
661
  teamId: pulumi.Input<string>;
511
662
  }
@@ -563,7 +714,7 @@ export interface RepositoryPages {
563
714
  */
564
715
  source?: pulumi.Input<inputs.RepositoryPagesSource>;
565
716
  /**
566
- * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
717
+ * The GitHub Pages site's build status e.g. `building` or `built`.
567
718
  */
568
719
  status?: pulumi.Input<string>;
569
720
  url?: pulumi.Input<string>;
@@ -580,17 +731,20 @@ export interface RepositoryPagesSource {
580
731
  }
581
732
  export interface RepositoryRulesetBypassActor {
582
733
  /**
583
- * (Number) The ID of the actor that can bypass a ruleset.
734
+ * 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)
584
735
  */
585
- actorId: pulumi.Input<number>;
736
+ actorId?: pulumi.Input<number>;
586
737
  /**
587
- * The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
738
+ * The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`, `DeployKey`.
588
739
  */
589
740
  actorType: pulumi.Input<string>;
590
741
  /**
591
- * (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`.
742
+ * (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`.
592
743
  *
593
744
  * > Note: at the time of writing this, the following actor types correspond to the following actor IDs:
745
+ *
746
+ * * `OrganizationAdmin` > `1`
747
+ * * `RepositoryRole` (This is the actor type, the following are the base repository roles and their associated IDs.)
594
748
  */
595
749
  bypassMode: pulumi.Input<string>;
596
750
  }
@@ -602,11 +756,11 @@ export interface RepositoryRulesetConditions {
602
756
  }
603
757
  export interface RepositoryRulesetConditionsRefName {
604
758
  /**
605
- * (List of String) Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
759
+ * Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
606
760
  */
607
761
  excludes: pulumi.Input<pulumi.Input<string>[]>;
608
762
  /**
609
- * (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.
763
+ * 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.
610
764
  */
611
765
  includes: pulumi.Input<pulumi.Input<string>[]>;
612
766
  }
@@ -635,6 +789,26 @@ export interface RepositoryRulesetRules {
635
789
  * (Boolean) Only allow users with bypass permissions to delete matching refs.
636
790
  */
637
791
  deletion?: pulumi.Input<boolean>;
792
+ /**
793
+ * (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)
794
+ */
795
+ fileExtensionRestriction?: pulumi.Input<inputs.RepositoryRulesetRulesFileExtensionRestriction>;
796
+ /**
797
+ * (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)
798
+ */
799
+ filePathRestriction?: pulumi.Input<inputs.RepositoryRulesetRulesFilePathRestriction>;
800
+ /**
801
+ * (Integer) The maximum number of characters allowed in file paths.
802
+ */
803
+ maxFilePathLength?: pulumi.Input<inputs.RepositoryRulesetRulesMaxFilePathLength>;
804
+ /**
805
+ * (Integer) The maximum allowed size, in megabytes (MB), of a file. Valid range is 1-100 MB.
806
+ */
807
+ maxFileSize?: pulumi.Input<inputs.RepositoryRulesetRulesMaxFileSize>;
808
+ /**
809
+ * (Block List, Max: 1) Merges must be performed via a merge queue. (see below for nested schema)
810
+ */
811
+ mergeQueue?: pulumi.Input<inputs.RepositoryRulesetRulesMergeQueue>;
638
812
  /**
639
813
  * (Boolean) Prevent users with push access from force pushing to branches.
640
814
  */
@@ -643,6 +817,10 @@ export interface RepositoryRulesetRules {
643
817
  * (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)
644
818
  */
645
819
  pullRequest?: pulumi.Input<inputs.RepositoryRulesetRulesPullRequest>;
820
+ /**
821
+ * (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)
822
+ */
823
+ requiredCodeScanning?: pulumi.Input<inputs.RepositoryRulesetRulesRequiredCodeScanning>;
646
824
  /**
647
825
  * (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)
648
826
  */
@@ -678,15 +856,15 @@ export interface RepositoryRulesetRulesBranchNamePattern {
678
856
  */
679
857
  name?: pulumi.Input<string>;
680
858
  /**
681
- * (Boolean) If true, the rule will fail if the pattern matches.
859
+ * If true, the rule will fail if the pattern matches.
682
860
  */
683
861
  negate?: pulumi.Input<boolean>;
684
862
  /**
685
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
863
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
686
864
  */
687
865
  operator: pulumi.Input<string>;
688
866
  /**
689
- * (String) The pattern to match with.
867
+ * The pattern to match with.
690
868
  */
691
869
  pattern: pulumi.Input<string>;
692
870
  }
@@ -696,15 +874,15 @@ export interface RepositoryRulesetRulesCommitAuthorEmailPattern {
696
874
  */
697
875
  name?: pulumi.Input<string>;
698
876
  /**
699
- * (Boolean) If true, the rule will fail if the pattern matches.
877
+ * If true, the rule will fail if the pattern matches.
700
878
  */
701
879
  negate?: pulumi.Input<boolean>;
702
880
  /**
703
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
881
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
704
882
  */
705
883
  operator: pulumi.Input<string>;
706
884
  /**
707
- * (String) The pattern to match with.
885
+ * The pattern to match with.
708
886
  */
709
887
  pattern: pulumi.Input<string>;
710
888
  }
@@ -714,15 +892,15 @@ export interface RepositoryRulesetRulesCommitMessagePattern {
714
892
  */
715
893
  name?: pulumi.Input<string>;
716
894
  /**
717
- * (Boolean) If true, the rule will fail if the pattern matches.
895
+ * If true, the rule will fail if the pattern matches.
718
896
  */
719
897
  negate?: pulumi.Input<boolean>;
720
898
  /**
721
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
899
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
722
900
  */
723
901
  operator: pulumi.Input<string>;
724
902
  /**
725
- * (String) The pattern to match with.
903
+ * The pattern to match with.
726
904
  */
727
905
  pattern: pulumi.Input<string>;
728
906
  }
@@ -732,63 +910,141 @@ export interface RepositoryRulesetRulesCommitterEmailPattern {
732
910
  */
733
911
  name?: pulumi.Input<string>;
734
912
  /**
735
- * (Boolean) If true, the rule will fail if the pattern matches.
913
+ * If true, the rule will fail if the pattern matches.
736
914
  */
737
915
  negate?: pulumi.Input<boolean>;
738
916
  /**
739
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
917
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
740
918
  */
741
919
  operator: pulumi.Input<string>;
742
920
  /**
743
- * (String) The pattern to match with.
921
+ * The pattern to match with.
744
922
  */
745
923
  pattern: pulumi.Input<string>;
746
924
  }
925
+ export interface RepositoryRulesetRulesFileExtensionRestriction {
926
+ /**
927
+ * A list of file extensions.
928
+ */
929
+ restrictedFileExtensions: pulumi.Input<pulumi.Input<string>[]>;
930
+ }
931
+ export interface RepositoryRulesetRulesFilePathRestriction {
932
+ /**
933
+ * The file paths that are restricted from being pushed to the commit graph.
934
+ */
935
+ restrictedFilePaths: pulumi.Input<pulumi.Input<string>[]>;
936
+ }
937
+ export interface RepositoryRulesetRulesMaxFilePathLength {
938
+ /**
939
+ * The maximum allowed length of a file path.
940
+ */
941
+ maxFilePathLength: pulumi.Input<number>;
942
+ }
943
+ export interface RepositoryRulesetRulesMaxFileSize {
944
+ /**
945
+ * The maximum allowed size of a file in megabytes (MB). Valid range is 1-100 MB.
946
+ */
947
+ maxFileSize: pulumi.Input<number>;
948
+ }
949
+ export interface RepositoryRulesetRulesMergeQueue {
950
+ /**
951
+ * 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`.
952
+ */
953
+ checkResponseTimeoutMinutes?: pulumi.Input<number>;
954
+ /**
955
+ * 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`.
956
+ */
957
+ groupingStrategy?: pulumi.Input<string>;
958
+ /**
959
+ * Limit the number of queued pull requests requesting checks and workflow runs at the same time. Defaults to `5`.
960
+ */
961
+ maxEntriesToBuild?: pulumi.Input<number>;
962
+ /**
963
+ * The maximum number of PRs that will be merged together in a group. Defaults to `5`.
964
+ */
965
+ maxEntriesToMerge?: pulumi.Input<number>;
966
+ /**
967
+ * Method to use when merging changes from queued pull requests. Can be one of: MERGE, SQUASH, REBASE. Defaults to `MERGE`.
968
+ */
969
+ mergeMethod?: pulumi.Input<string>;
970
+ /**
971
+ * The minimum number of PRs that will be merged together in a group. Defaults to `1`.
972
+ */
973
+ minEntriesToMerge?: pulumi.Input<number>;
974
+ /**
975
+ * 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`.
976
+ */
977
+ minEntriesToMergeWaitMinutes?: pulumi.Input<number>;
978
+ }
747
979
  export interface RepositoryRulesetRulesPullRequest {
748
980
  /**
749
- * (Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
981
+ * New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
750
982
  */
751
983
  dismissStaleReviewsOnPush?: pulumi.Input<boolean>;
752
984
  /**
753
- * (Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
985
+ * Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
754
986
  */
755
987
  requireCodeOwnerReview?: pulumi.Input<boolean>;
756
988
  /**
757
- * (Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
989
+ * Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
758
990
  */
759
991
  requireLastPushApproval?: pulumi.Input<boolean>;
760
992
  /**
761
- * (Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
993
+ * The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
762
994
  */
763
995
  requiredApprovingReviewCount?: pulumi.Input<number>;
764
996
  /**
765
- * (Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
997
+ * All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
766
998
  */
767
999
  requiredReviewThreadResolution?: pulumi.Input<boolean>;
768
1000
  }
1001
+ export interface RepositoryRulesetRulesRequiredCodeScanning {
1002
+ /**
1003
+ * Tools that must provide code scanning results for this rule to pass.
1004
+ */
1005
+ requiredCodeScanningTools: pulumi.Input<pulumi.Input<inputs.RepositoryRulesetRulesRequiredCodeScanningRequiredCodeScanningTool>[]>;
1006
+ }
1007
+ export interface RepositoryRulesetRulesRequiredCodeScanningRequiredCodeScanningTool {
1008
+ /**
1009
+ * The severity level at which code scanning results that raise alerts block a reference update. Can be one of: `none`, `errors`, `errorsAndWarnings`, `all`.
1010
+ */
1011
+ alertsThreshold: pulumi.Input<string>;
1012
+ /**
1013
+ * 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`.
1014
+ */
1015
+ securityAlertsThreshold: pulumi.Input<string>;
1016
+ /**
1017
+ * The name of a code scanning tool
1018
+ */
1019
+ tool: pulumi.Input<string>;
1020
+ }
769
1021
  export interface RepositoryRulesetRulesRequiredDeployments {
770
1022
  /**
771
- * (List of String) The environments that must be successfully deployed to before branches can be merged.
1023
+ * The environments that must be successfully deployed to before branches can be merged.
772
1024
  */
773
1025
  requiredDeploymentEnvironments: pulumi.Input<pulumi.Input<string>[]>;
774
1026
  }
775
1027
  export interface RepositoryRulesetRulesRequiredStatusChecks {
776
1028
  /**
777
- * (Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)
1029
+ * Allow repositories and branches to be created if a check would otherwise prohibit it.
1030
+ */
1031
+ doNotEnforceOnCreate?: pulumi.Input<boolean>;
1032
+ /**
1033
+ * Status checks that are required. Several can be defined.
778
1034
  */
779
1035
  requiredChecks: pulumi.Input<pulumi.Input<inputs.RepositoryRulesetRulesRequiredStatusChecksRequiredCheck>[]>;
780
1036
  /**
781
- * (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`.
1037
+ * 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`.
782
1038
  */
783
1039
  strictRequiredStatusChecksPolicy?: pulumi.Input<boolean>;
784
1040
  }
785
1041
  export interface RepositoryRulesetRulesRequiredStatusChecksRequiredCheck {
786
1042
  /**
787
- * (String) The status check context name that must be present on the commit.
1043
+ * The status check context name that must be present on the commit.
788
1044
  */
789
1045
  context: pulumi.Input<string>;
790
1046
  /**
791
- * (Number) The optional integration ID that this status check must originate from.
1047
+ * The optional integration ID that this status check must originate from.
792
1048
  */
793
1049
  integrationId?: pulumi.Input<number>;
794
1050
  }
@@ -798,15 +1054,15 @@ export interface RepositoryRulesetRulesTagNamePattern {
798
1054
  */
799
1055
  name?: pulumi.Input<string>;
800
1056
  /**
801
- * (Boolean) If true, the rule will fail if the pattern matches.
1057
+ * If true, the rule will fail if the pattern matches.
802
1058
  */
803
1059
  negate?: pulumi.Input<boolean>;
804
1060
  /**
805
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1061
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
806
1062
  */
807
1063
  operator: pulumi.Input<string>;
808
1064
  /**
809
- * (String) The pattern to match with.
1065
+ * The pattern to match with.
810
1066
  */
811
1067
  pattern: pulumi.Input<string>;
812
1068
  }
@@ -815,10 +1071,22 @@ export interface RepositorySecurityAndAnalysis {
815
1071
  * 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.
816
1072
  */
817
1073
  advancedSecurity?: pulumi.Input<inputs.RepositorySecurityAndAnalysisAdvancedSecurity>;
1074
+ /**
1075
+ * The code security configuration for the repository. See Code Security below for details.
1076
+ */
1077
+ codeSecurity?: pulumi.Input<inputs.RepositorySecurityAndAnalysisCodeSecurity>;
818
1078
  /**
819
1079
  * The secret scanning configuration for the repository. See Secret Scanning Configuration below for details.
820
1080
  */
821
1081
  secretScanning?: pulumi.Input<inputs.RepositorySecurityAndAnalysisSecretScanning>;
1082
+ /**
1083
+ * The secret scanning ai detection configuration for the repository. See Secret Scanning AI Detection Configuration below for details.
1084
+ */
1085
+ secretScanningAiDetection?: pulumi.Input<inputs.RepositorySecurityAndAnalysisSecretScanningAiDetection>;
1086
+ /**
1087
+ * The secret scanning non-provider patterns configuration for this repository. See Secret Scanning Non-Provider Patterns Configuration below for more details.
1088
+ */
1089
+ secretScanningNonProviderPatterns?: pulumi.Input<inputs.RepositorySecurityAndAnalysisSecretScanningNonProviderPatterns>;
822
1090
  /**
823
1091
  * The secret scanning push protection configuration for the repository. See Secret Scanning Push Protection Configuration below for details.
824
1092
  */
@@ -830,15 +1098,33 @@ export interface RepositorySecurityAndAnalysisAdvancedSecurity {
830
1098
  */
831
1099
  status: pulumi.Input<string>;
832
1100
  }
1101
+ export interface RepositorySecurityAndAnalysisCodeSecurity {
1102
+ /**
1103
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1104
+ */
1105
+ status: pulumi.Input<string>;
1106
+ }
833
1107
  export interface RepositorySecurityAndAnalysisSecretScanning {
834
1108
  /**
835
- * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
1109
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1110
+ */
1111
+ status: pulumi.Input<string>;
1112
+ }
1113
+ export interface RepositorySecurityAndAnalysisSecretScanningAiDetection {
1114
+ /**
1115
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1116
+ */
1117
+ status: pulumi.Input<string>;
1118
+ }
1119
+ export interface RepositorySecurityAndAnalysisSecretScanningNonProviderPatterns {
1120
+ /**
1121
+ * The GitHub Pages site's build status e.g. `building` or `built`.
836
1122
  */
837
1123
  status: pulumi.Input<string>;
838
1124
  }
839
1125
  export interface RepositorySecurityAndAnalysisSecretScanningPushProtection {
840
1126
  /**
841
- * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
1127
+ * The GitHub Pages site's build status e.g. `building` or `built`.
842
1128
  */
843
1129
  status: pulumi.Input<string>;
844
1130
  }
@@ -887,15 +1173,15 @@ export interface TeamMembersMember {
887
1173
  }
888
1174
  export interface TeamSettingsReviewRequestDelegation {
889
1175
  /**
890
- * The algorithm to use when assigning pull requests to team members. Supported values are `ROUND_ROBIN` and `LOAD_BALANCE`. Default value is `ROUND_ROBIN`
1176
+ * The algorithm to use when assigning pull requests to team members. Supported values are 'ROUND_ROBIN' and 'LOAD_BALANCE'.
891
1177
  */
892
1178
  algorithm?: pulumi.Input<string>;
893
1179
  /**
894
- * The number of team members to assign to a pull request
1180
+ * The number of team members to assign to a pull request.
895
1181
  */
896
1182
  memberCount?: pulumi.Input<number>;
897
1183
  /**
898
- * whether to notify the entire team when at least one member is also assigned to the pull request
1184
+ * whether to notify the entire team when at least one member is also assigned to the pull request.
899
1185
  */
900
1186
  notify?: pulumi.Input<boolean>;
901
1187
  }