@pulumi/github 6.15.0-alpha.1786702465 → 6.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (372) hide show
  1. package/actionsEnvironmentSecret.d.ts +49 -11
  2. package/actionsEnvironmentSecret.d.ts.map +1 -1
  3. package/actionsEnvironmentSecret.js +49 -11
  4. package/actionsEnvironmentSecret.js.map +1 -1
  5. package/actionsEnvironmentVariable.d.ts +5 -2
  6. package/actionsEnvironmentVariable.d.ts.map +1 -1
  7. package/actionsEnvironmentVariable.js +5 -2
  8. package/actionsEnvironmentVariable.js.map +1 -1
  9. package/actionsHostedRunner.d.ts +8 -9
  10. package/actionsHostedRunner.d.ts.map +1 -1
  11. package/actionsHostedRunner.js +8 -9
  12. package/actionsHostedRunner.js.map +1 -1
  13. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +2 -4
  14. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts.map +1 -1
  15. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +2 -4
  16. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  17. package/actionsOrganizationPermissions.d.ts +1 -2
  18. package/actionsOrganizationPermissions.d.ts.map +1 -1
  19. package/actionsOrganizationPermissions.js +1 -2
  20. package/actionsOrganizationPermissions.js.map +1 -1
  21. package/actionsOrganizationSecret.d.ts +12 -14
  22. package/actionsOrganizationSecret.d.ts.map +1 -1
  23. package/actionsOrganizationSecret.js +12 -14
  24. package/actionsOrganizationSecret.js.map +1 -1
  25. package/actionsOrganizationSecretRepositories.d.ts +6 -3
  26. package/actionsOrganizationSecretRepositories.d.ts.map +1 -1
  27. package/actionsOrganizationSecretRepositories.js +6 -3
  28. package/actionsOrganizationSecretRepositories.js.map +1 -1
  29. package/actionsOrganizationSecretRepository.d.ts +6 -3
  30. package/actionsOrganizationSecretRepository.d.ts.map +1 -1
  31. package/actionsOrganizationSecretRepository.js +6 -3
  32. package/actionsOrganizationSecretRepository.js.map +1 -1
  33. package/actionsOrganizationVariable.d.ts +5 -2
  34. package/actionsOrganizationVariable.d.ts.map +1 -1
  35. package/actionsOrganizationVariable.js +5 -2
  36. package/actionsOrganizationVariable.js.map +1 -1
  37. package/actionsOrganizationVariableRepositories.d.ts +6 -3
  38. package/actionsOrganizationVariableRepositories.d.ts.map +1 -1
  39. package/actionsOrganizationVariableRepositories.js +6 -3
  40. package/actionsOrganizationVariableRepositories.js.map +1 -1
  41. package/actionsOrganizationVariableRepository.d.ts +6 -3
  42. package/actionsOrganizationVariableRepository.d.ts.map +1 -1
  43. package/actionsOrganizationVariableRepository.js +6 -3
  44. package/actionsOrganizationVariableRepository.js.map +1 -1
  45. package/actionsOrganizationWorkflowPermissions.d.ts +2 -2
  46. package/actionsOrganizationWorkflowPermissions.js +2 -2
  47. package/actionsRepositoryAccessLevel.d.ts +1 -2
  48. package/actionsRepositoryAccessLevel.d.ts.map +1 -1
  49. package/actionsRepositoryAccessLevel.js +1 -2
  50. package/actionsRepositoryAccessLevel.js.map +1 -1
  51. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +5 -10
  52. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts.map +1 -1
  53. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +2 -4
  54. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  55. package/actionsRepositoryPermissions.d.ts +1 -2
  56. package/actionsRepositoryPermissions.d.ts.map +1 -1
  57. package/actionsRepositoryPermissions.js +1 -2
  58. package/actionsRepositoryPermissions.js.map +1 -1
  59. package/actionsRunnerGroup.d.ts +1 -2
  60. package/actionsRunnerGroup.d.ts.map +1 -1
  61. package/actionsRunnerGroup.js +1 -2
  62. package/actionsRunnerGroup.js.map +1 -1
  63. package/actionsSecret.d.ts +10 -12
  64. package/actionsSecret.d.ts.map +1 -1
  65. package/actionsSecret.js +10 -12
  66. package/actionsSecret.js.map +1 -1
  67. package/actionsVariable.d.ts +5 -2
  68. package/actionsVariable.d.ts.map +1 -1
  69. package/actionsVariable.js +5 -2
  70. package/actionsVariable.js.map +1 -1
  71. package/appInstallationRepositories.d.ts +21 -8
  72. package/appInstallationRepositories.d.ts.map +1 -1
  73. package/appInstallationRepositories.js +21 -8
  74. package/appInstallationRepositories.js.map +1 -1
  75. package/appInstallationRepository.d.ts +3 -8
  76. package/appInstallationRepository.d.ts.map +1 -1
  77. package/appInstallationRepository.js +3 -8
  78. package/appInstallationRepository.js.map +1 -1
  79. package/branch.d.ts +2 -4
  80. package/branch.d.ts.map +1 -1
  81. package/branch.js +2 -4
  82. package/branch.js.map +1 -1
  83. package/branchDefault.d.ts +43 -18
  84. package/branchDefault.d.ts.map +1 -1
  85. package/branchDefault.js +9 -9
  86. package/branchDefault.js.map +1 -1
  87. package/codespacesOrganizationSecret.d.ts +6 -26
  88. package/codespacesOrganizationSecret.d.ts.map +1 -1
  89. package/codespacesOrganizationSecret.js +3 -20
  90. package/codespacesOrganizationSecret.js.map +1 -1
  91. package/codespacesSecret.d.ts +4 -11
  92. package/codespacesSecret.d.ts.map +1 -1
  93. package/codespacesSecret.js +4 -11
  94. package/codespacesSecret.js.map +1 -1
  95. package/codespacesUserSecret.d.ts +3 -20
  96. package/codespacesUserSecret.d.ts.map +1 -1
  97. package/codespacesUserSecret.js +3 -20
  98. package/codespacesUserSecret.js.map +1 -1
  99. package/config/vars.d.ts +21 -13
  100. package/config/vars.d.ts.map +1 -1
  101. package/config/vars.js +12 -0
  102. package/config/vars.js.map +1 -1
  103. package/dependabotOrganizationSecret.d.ts +32 -13
  104. package/dependabotOrganizationSecret.d.ts.map +1 -1
  105. package/dependabotOrganizationSecret.js +32 -13
  106. package/dependabotOrganizationSecret.js.map +1 -1
  107. package/dependabotOrganizationSecretRepositories.d.ts +6 -3
  108. package/dependabotOrganizationSecretRepositories.d.ts.map +1 -1
  109. package/dependabotOrganizationSecretRepositories.js +6 -3
  110. package/dependabotOrganizationSecretRepositories.js.map +1 -1
  111. package/dependabotOrganizationSecretRepository.d.ts +6 -3
  112. package/dependabotOrganizationSecretRepository.d.ts.map +1 -1
  113. package/dependabotOrganizationSecretRepository.js +6 -3
  114. package/dependabotOrganizationSecretRepository.js.map +1 -1
  115. package/dependabotSecret.d.ts +10 -12
  116. package/dependabotSecret.d.ts.map +1 -1
  117. package/dependabotSecret.js +10 -12
  118. package/dependabotSecret.js.map +1 -1
  119. package/enterpriseActionsPermissions.d.ts +1 -2
  120. package/enterpriseActionsPermissions.d.ts.map +1 -1
  121. package/enterpriseActionsPermissions.js +1 -2
  122. package/enterpriseActionsPermissions.js.map +1 -1
  123. package/enterpriseActionsRunnerGroup.d.ts +1 -2
  124. package/enterpriseActionsRunnerGroup.d.ts.map +1 -1
  125. package/enterpriseActionsRunnerGroup.js +1 -2
  126. package/enterpriseActionsRunnerGroup.js.map +1 -1
  127. package/enterpriseActionsWorkflowPermissions.d.ts +1 -8
  128. package/enterpriseActionsWorkflowPermissions.d.ts.map +1 -1
  129. package/enterpriseActionsWorkflowPermissions.js +1 -8
  130. package/enterpriseActionsWorkflowPermissions.js.map +1 -1
  131. package/enterpriseSecurityAnalysisSettings.d.ts +0 -8
  132. package/enterpriseSecurityAnalysisSettings.d.ts.map +1 -1
  133. package/enterpriseSecurityAnalysisSettings.js +0 -8
  134. package/enterpriseSecurityAnalysisSettings.js.map +1 -1
  135. package/getActionsEnvironmentPublicKey.d.ts +2 -4
  136. package/getActionsEnvironmentPublicKey.d.ts.map +1 -1
  137. package/getActionsEnvironmentPublicKey.js +2 -4
  138. package/getActionsEnvironmentPublicKey.js.map +1 -1
  139. package/getActionsOrganizationPublicKey.d.ts +2 -4
  140. package/getActionsOrganizationPublicKey.d.ts.map +1 -1
  141. package/getActionsOrganizationPublicKey.js +2 -4
  142. package/getActionsOrganizationPublicKey.js.map +1 -1
  143. package/getActionsPublicKey.d.ts +2 -4
  144. package/getActionsPublicKey.d.ts.map +1 -1
  145. package/getActionsPublicKey.js +2 -4
  146. package/getActionsPublicKey.js.map +1 -1
  147. package/getAppToken.d.ts +10 -10
  148. package/getAppToken.js +10 -10
  149. package/getCodespacesOrganizationPublicKey.d.ts +2 -4
  150. package/getCodespacesOrganizationPublicKey.d.ts.map +1 -1
  151. package/getCodespacesOrganizationPublicKey.js +2 -4
  152. package/getCodespacesOrganizationPublicKey.js.map +1 -1
  153. package/getCodespacesPublicKey.d.ts +2 -4
  154. package/getCodespacesPublicKey.d.ts.map +1 -1
  155. package/getCodespacesPublicKey.js +2 -4
  156. package/getCodespacesPublicKey.js.map +1 -1
  157. package/getCodespacesUserPublicKey.d.ts +2 -4
  158. package/getCodespacesUserPublicKey.d.ts.map +1 -1
  159. package/getCodespacesUserPublicKey.js +2 -4
  160. package/getCodespacesUserPublicKey.js.map +1 -1
  161. package/getCollaborators.d.ts +5 -5
  162. package/getDependabotOrganizationPublicKey.d.ts +2 -4
  163. package/getDependabotOrganizationPublicKey.d.ts.map +1 -1
  164. package/getDependabotOrganizationPublicKey.js +2 -4
  165. package/getDependabotOrganizationPublicKey.js.map +1 -1
  166. package/getDependabotPublicKey.d.ts +2 -4
  167. package/getDependabotPublicKey.d.ts.map +1 -1
  168. package/getDependabotPublicKey.js +2 -4
  169. package/getDependabotPublicKey.js.map +1 -1
  170. package/getGithubApp.d.ts +6 -3
  171. package/getGithubApp.d.ts.map +1 -1
  172. package/getGithubApp.js +2 -2
  173. package/getGithubApp.js.map +1 -1
  174. package/getMembership.d.ts +3 -9
  175. package/getMembership.d.ts.map +1 -1
  176. package/getMembership.js +2 -8
  177. package/getMembership.js.map +1 -1
  178. package/getOrganizationExternalIdentities.d.ts +2 -4
  179. package/getOrganizationExternalIdentities.d.ts.map +1 -1
  180. package/getOrganizationExternalIdentities.js +2 -4
  181. package/getOrganizationExternalIdentities.js.map +1 -1
  182. package/getOrganizationIpAllowList.d.ts +2 -7
  183. package/getOrganizationIpAllowList.d.ts.map +1 -1
  184. package/getOrganizationIpAllowList.js +2 -6
  185. package/getOrganizationIpAllowList.js.map +1 -1
  186. package/getOrganizationSecurityManagers.d.ts +1 -1
  187. package/getOrganizationTeamSyncGroups.d.ts +1 -1
  188. package/getOrganizationTeams.d.ts +3 -3
  189. package/getOrganizationTeams.js +2 -2
  190. package/getOrganizationWebhooks.d.ts +3 -4
  191. package/getOrganizationWebhooks.d.ts.map +1 -1
  192. package/getOrganizationWebhooks.js +2 -2
  193. package/getOrganizationWebhooks.js.map +1 -1
  194. package/getReleaseAsset.d.ts +2 -4
  195. package/getReleaseAsset.d.ts.map +1 -1
  196. package/getReleaseAsset.js +2 -4
  197. package/getReleaseAsset.js.map +1 -1
  198. package/getRepositories.d.ts +2 -4
  199. package/getRepositories.d.ts.map +1 -1
  200. package/getRepositories.js +2 -4
  201. package/getRepositories.js.map +1 -1
  202. package/getRepositoryDeploymentBranchPolicies.d.ts +2 -2
  203. package/getRepositoryEnvironments.d.ts +4 -0
  204. package/getRepositoryEnvironments.d.ts.map +1 -1
  205. package/getRepositoryEnvironments.js +4 -0
  206. package/getRepositoryEnvironments.js.map +1 -1
  207. package/getRepositoryFile.d.ts +2 -4
  208. package/getRepositoryFile.d.ts.map +1 -1
  209. package/getRepositoryFile.js +2 -4
  210. package/getRepositoryFile.js.map +1 -1
  211. package/getRepositoryWebhooks.d.ts +1 -2
  212. package/getRepositoryWebhooks.d.ts.map +1 -1
  213. package/getRepositoryWebhooks.js.map +1 -1
  214. package/getTeam.d.ts +4 -4
  215. package/getUserExternalIdentity.d.ts +4 -8
  216. package/getUserExternalIdentity.d.ts.map +1 -1
  217. package/getUserExternalIdentity.js +2 -4
  218. package/getUserExternalIdentity.js.map +1 -1
  219. package/issue.d.ts +3 -4
  220. package/issue.d.ts.map +1 -1
  221. package/issue.js +3 -4
  222. package/issue.js.map +1 -1
  223. package/issueLabel.d.ts +4 -9
  224. package/issueLabel.d.ts.map +1 -1
  225. package/issueLabel.js +4 -9
  226. package/issueLabel.js.map +1 -1
  227. package/issueLabels.d.ts +1 -2
  228. package/issueLabels.d.ts.map +1 -1
  229. package/issueLabels.js +1 -2
  230. package/issueLabels.js.map +1 -1
  231. package/membership.d.ts +7 -24
  232. package/membership.d.ts.map +1 -1
  233. package/membership.js +1 -3
  234. package/membership.js.map +1 -1
  235. package/organizationCustomProperties.d.ts +0 -8
  236. package/organizationCustomProperties.d.ts.map +1 -1
  237. package/organizationCustomProperties.js +0 -8
  238. package/organizationCustomProperties.js.map +1 -1
  239. package/organizationCustomRole.d.ts +1 -2
  240. package/organizationCustomRole.d.ts.map +1 -1
  241. package/organizationCustomRole.js +1 -2
  242. package/organizationCustomRole.js.map +1 -1
  243. package/organizationRoleTeamAssignment.d.ts +6 -4
  244. package/organizationRoleTeamAssignment.d.ts.map +1 -1
  245. package/organizationRoleTeamAssignment.js +6 -4
  246. package/organizationRoleTeamAssignment.js.map +1 -1
  247. package/organizationRuleset.d.ts +0 -38
  248. package/organizationRuleset.d.ts.map +1 -1
  249. package/organizationRuleset.js +0 -38
  250. package/organizationRuleset.js.map +1 -1
  251. package/organizationSecurityManager.d.ts +4 -0
  252. package/organizationSecurityManager.d.ts.map +1 -1
  253. package/organizationSecurityManager.js +4 -0
  254. package/organizationSecurityManager.js.map +1 -1
  255. package/organizationSettings.d.ts +1 -2
  256. package/organizationSettings.d.ts.map +1 -1
  257. package/organizationSettings.js +1 -2
  258. package/organizationSettings.js.map +1 -1
  259. package/organizationWebhook.d.ts +1 -2
  260. package/organizationWebhook.d.ts.map +1 -1
  261. package/organizationWebhook.js +1 -2
  262. package/organizationWebhook.js.map +1 -1
  263. package/package.json +2 -2
  264. package/projectCard.d.ts +3 -6
  265. package/projectCard.d.ts.map +1 -1
  266. package/projectCard.js.map +1 -1
  267. package/provider.d.ts +33 -19
  268. package/provider.d.ts.map +1 -1
  269. package/provider.js +2 -0
  270. package/provider.js.map +1 -1
  271. package/release.d.ts +1 -2
  272. package/release.d.ts.map +1 -1
  273. package/release.js +1 -2
  274. package/release.js.map +1 -1
  275. package/repository.d.ts +13 -29
  276. package/repository.d.ts.map +1 -1
  277. package/repository.js +1 -2
  278. package/repository.js.map +1 -1
  279. package/repositoryCollaborator.d.ts +15 -30
  280. package/repositoryCollaborator.d.ts.map +1 -1
  281. package/repositoryCollaborator.js +4 -13
  282. package/repositoryCollaborator.js.map +1 -1
  283. package/repositoryCollaborators.d.ts +51 -32
  284. package/repositoryCollaborators.d.ts.map +1 -1
  285. package/repositoryCollaborators.js +31 -16
  286. package/repositoryCollaborators.js.map +1 -1
  287. package/repositoryCustomProperty.d.ts +26 -18
  288. package/repositoryCustomProperty.d.ts.map +1 -1
  289. package/repositoryCustomProperty.js +8 -6
  290. package/repositoryCustomProperty.js.map +1 -1
  291. package/repositoryDependabotSecurityUpdates.d.ts +1 -3
  292. package/repositoryDependabotSecurityUpdates.d.ts.map +1 -1
  293. package/repositoryDependabotSecurityUpdates.js +1 -3
  294. package/repositoryDependabotSecurityUpdates.js.map +1 -1
  295. package/repositoryDeployKey.d.ts +3 -5
  296. package/repositoryDeployKey.d.ts.map +1 -1
  297. package/repositoryDeployKey.js +3 -5
  298. package/repositoryDeployKey.js.map +1 -1
  299. package/repositoryDeploymentBranchPolicy.d.ts +4 -0
  300. package/repositoryDeploymentBranchPolicy.d.ts.map +1 -1
  301. package/repositoryDeploymentBranchPolicy.js +4 -0
  302. package/repositoryDeploymentBranchPolicy.js.map +1 -1
  303. package/repositoryEnvironment.d.ts +6 -0
  304. package/repositoryEnvironment.d.ts.map +1 -1
  305. package/repositoryEnvironment.js +6 -0
  306. package/repositoryEnvironment.js.map +1 -1
  307. package/repositoryEnvironmentDeploymentPolicy.d.ts +4 -0
  308. package/repositoryEnvironmentDeploymentPolicy.d.ts.map +1 -1
  309. package/repositoryEnvironmentDeploymentPolicy.js +4 -0
  310. package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
  311. package/repositoryFile.d.ts +13 -14
  312. package/repositoryFile.d.ts.map +1 -1
  313. package/repositoryFile.js +10 -8
  314. package/repositoryFile.js.map +1 -1
  315. package/repositoryPages.d.ts +1 -3
  316. package/repositoryPages.d.ts.map +1 -1
  317. package/repositoryPages.js +1 -3
  318. package/repositoryPages.js.map +1 -1
  319. package/repositoryTopics.d.ts +1 -2
  320. package/repositoryTopics.d.ts.map +1 -1
  321. package/repositoryTopics.js +1 -2
  322. package/repositoryTopics.js.map +1 -1
  323. package/repositoryVulnerabilityAlerts.d.ts +1 -3
  324. package/repositoryVulnerabilityAlerts.d.ts.map +1 -1
  325. package/repositoryVulnerabilityAlerts.js +1 -3
  326. package/repositoryVulnerabilityAlerts.js.map +1 -1
  327. package/repositoryWebhook.d.ts +4 -6
  328. package/repositoryWebhook.d.ts.map +1 -1
  329. package/repositoryWebhook.js +2 -4
  330. package/repositoryWebhook.js.map +1 -1
  331. package/team.d.ts +9 -14
  332. package/team.d.ts.map +1 -1
  333. package/team.js +1 -2
  334. package/team.js.map +1 -1
  335. package/teamMembers.d.ts +32 -39
  336. package/teamMembers.d.ts.map +1 -1
  337. package/teamMembers.js +12 -32
  338. package/teamMembers.js.map +1 -1
  339. package/teamMembership.d.ts +4 -10
  340. package/teamMembership.d.ts.map +1 -1
  341. package/teamMembership.js +1 -4
  342. package/teamMembership.js.map +1 -1
  343. package/teamRepository.d.ts +8 -17
  344. package/teamRepository.d.ts.map +1 -1
  345. package/teamRepository.js +5 -11
  346. package/teamRepository.js.map +1 -1
  347. package/teamSettings.d.ts +6 -7
  348. package/teamSettings.d.ts.map +1 -1
  349. package/teamSettings.js +6 -7
  350. package/teamSettings.js.map +1 -1
  351. package/teamSyncGroupMapping.d.ts +5 -16
  352. package/teamSyncGroupMapping.d.ts.map +1 -1
  353. package/teamSyncGroupMapping.js +2 -4
  354. package/teamSyncGroupMapping.js.map +1 -1
  355. package/types/input.d.ts +23 -39
  356. package/types/input.d.ts.map +1 -1
  357. package/types/output.d.ts +26 -44
  358. package/types/output.d.ts.map +1 -1
  359. package/userGpgKey.d.ts +4 -8
  360. package/userGpgKey.d.ts.map +1 -1
  361. package/userGpgKey.js +1 -2
  362. package/userGpgKey.js.map +1 -1
  363. package/userInvitationAccepter.d.ts +2 -4
  364. package/userInvitationAccepter.d.ts.map +1 -1
  365. package/userInvitationAccepter.js +2 -4
  366. package/userInvitationAccepter.js.map +1 -1
  367. package/userSshKey.d.ts +1 -1
  368. package/userSshKey.js +1 -1
  369. package/workflowRepositoryPermissions.d.ts +1 -2
  370. package/workflowRepositoryPermissions.d.ts.map +1 -1
  371. package/workflowRepositoryPermissions.js +1 -2
  372. package/workflowRepositoryPermissions.js.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"repositoryCollaborator.js","sourceRoot":"","sources":["../repositoryCollaborator.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,4DAA4D,CAAC;IAEnG;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE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,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;SAChD;aAAM;YACH,MAAM,IAAI,GAAG,WAAqD,CAAC;YACnE,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AArFL,wDAsFC"}
@@ -2,28 +2,33 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * Provides a GitHub repository collaborators resource.
5
+ * Manage the complete set of collaborators (users and teams) for a GitHub repository.
6
6
  *
7
- * > Note: github.RepositoryCollaborators cannot be used in conjunction with github.RepositoryCollaborator and
8
- * github.TeamRepository or they will fight over what your policy should be.
7
+ * > This resource (`github.RepositoryCollaborators`) cannot be used in conjunction with `github.RepositoryCollaborator` or `github.TeamRepository` as they will conflict over the management of collaborators.
9
8
  *
10
- * This resource allows you to manage all collaborators for repositories in your
11
- * organization or personal account. For organization repositories, collaborators can
12
- * have explicit (and differing levels of) read, write, or administrator access to
13
- * specific repositories, without giving the user full organization membership.
14
- * For personal repositories, collaborators can only be granted write
15
- * (implicitly includes read) permission.
9
+ * This resource manages the complete set of collaborators for a repository, which includes both users and teams, in an authoritative manner. When applied, the provider will ensure that the set of collaborators for the repository matches the set defined in Terraform configuration. This means that if a collaborator is removed from the configuration, it will be removed from the repository, and if a collaborator is added to the configuration, it will be added to the repository.
16
10
  *
17
- * When applied, an invitation will be sent to the user to become a collaborators
18
- * on a repository. When destroyed, either the invitation will be cancelled or the
19
- * collaborators will be removed from the repository.
11
+ * > **Archived Repositories** When a repository is archived, GitHub makes it read-only, preventing collaborator modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
20
12
  *
21
- * > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing collaborator modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
13
+ * ## Organization Repositories
22
14
  *
23
- * This resource is authoritative. For adding a collaborator to a repo in a non-authoritative manner, use
24
- * github.RepositoryCollaborator instead.
15
+ * For repositories owned by an organization, collaborators can have explicit (and differing levels of) read, write, or administrator access to specific repositories, without giving the user full organization membership.
25
16
  *
26
- * Further documentation on GitHub collaborators:
17
+ * ### Teams
18
+ *
19
+ * Teams will be added to the repository on apply, and removed if removed from the configuration or on destroy. Teams added to the repository outside of Terraform can be managed by adding them to the configuration, or ignored by using the `ignoreTeam` argument. This is particularly important for organization/enterprise teams, which either need to be added to the configuration or ignored, as otherwise they will cause perpetual drift.
20
+ *
21
+ * ## Personal Repositories
22
+ *
23
+ * For personal repositories, non-owner collaborators can only be granted [write](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/repository-access-and-collaboration/permission-levels-for-a-personal-account-repository#collaborator-access-for-a-repository-owned-by-a-personal-account) permission. Owners will be ignored unless they are explicitly added, in which case they must be granted `admin` permission.
24
+ *
25
+ * ## Users
26
+ *
27
+ * When applied, an invitation will be sent to the user to become a collaborators on a repository. When destroyed, either the invitation will be cancelled or the collaborators will be removed from the repository.
28
+ *
29
+ * ## Documentation
30
+ *
31
+ * Further documentation on GitHub collaborators.
27
32
  *
28
33
  * - [Adding outside collaborators to your personal repositories](https://help.github.com/en/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories)
29
34
  * - [Adding outside collaborators to repositories in your organization](https://help.github.com/articles/adding-outside-collaborators-to-repositories-in-your-organization/)
@@ -53,6 +58,14 @@ import * as outputs from "./types/output";
53
58
  * }],
54
59
  * });
55
60
  * ```
61
+ *
62
+ * ## Import
63
+ *
64
+ * The `pulumi import` command can be used, for example:
65
+ *
66
+ * ```sh
67
+ * $ pulumi import github:index/repositoryCollaborators:RepositoryCollaborators collaborators example-repo
68
+ * ```
56
69
  */
57
70
  export declare class RepositoryCollaborators extends pulumi.CustomResource {
58
71
  /**
@@ -71,18 +84,21 @@ export declare class RepositoryCollaborators extends pulumi.CustomResource {
71
84
  */
72
85
  static isInstance(obj: any): obj is RepositoryCollaborators;
73
86
  /**
74
- * List of teams to ignore when checking for repository access. This supports ignoring teams granted access at an organizational level.
87
+ * Teams to ignore when managing repository collaborators.
75
88
  */
76
89
  readonly ignoreTeams: pulumi.Output<outputs.RepositoryCollaboratorsIgnoreTeam[] | undefined>;
77
90
  /**
78
- * Map of usernames to invitation ID for any users added as part of creation of this resource to
79
- * be used in `github.UserInvitationAccepter`.
91
+ * Map of usernames to invitation ID for users that haven't yet accepted their invitation to become a collaborator. This is only set on read, and is used internally to track pending invitations for users that aren't yet collaborators.
80
92
  */
81
93
  readonly invitationIds: pulumi.Output<{
82
94
  [key: string]: string;
83
95
  }>;
84
96
  /**
85
- * The GitHub repository.
97
+ * Indicates whether the owner of a personal repository is configured as a collaborator.
98
+ */
99
+ readonly ownerConfigured: pulumi.Output<boolean>;
100
+ /**
101
+ * Name of the repository.
86
102
  */
87
103
  readonly repository: pulumi.Output<string>;
88
104
  /**
@@ -90,11 +106,11 @@ export declare class RepositoryCollaborators extends pulumi.CustomResource {
90
106
  */
91
107
  readonly repositoryId: pulumi.Output<number>;
92
108
  /**
93
- * List of teams to grant access to the repository.
109
+ * Teams to grant access to the repository.
94
110
  */
95
111
  readonly teams: pulumi.Output<outputs.RepositoryCollaboratorsTeam[] | undefined>;
96
112
  /**
97
- * List of users to grant access to the repository.
113
+ * Users to grant access to the repository.
98
114
  */
99
115
  readonly users: pulumi.Output<outputs.RepositoryCollaboratorsUser[] | undefined>;
100
116
  /**
@@ -111,18 +127,21 @@ export declare class RepositoryCollaborators extends pulumi.CustomResource {
111
127
  */
112
128
  export interface RepositoryCollaboratorsState {
113
129
  /**
114
- * List of teams to ignore when checking for repository access. This supports ignoring teams granted access at an organizational level.
130
+ * Teams to ignore when managing repository collaborators.
115
131
  */
116
132
  ignoreTeams?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsIgnoreTeam>[] | undefined>;
117
133
  /**
118
- * Map of usernames to invitation ID for any users added as part of creation of this resource to
119
- * be used in `github.UserInvitationAccepter`.
134
+ * Map of usernames to invitation ID for users that haven't yet accepted their invitation to become a collaborator. This is only set on read, and is used internally to track pending invitations for users that aren't yet collaborators.
120
135
  */
121
136
  invitationIds?: pulumi.Input<{
122
137
  [key: string]: pulumi.Input<string>;
123
138
  } | undefined>;
124
139
  /**
125
- * The GitHub repository.
140
+ * Indicates whether the owner of a personal repository is configured as a collaborator.
141
+ */
142
+ ownerConfigured?: pulumi.Input<boolean | undefined>;
143
+ /**
144
+ * Name of the repository.
126
145
  */
127
146
  repository?: pulumi.Input<string | undefined>;
128
147
  /**
@@ -130,11 +149,11 @@ export interface RepositoryCollaboratorsState {
130
149
  */
131
150
  repositoryId?: pulumi.Input<number | undefined>;
132
151
  /**
133
- * List of teams to grant access to the repository.
152
+ * Teams to grant access to the repository.
134
153
  */
135
154
  teams?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsTeam>[] | undefined>;
136
155
  /**
137
- * List of users to grant access to the repository.
156
+ * Users to grant access to the repository.
138
157
  */
139
158
  users?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsUser>[] | undefined>;
140
159
  }
@@ -143,19 +162,19 @@ export interface RepositoryCollaboratorsState {
143
162
  */
144
163
  export interface RepositoryCollaboratorsArgs {
145
164
  /**
146
- * List of teams to ignore when checking for repository access. This supports ignoring teams granted access at an organizational level.
165
+ * Teams to ignore when managing repository collaborators.
147
166
  */
148
167
  ignoreTeams?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsIgnoreTeam>[] | undefined>;
149
168
  /**
150
- * The GitHub repository.
169
+ * Name of the repository.
151
170
  */
152
171
  repository: pulumi.Input<string>;
153
172
  /**
154
- * List of teams to grant access to the repository.
173
+ * Teams to grant access to the repository.
155
174
  */
156
175
  teams?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsTeam>[] | undefined>;
157
176
  /**
158
- * List of users to grant access to the repository.
177
+ * Users to grant access to the repository.
159
178
  */
160
179
  users?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsUser>[] | undefined>;
161
180
  }
@@ -1 +1 @@
1
- {"version":3,"file":"repositoryCollaborators.d.ts","sourceRoot":"","sources":["../repositoryCollaborators.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,qBAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;O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CAAC;IACjG;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,2BAA2B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACrF;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,2BAA2B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACxF"}
@@ -29,28 +29,33 @@ exports.RepositoryCollaborators = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("./utilities"));
31
31
  /**
32
- * Provides a GitHub repository collaborators resource.
32
+ * Manage the complete set of collaborators (users and teams) for a GitHub repository.
33
33
  *
34
- * > Note: github.RepositoryCollaborators cannot be used in conjunction with github.RepositoryCollaborator and
35
- * github.TeamRepository or they will fight over what your policy should be.
34
+ * > This resource (`github.RepositoryCollaborators`) cannot be used in conjunction with `github.RepositoryCollaborator` or `github.TeamRepository` as they will conflict over the management of collaborators.
36
35
  *
37
- * This resource allows you to manage all collaborators for repositories in your
38
- * organization or personal account. For organization repositories, collaborators can
39
- * have explicit (and differing levels of) read, write, or administrator access to
40
- * specific repositories, without giving the user full organization membership.
41
- * For personal repositories, collaborators can only be granted write
42
- * (implicitly includes read) permission.
36
+ * This resource manages the complete set of collaborators for a repository, which includes both users and teams, in an authoritative manner. When applied, the provider will ensure that the set of collaborators for the repository matches the set defined in Terraform configuration. This means that if a collaborator is removed from the configuration, it will be removed from the repository, and if a collaborator is added to the configuration, it will be added to the repository.
43
37
  *
44
- * When applied, an invitation will be sent to the user to become a collaborators
45
- * on a repository. When destroyed, either the invitation will be cancelled or the
46
- * collaborators will be removed from the repository.
38
+ * > **Archived Repositories** When a repository is archived, GitHub makes it read-only, preventing collaborator modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
47
39
  *
48
- * > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing collaborator modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
40
+ * ## Organization Repositories
49
41
  *
50
- * This resource is authoritative. For adding a collaborator to a repo in a non-authoritative manner, use
51
- * github.RepositoryCollaborator instead.
42
+ * For repositories owned by an organization, collaborators can have explicit (and differing levels of) read, write, or administrator access to specific repositories, without giving the user full organization membership.
52
43
  *
53
- * Further documentation on GitHub collaborators:
44
+ * ### Teams
45
+ *
46
+ * Teams will be added to the repository on apply, and removed if removed from the configuration or on destroy. Teams added to the repository outside of Terraform can be managed by adding them to the configuration, or ignored by using the `ignoreTeam` argument. This is particularly important for organization/enterprise teams, which either need to be added to the configuration or ignored, as otherwise they will cause perpetual drift.
47
+ *
48
+ * ## Personal Repositories
49
+ *
50
+ * For personal repositories, non-owner collaborators can only be granted [write](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/repository-access-and-collaboration/permission-levels-for-a-personal-account-repository#collaborator-access-for-a-repository-owned-by-a-personal-account) permission. Owners will be ignored unless they are explicitly added, in which case they must be granted `admin` permission.
51
+ *
52
+ * ## Users
53
+ *
54
+ * When applied, an invitation will be sent to the user to become a collaborators on a repository. When destroyed, either the invitation will be cancelled or the collaborators will be removed from the repository.
55
+ *
56
+ * ## Documentation
57
+ *
58
+ * Further documentation on GitHub collaborators.
54
59
  *
55
60
  * - [Adding outside collaborators to your personal repositories](https://help.github.com/en/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories)
56
61
  * - [Adding outside collaborators to repositories in your organization](https://help.github.com/articles/adding-outside-collaborators-to-repositories-in-your-organization/)
@@ -80,6 +85,14 @@ const utilities = __importStar(require("./utilities"));
80
85
  * }],
81
86
  * });
82
87
  * ```
88
+ *
89
+ * ## Import
90
+ *
91
+ * The `pulumi import` command can be used, for example:
92
+ *
93
+ * ```sh
94
+ * $ pulumi import github:index/repositoryCollaborators:RepositoryCollaborators collaborators example-repo
95
+ * ```
83
96
  */
84
97
  class RepositoryCollaborators extends pulumi.CustomResource {
85
98
  /**
@@ -113,6 +126,7 @@ class RepositoryCollaborators extends pulumi.CustomResource {
113
126
  const state = argsOrState;
114
127
  resourceInputs["ignoreTeams"] = state?.ignoreTeams;
115
128
  resourceInputs["invitationIds"] = state?.invitationIds;
129
+ resourceInputs["ownerConfigured"] = state?.ownerConfigured;
116
130
  resourceInputs["repository"] = state?.repository;
117
131
  resourceInputs["repositoryId"] = state?.repositoryId;
118
132
  resourceInputs["teams"] = state?.teams;
@@ -128,6 +142,7 @@ class RepositoryCollaborators extends pulumi.CustomResource {
128
142
  resourceInputs["teams"] = args?.teams;
129
143
  resourceInputs["users"] = args?.users;
130
144
  resourceInputs["invitationIds"] = undefined /*out*/;
145
+ resourceInputs["ownerConfigured"] = undefined /*out*/;
131
146
  resourceInputs["repositoryId"] = undefined /*out*/;
132
147
  }
133
148
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"repositoryCollaborators.js","sourceRoot":"","sources":["../repositoryCollaborators.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CA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C,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA5FL,0DA6FC"}
@@ -1,22 +1,22 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * This resource allows you to create and manage a specific custom property for a GitHub repository.
3
+ * Resource to manage GitHub repository custom properties.
4
+ * For more information, see the [GitHub API documentation](https://docs.github.com/rest/metadata/custom-properties#create-or-update-repository-custom-property).
4
5
  *
5
6
  * ## Example Usage
6
7
  *
7
- * > Note that this assumes there already is a custom property defined on the org level called `my-cool-property` of type `string`
8
- *
9
8
  * ```typescript
10
9
  * import * as pulumi from "@pulumi/pulumi";
11
10
  * import * as github from "@pulumi/github";
12
11
  *
12
+ * // NOTE: This assumes there already is a custom property defined on the org level called `my-cool-string` of type `string`
13
13
  * const example = new github.Repository("example", {
14
14
  * name: "example",
15
15
  * description: "My awesome codebase",
16
16
  * });
17
- * const string = new github.RepositoryCustomProperty("string", {
17
+ * const exampleRepositoryCustomProperty = new github.RepositoryCustomProperty("example", {
18
18
  * repository: example.name,
19
- * propertyName: "my-cool-property",
19
+ * propertyName: "my-cool-string",
20
20
  * propertyType: "string",
21
21
  * propertyValues: ["test"],
22
22
  * });
@@ -24,7 +24,7 @@ import * as pulumi from "@pulumi/pulumi";
24
24
  *
25
25
  * ## Import
26
26
  *
27
- * GitHub Repository Custom Property can be imported using an ID made up of a combination of the names of the organization, repository, custom property separated by a `:` character, e.g.
27
+ * The `pulumi import` command can be used, for example:
28
28
  *
29
29
  * ```sh
30
30
  * $ pulumi import github:index/repositoryCustomProperty:RepositoryCustomProperty example organization-name:repo-name:custom-property-name
@@ -47,21 +47,25 @@ export declare class RepositoryCustomProperty extends pulumi.CustomResource {
47
47
  */
48
48
  static isInstance(obj: any): obj is RepositoryCustomProperty;
49
49
  /**
50
- * Name of the custom property. Note that a pre-requisiste for this resource is that a custom property of this name has already been defined on the organization level
50
+ * Name of the custom property.
51
51
  */
52
52
  readonly propertyName: pulumi.Output<string>;
53
53
  /**
54
- * Type of the custom property. Can be one of `singleSelect`, `multiSelect`, `string`, or `trueFalse`
54
+ * Type of the custom property. Valid values are `string`, `singleSelect`, `multiSelect`, `trueFalse`, and `url`.
55
55
  */
56
56
  readonly propertyType: pulumi.Output<string>;
57
57
  /**
58
- * Value of the custom property in the form of an array. Properties of type `singleSelect`, `string`, and `trueFalse` are represented as a string array of length 1
58
+ * Value of the custom property. For `string`, `singleSelect`, `trueFalse`, and `url` property types, this should be a single value. For `multiSelect` property types, this can be multiple values.
59
59
  */
60
60
  readonly propertyValues: pulumi.Output<string[]>;
61
61
  /**
62
- * The repository of the environment.
62
+ * Name of the repository.
63
63
  */
64
64
  readonly repository: pulumi.Output<string>;
65
+ /**
66
+ * ID of the repository.
67
+ */
68
+ readonly repositoryId: pulumi.Output<number>;
65
69
  /**
66
70
  * Create a RepositoryCustomProperty resource with the given unique name, arguments, and options.
67
71
  *
@@ -76,40 +80,44 @@ export declare class RepositoryCustomProperty extends pulumi.CustomResource {
76
80
  */
77
81
  export interface RepositoryCustomPropertyState {
78
82
  /**
79
- * Name of the custom property. Note that a pre-requisiste for this resource is that a custom property of this name has already been defined on the organization level
83
+ * Name of the custom property.
80
84
  */
81
85
  propertyName?: pulumi.Input<string | undefined>;
82
86
  /**
83
- * Type of the custom property. Can be one of `singleSelect`, `multiSelect`, `string`, or `trueFalse`
87
+ * Type of the custom property. Valid values are `string`, `singleSelect`, `multiSelect`, `trueFalse`, and `url`.
84
88
  */
85
89
  propertyType?: pulumi.Input<string | undefined>;
86
90
  /**
87
- * Value of the custom property in the form of an array. Properties of type `singleSelect`, `string`, and `trueFalse` are represented as a string array of length 1
91
+ * Value of the custom property. For `string`, `singleSelect`, `trueFalse`, and `url` property types, this should be a single value. For `multiSelect` property types, this can be multiple values.
88
92
  */
89
93
  propertyValues?: pulumi.Input<pulumi.Input<string>[] | undefined>;
90
94
  /**
91
- * The repository of the environment.
95
+ * Name of the repository.
92
96
  */
93
97
  repository?: pulumi.Input<string | undefined>;
98
+ /**
99
+ * ID of the repository.
100
+ */
101
+ repositoryId?: pulumi.Input<number | undefined>;
94
102
  }
95
103
  /**
96
104
  * The set of arguments for constructing a RepositoryCustomProperty resource.
97
105
  */
98
106
  export interface RepositoryCustomPropertyArgs {
99
107
  /**
100
- * Name of the custom property. Note that a pre-requisiste for this resource is that a custom property of this name has already been defined on the organization level
108
+ * Name of the custom property.
101
109
  */
102
110
  propertyName: pulumi.Input<string>;
103
111
  /**
104
- * Type of the custom property. Can be one of `singleSelect`, `multiSelect`, `string`, or `trueFalse`
112
+ * Type of the custom property. Valid values are `string`, `singleSelect`, `multiSelect`, `trueFalse`, and `url`.
105
113
  */
106
114
  propertyType: pulumi.Input<string>;
107
115
  /**
108
- * Value of the custom property in the form of an array. Properties of type `singleSelect`, `string`, and `trueFalse` are represented as a string array of length 1
116
+ * Value of the custom property. For `string`, `singleSelect`, `trueFalse`, and `url` property types, this should be a single value. For `multiSelect` property types, this can be multiple values.
109
117
  */
110
118
  propertyValues: pulumi.Input<pulumi.Input<string>[]>;
111
119
  /**
112
- * The repository of the environment.
120
+ * Name of the repository.
113
121
  */
114
122
  repository: pulumi.Input<string>;
115
123
  }
@@ -1 +1 @@
1
- {"version":3,"file":"repositoryCustomProperty.d.ts","sourceRoot":"","sources":["../repositoryCustomProperty.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,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AACH,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAClE;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnD;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACrD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
@@ -29,23 +29,23 @@ exports.RepositoryCustomProperty = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("./utilities"));
31
31
  /**
32
- * This resource allows you to create and manage a specific custom property for a GitHub repository.
32
+ * Resource to manage GitHub repository custom properties.
33
+ * For more information, see the [GitHub API documentation](https://docs.github.com/rest/metadata/custom-properties#create-or-update-repository-custom-property).
33
34
  *
34
35
  * ## Example Usage
35
36
  *
36
- * > Note that this assumes there already is a custom property defined on the org level called `my-cool-property` of type `string`
37
- *
38
37
  * ```typescript
39
38
  * import * as pulumi from "@pulumi/pulumi";
40
39
  * import * as github from "@pulumi/github";
41
40
  *
41
+ * // NOTE: This assumes there already is a custom property defined on the org level called `my-cool-string` of type `string`
42
42
  * const example = new github.Repository("example", {
43
43
  * name: "example",
44
44
  * description: "My awesome codebase",
45
45
  * });
46
- * const string = new github.RepositoryCustomProperty("string", {
46
+ * const exampleRepositoryCustomProperty = new github.RepositoryCustomProperty("example", {
47
47
  * repository: example.name,
48
- * propertyName: "my-cool-property",
48
+ * propertyName: "my-cool-string",
49
49
  * propertyType: "string",
50
50
  * propertyValues: ["test"],
51
51
  * });
@@ -53,7 +53,7 @@ const utilities = __importStar(require("./utilities"));
53
53
  *
54
54
  * ## Import
55
55
  *
56
- * GitHub Repository Custom Property can be imported using an ID made up of a combination of the names of the organization, repository, custom property separated by a `:` character, e.g.
56
+ * The `pulumi import` command can be used, for example:
57
57
  *
58
58
  * ```sh
59
59
  * $ pulumi import github:index/repositoryCustomProperty:RepositoryCustomProperty example organization-name:repo-name:custom-property-name
@@ -93,6 +93,7 @@ class RepositoryCustomProperty extends pulumi.CustomResource {
93
93
  resourceInputs["propertyType"] = state?.propertyType;
94
94
  resourceInputs["propertyValues"] = state?.propertyValues;
95
95
  resourceInputs["repository"] = state?.repository;
96
+ resourceInputs["repositoryId"] = state?.repositoryId;
96
97
  }
97
98
  else {
98
99
  const args = argsOrState;
@@ -112,6 +113,7 @@ class RepositoryCustomProperty extends pulumi.CustomResource {
112
113
  resourceInputs["propertyType"] = args?.propertyType;
113
114
  resourceInputs["propertyValues"] = args?.propertyValues;
114
115
  resourceInputs["repository"] = args?.repository;
116
+ resourceInputs["repositoryId"] = undefined /*out*/;
115
117
  }
116
118
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
117
119
  super(RepositoryCustomProperty.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"repositoryCustomProperty.js","sourceRoot":"","sources":["../repositoryCustomPro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AAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,cAAc,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AAzFL,4DA0FC"}
@@ -1,8 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * This resource allows you to manage dependabot automated security fixes for a single repository. See the
4
- * [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates)
5
- * for details of usage and how this will impact your repository
3
+ * This resource allows you to manage dependabot automated security fixes for a single repository. See the [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates) for details of usage and how this will impact your repository
6
4
  *
7
5
  * ## Example Usage
8
6
  *
@@ -1 +1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@ -29,9 +29,7 @@ exports.RepositoryDependabotSecurityUpdates = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("./utilities"));
31
31
  /**
32
- * This resource allows you to manage dependabot automated security fixes for a single repository. See the
33
- * [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates)
34
- * for details of usage and how this will impact your repository
32
+ * This resource allows you to manage dependabot automated security fixes for a single repository. See the [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates) for details of usage and how this will impact your repository
35
33
  *
36
34
  * ## Example Usage
37
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"repositoryDependabotSecurityUpdates.js","sourceRoot":"","sources":["../repositoryDependabotSecurityUpdates.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgD,EAAE,IAAmC;QAC9I,OAAO,IAAI,mCAAmC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,sFAAsF,CAAC;IAE7H;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mCAAmC,CAAC,YAAY,CAAC;IACpF,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAgG,EAA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AG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;;AAjEL,kFAkEC"}
@@ -2,15 +2,14 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Provides a GitHub repository deploy key resource.
4
4
  *
5
- * A deploy key is an SSH key that is stored on your server and grants
6
- * access to a single GitHub repository. This key is attached directly to the repository instead of to a personal user
7
- * account.
5
+ * A deploy key is an SSH key that is stored on your server and grants access to a single GitHub repository. This key is attached directly to the repository instead of to a personal user account.
8
6
  *
9
7
  * This resource allows you to add/remove repository deploy keys.
10
8
  *
11
9
  * > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing deploy key modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
12
10
  *
13
11
  * Further documentation on GitHub repository deploy keys:
12
+ *
14
13
  * - [About deploy keys](https://developer.github.com/guides/managing-deploy-keys/#deploy-keys)
15
14
  *
16
15
  * ## Example Usage
@@ -33,8 +32,7 @@ import * as pulumi from "@pulumi/pulumi";
33
32
  *
34
33
  * ## Import
35
34
  *
36
- * Repository deploy keys can be imported using a colon-separated pair of repository name
37
- * and GitHub's key id. The latter can be obtained by GitHub's SDKs and API.
35
+ * Repository deploy keys can be imported using a colon-separated pair of repository name and GitHub's key id. The latter can be obtained by GitHub's SDKs and API.
38
36
  *
39
37
  * ```sh
40
38
  * $ pulumi import github:index/repositoryDeployKey:RepositoryDeployKey foo test-repo:23824728
@@ -1 +1 @@
1
- {"version":3,"file":"repositoryDeployKey.d.ts","sourceRoot":"","sources":["../repositoryDeployKey.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,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 +31,14 @@ const utilities = __importStar(require("./utilities"));
31
31
  /**
32
32
  * Provides a GitHub repository deploy key resource.
33
33
  *
34
- * A deploy key is an SSH key that is stored on your server and grants
35
- * access to a single GitHub repository. This key is attached directly to the repository instead of to a personal user
36
- * account.
34
+ * A deploy key is an SSH key that is stored on your server and grants access to a single GitHub repository. This key is attached directly to the repository instead of to a personal user account.
37
35
  *
38
36
  * This resource allows you to add/remove repository deploy keys.
39
37
  *
40
38
  * > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing deploy key modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
41
39
  *
42
40
  * Further documentation on GitHub repository deploy keys:
41
+ *
43
42
  * - [About deploy keys](https://developer.github.com/guides/managing-deploy-keys/#deploy-keys)
44
43
  *
45
44
  * ## Example Usage
@@ -62,8 +61,7 @@ const utilities = __importStar(require("./utilities"));
62
61
  *
63
62
  * ## Import
64
63
  *
65
- * Repository deploy keys can be imported using a colon-separated pair of repository name
66
- * and GitHub's key id. The latter can be obtained by GitHub's SDKs and API.
64
+ * Repository deploy keys can be imported using a colon-separated pair of repository name and GitHub's key id. The latter can be obtained by GitHub's SDKs and API.
67
65
  *
68
66
  * ```sh
69
67
  * $ pulumi import github:index/repositoryDeployKey:RepositoryDeployKey foo test-repo:23824728
@@ -1 +1 @@
1
- {"version":3,"file":"repositoryDeployKey.js","sourceRoot":"","sources":["../repositoryDeployKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC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