@pulumi/github 6.3.0-alpha.1713332421 → 6.3.0-alpha.1713897837

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 (381) hide show
  1. package/actionsEnvironmentSecret.d.ts +0 -43
  2. package/actionsEnvironmentSecret.js +0 -43
  3. package/actionsEnvironmentSecret.js.map +1 -1
  4. package/actionsEnvironmentVariable.d.ts +4 -8
  5. package/actionsEnvironmentVariable.js +4 -8
  6. package/actionsEnvironmentVariable.js.map +1 -1
  7. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +1 -3
  8. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +1 -3
  9. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  10. package/actionsOrganizationPermissions.d.ts +1 -3
  11. package/actionsOrganizationPermissions.js +1 -3
  12. package/actionsOrganizationPermissions.js.map +1 -1
  13. package/actionsOrganizationSecret.d.ts +0 -41
  14. package/actionsOrganizationSecret.js +0 -41
  15. package/actionsOrganizationSecret.js.map +1 -1
  16. package/actionsOrganizationSecretRepositories.d.ts +1 -3
  17. package/actionsOrganizationSecretRepositories.js +1 -3
  18. package/actionsOrganizationSecretRepositories.js.map +1 -1
  19. package/actionsOrganizationVariable.d.ts +3 -7
  20. package/actionsOrganizationVariable.js +3 -7
  21. package/actionsOrganizationVariable.js.map +1 -1
  22. package/actionsRepositoryAccessLevel.d.ts +4 -3
  23. package/actionsRepositoryAccessLevel.js +4 -3
  24. package/actionsRepositoryAccessLevel.js.map +1 -1
  25. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +2 -4
  26. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +2 -4
  27. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  28. package/actionsRepositoryPermissions.d.ts +1 -3
  29. package/actionsRepositoryPermissions.js +1 -3
  30. package/actionsRepositoryPermissions.js.map +1 -1
  31. package/actionsRunnerGroup.d.ts +4 -5
  32. package/actionsRunnerGroup.js +4 -5
  33. package/actionsRunnerGroup.js.map +1 -1
  34. package/actionsSecret.d.ts +0 -21
  35. package/actionsSecret.js +0 -21
  36. package/actionsSecret.js.map +1 -1
  37. package/actionsVariable.d.ts +2 -4
  38. package/actionsVariable.js +2 -4
  39. package/actionsVariable.js.map +1 -1
  40. package/appInstallationRepository.d.ts +2 -4
  41. package/appInstallationRepository.js +2 -4
  42. package/appInstallationRepository.js.map +1 -1
  43. package/branch.d.ts +1 -3
  44. package/branch.js +1 -3
  45. package/branch.js.map +1 -1
  46. package/branchDefault.d.ts +2 -4
  47. package/branchDefault.js +2 -4
  48. package/branchDefault.js.map +1 -1
  49. package/branchProtection.d.ts +8 -10
  50. package/branchProtection.js +8 -10
  51. package/branchProtection.js.map +1 -1
  52. package/branchProtectionV3.d.ts +1 -3
  53. package/branchProtectionV3.js +1 -3
  54. package/branchProtectionV3.js.map +1 -1
  55. package/codespacesOrganizationSecret.d.ts +0 -41
  56. package/codespacesOrganizationSecret.js +0 -41
  57. package/codespacesOrganizationSecret.js.map +1 -1
  58. package/codespacesOrganizationSecretRepositories.d.ts +1 -3
  59. package/codespacesOrganizationSecretRepositories.js +1 -3
  60. package/codespacesOrganizationSecretRepositories.js.map +1 -1
  61. package/codespacesSecret.d.ts +0 -21
  62. package/codespacesSecret.js +0 -21
  63. package/codespacesSecret.js.map +1 -1
  64. package/codespacesUserSecret.d.ts +0 -21
  65. package/codespacesUserSecret.js +0 -21
  66. package/codespacesUserSecret.js.map +1 -1
  67. package/dependabotOrganizationSecret.d.ts +0 -41
  68. package/dependabotOrganizationSecret.js +0 -41
  69. package/dependabotOrganizationSecret.js.map +1 -1
  70. package/dependabotOrganizationSecretRepositories.d.ts +3 -5
  71. package/dependabotOrganizationSecretRepositories.js +3 -5
  72. package/dependabotOrganizationSecretRepositories.js.map +1 -1
  73. package/dependabotSecret.d.ts +0 -21
  74. package/dependabotSecret.js +0 -21
  75. package/dependabotSecret.js.map +1 -1
  76. package/emuGroupMapping.d.ts +2 -5
  77. package/emuGroupMapping.js +2 -5
  78. package/emuGroupMapping.js.map +1 -1
  79. package/enterpriseActionsPermissions.d.ts +0 -2
  80. package/enterpriseActionsPermissions.js +0 -2
  81. package/enterpriseActionsPermissions.js.map +1 -1
  82. package/enterpriseActionsRunnerGroup.d.ts +3 -3
  83. package/enterpriseActionsRunnerGroup.js +3 -3
  84. package/enterpriseOrganization.d.ts +2 -3
  85. package/enterpriseOrganization.js +2 -3
  86. package/enterpriseOrganization.js.map +1 -1
  87. package/getActionsEnvironmentSecrets.d.ts +2 -6
  88. package/getActionsEnvironmentSecrets.js +2 -6
  89. package/getActionsEnvironmentSecrets.js.map +1 -1
  90. package/getActionsEnvironmentVariables.d.ts +2 -6
  91. package/getActionsEnvironmentVariables.js +2 -6
  92. package/getActionsEnvironmentVariables.js.map +1 -1
  93. package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +0 -4
  94. package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js +0 -4
  95. package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  96. package/getActionsOrganizationPublicKey.d.ts +0 -4
  97. package/getActionsOrganizationPublicKey.js +0 -4
  98. package/getActionsOrganizationPublicKey.js.map +1 -1
  99. package/getActionsOrganizationRegistrationToken.d.ts +0 -4
  100. package/getActionsOrganizationRegistrationToken.js +0 -4
  101. package/getActionsOrganizationRegistrationToken.js.map +1 -1
  102. package/getActionsOrganizationSecrets.d.ts +0 -4
  103. package/getActionsOrganizationSecrets.js +0 -4
  104. package/getActionsOrganizationSecrets.js.map +1 -1
  105. package/getActionsOrganizationVariables.d.ts +0 -4
  106. package/getActionsOrganizationVariables.js +0 -4
  107. package/getActionsOrganizationVariables.js.map +1 -1
  108. package/getActionsPublicKey.d.ts +0 -4
  109. package/getActionsPublicKey.js +0 -4
  110. package/getActionsPublicKey.js.map +1 -1
  111. package/getActionsRegistrationToken.d.ts +0 -4
  112. package/getActionsRegistrationToken.js +0 -4
  113. package/getActionsRegistrationToken.js.map +1 -1
  114. package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +0 -4
  115. package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js +0 -4
  116. package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  117. package/getActionsSecrets.d.ts +0 -4
  118. package/getActionsSecrets.js +0 -4
  119. package/getActionsSecrets.js.map +1 -1
  120. package/getActionsVariables.d.ts +0 -4
  121. package/getActionsVariables.js +0 -4
  122. package/getActionsVariables.js.map +1 -1
  123. package/getAppToken.d.ts +12 -12
  124. package/getAppToken.js +12 -12
  125. package/getBranch.d.ts +2 -6
  126. package/getBranch.js +2 -6
  127. package/getBranch.js.map +1 -1
  128. package/getBranchProtectionRules.d.ts +0 -4
  129. package/getBranchProtectionRules.js +0 -4
  130. package/getBranchProtectionRules.js.map +1 -1
  131. package/getCodespacesOrganizationPublicKey.d.ts +0 -4
  132. package/getCodespacesOrganizationPublicKey.js +0 -4
  133. package/getCodespacesOrganizationPublicKey.js.map +1 -1
  134. package/getCodespacesOrganizationSecrets.d.ts +0 -4
  135. package/getCodespacesOrganizationSecrets.js +0 -4
  136. package/getCodespacesOrganizationSecrets.js.map +1 -1
  137. package/getCodespacesPublicKey.d.ts +0 -4
  138. package/getCodespacesPublicKey.js +0 -4
  139. package/getCodespacesPublicKey.js.map +1 -1
  140. package/getCodespacesSecrets.d.ts +0 -4
  141. package/getCodespacesSecrets.js +0 -4
  142. package/getCodespacesSecrets.js.map +1 -1
  143. package/getCodespacesUserPublicKey.d.ts +0 -4
  144. package/getCodespacesUserPublicKey.js +0 -4
  145. package/getCodespacesUserPublicKey.js.map +1 -1
  146. package/getCodespacesUserSecrets.d.ts +0 -4
  147. package/getCodespacesUserSecrets.js +0 -4
  148. package/getCodespacesUserSecrets.js.map +1 -1
  149. package/getCollaborators.d.ts +0 -4
  150. package/getCollaborators.js +0 -4
  151. package/getCollaborators.js.map +1 -1
  152. package/getDependabotOrganizationPublicKey.d.ts +0 -4
  153. package/getDependabotOrganizationPublicKey.js +0 -4
  154. package/getDependabotOrganizationPublicKey.js.map +1 -1
  155. package/getDependabotOrganizationSecrets.d.ts +0 -4
  156. package/getDependabotOrganizationSecrets.js +0 -4
  157. package/getDependabotOrganizationSecrets.js.map +1 -1
  158. package/getDependabotPublicKey.d.ts +0 -4
  159. package/getDependabotPublicKey.js +0 -4
  160. package/getDependabotPublicKey.js.map +1 -1
  161. package/getDependabotSecrets.d.ts +0 -4
  162. package/getDependabotSecrets.js +0 -4
  163. package/getDependabotSecrets.js.map +1 -1
  164. package/getEnterprise.d.ts +0 -4
  165. package/getEnterprise.js +0 -4
  166. package/getEnterprise.js.map +1 -1
  167. package/getExternalGroups.d.ts +0 -4
  168. package/getExternalGroups.js +0 -4
  169. package/getExternalGroups.js.map +1 -1
  170. package/getGithubApp.d.ts +0 -4
  171. package/getGithubApp.js +0 -4
  172. package/getGithubApp.js.map +1 -1
  173. package/getIpRanges.d.ts +0 -4
  174. package/getIpRanges.js +0 -4
  175. package/getIpRanges.js.map +1 -1
  176. package/getMembership.d.ts +0 -4
  177. package/getMembership.js +0 -4
  178. package/getMembership.js.map +1 -1
  179. package/getOrganization.d.ts +0 -4
  180. package/getOrganization.js +0 -4
  181. package/getOrganization.js.map +1 -1
  182. package/getOrganizationCustomRole.d.ts +0 -4
  183. package/getOrganizationCustomRole.js +0 -4
  184. package/getOrganizationCustomRole.js.map +1 -1
  185. package/getOrganizationExternalIdentities.d.ts +0 -4
  186. package/getOrganizationExternalIdentities.js +0 -4
  187. package/getOrganizationExternalIdentities.js.map +1 -1
  188. package/getOrganizationIpAllowList.d.ts +0 -4
  189. package/getOrganizationIpAllowList.js +0 -4
  190. package/getOrganizationIpAllowList.js.map +1 -1
  191. package/getOrganizationTeamSyncGroups.d.ts +0 -4
  192. package/getOrganizationTeamSyncGroups.js +0 -4
  193. package/getOrganizationTeamSyncGroups.js.map +1 -1
  194. package/getOrganizationTeams.d.ts +0 -8
  195. package/getOrganizationTeams.js +0 -8
  196. package/getOrganizationTeams.js.map +1 -1
  197. package/getOrganizationWebhooks.d.ts +0 -4
  198. package/getOrganizationWebhooks.js +0 -4
  199. package/getOrganizationWebhooks.js.map +1 -1
  200. package/getRef.d.ts +2 -6
  201. package/getRef.js +2 -6
  202. package/getRef.js.map +1 -1
  203. package/getRelease.d.ts +2 -6
  204. package/getRelease.js +2 -6
  205. package/getRelease.js.map +1 -1
  206. package/getRepositories.d.ts +2 -6
  207. package/getRepositories.js +2 -6
  208. package/getRepositories.js.map +1 -1
  209. package/getRepository.d.ts +0 -4
  210. package/getRepository.js +0 -4
  211. package/getRepository.js.map +1 -1
  212. package/getRepositoryAutolinkReferences.d.ts +0 -4
  213. package/getRepositoryAutolinkReferences.js +0 -4
  214. package/getRepositoryAutolinkReferences.js.map +1 -1
  215. package/getRepositoryBranches.d.ts +0 -4
  216. package/getRepositoryBranches.js +0 -4
  217. package/getRepositoryBranches.js.map +1 -1
  218. package/getRepositoryDeployKeys.d.ts +0 -4
  219. package/getRepositoryDeployKeys.js +0 -4
  220. package/getRepositoryDeployKeys.js.map +1 -1
  221. package/getRepositoryDeploymentBranchPolicies.d.ts +2 -6
  222. package/getRepositoryDeploymentBranchPolicies.js +2 -6
  223. package/getRepositoryDeploymentBranchPolicies.js.map +1 -1
  224. package/getRepositoryEnvironments.d.ts +0 -4
  225. package/getRepositoryEnvironments.js +0 -4
  226. package/getRepositoryEnvironments.js.map +1 -1
  227. package/getRepositoryFile.d.ts +2 -6
  228. package/getRepositoryFile.js +2 -6
  229. package/getRepositoryFile.js.map +1 -1
  230. package/getRepositoryMilestone.d.ts +2 -6
  231. package/getRepositoryMilestone.js +2 -6
  232. package/getRepositoryMilestone.js.map +1 -1
  233. package/getRepositoryPullRequest.d.ts +0 -4
  234. package/getRepositoryPullRequest.js +0 -4
  235. package/getRepositoryPullRequest.js.map +1 -1
  236. package/getRepositoryPullRequests.d.ts +2 -6
  237. package/getRepositoryPullRequests.js +2 -6
  238. package/getRepositoryPullRequests.js.map +1 -1
  239. package/getRepositoryTeams.d.ts +0 -4
  240. package/getRepositoryTeams.js +0 -4
  241. package/getRepositoryTeams.js.map +1 -1
  242. package/getRepositoryWebhooks.d.ts +0 -4
  243. package/getRepositoryWebhooks.js +0 -4
  244. package/getRepositoryWebhooks.js.map +1 -1
  245. package/getRestApi.d.ts +0 -4
  246. package/getRestApi.js +0 -4
  247. package/getRestApi.js.map +1 -1
  248. package/getSshKeys.d.ts +0 -4
  249. package/getSshKeys.js +0 -4
  250. package/getSshKeys.js.map +1 -1
  251. package/getTeam.d.ts +0 -4
  252. package/getTeam.js +0 -4
  253. package/getTeam.js.map +1 -1
  254. package/getTree.d.ts +16 -20
  255. package/getTree.js +16 -20
  256. package/getTree.js.map +1 -1
  257. package/getUser.d.ts +4 -4
  258. package/getUser.js +4 -4
  259. package/getUserExternalIdentity.d.ts +0 -4
  260. package/getUserExternalIdentity.js +0 -4
  261. package/getUserExternalIdentity.js.map +1 -1
  262. package/getUsers.d.ts +2 -4
  263. package/getUsers.js +2 -4
  264. package/getUsers.js.map +1 -1
  265. package/issue.d.ts +15 -13
  266. package/issue.js +15 -13
  267. package/issue.js.map +1 -1
  268. package/issueLabel.d.ts +3 -4
  269. package/issueLabel.js +3 -4
  270. package/issueLabel.js.map +1 -1
  271. package/issueLabels.d.ts +4 -6
  272. package/issueLabels.js +4 -6
  273. package/issueLabels.js.map +1 -1
  274. package/membership.d.ts +2 -4
  275. package/membership.js +2 -4
  276. package/membership.js.map +1 -1
  277. package/organizationBlock.d.ts +0 -2
  278. package/organizationBlock.js +0 -2
  279. package/organizationBlock.js.map +1 -1
  280. package/organizationCustomRole.d.ts +2 -3
  281. package/organizationCustomRole.js +2 -3
  282. package/organizationCustomRole.js.map +1 -1
  283. package/organizationProject.d.ts +4 -3
  284. package/organizationProject.js +4 -3
  285. package/organizationProject.js.map +1 -1
  286. package/organizationRuleset.d.ts +37 -0
  287. package/organizationRuleset.js +37 -0
  288. package/organizationRuleset.js.map +1 -1
  289. package/organizationSecurityManager.d.ts +5 -4
  290. package/organizationSecurityManager.js +5 -4
  291. package/organizationSecurityManager.js.map +1 -1
  292. package/organizationSettings.d.ts +15 -16
  293. package/organizationSettings.js +15 -16
  294. package/organizationSettings.js.map +1 -1
  295. package/package.json +1 -1
  296. package/projectCard.d.ts +20 -13
  297. package/projectCard.js +20 -13
  298. package/projectCard.js.map +1 -1
  299. package/projectColumn.d.ts +8 -4
  300. package/projectColumn.js +8 -4
  301. package/projectColumn.js.map +1 -1
  302. package/release.d.ts +10 -10
  303. package/release.js +10 -10
  304. package/repository.d.ts +5 -7
  305. package/repository.js +5 -7
  306. package/repository.js.map +1 -1
  307. package/repositoryAutolinkReference.d.ts +1 -2
  308. package/repositoryAutolinkReference.js +1 -2
  309. package/repositoryAutolinkReference.js.map +1 -1
  310. package/repositoryCollaborator.d.ts +2 -4
  311. package/repositoryCollaborator.js +2 -4
  312. package/repositoryCollaborator.js.map +1 -1
  313. package/repositoryCollaborators.d.ts +6 -5
  314. package/repositoryCollaborators.js +6 -5
  315. package/repositoryCollaborators.js.map +1 -1
  316. package/repositoryDependabotSecurityUpdates.d.ts +2 -3
  317. package/repositoryDependabotSecurityUpdates.js +2 -3
  318. package/repositoryDependabotSecurityUpdates.js.map +1 -1
  319. package/repositoryDeployKey.d.ts +3 -5
  320. package/repositoryDeployKey.js +3 -5
  321. package/repositoryDeployKey.js.map +1 -1
  322. package/repositoryDeploymentBranchPolicy.d.ts +1 -2
  323. package/repositoryDeploymentBranchPolicy.js +1 -2
  324. package/repositoryDeploymentBranchPolicy.js.map +1 -1
  325. package/repositoryEnvironment.d.ts +6 -5
  326. package/repositoryEnvironment.js +6 -5
  327. package/repositoryEnvironment.js.map +1 -1
  328. package/repositoryEnvironmentDeploymentPolicy.d.ts +5 -7
  329. package/repositoryEnvironmentDeploymentPolicy.js +5 -7
  330. package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
  331. package/repositoryFile.d.ts +6 -5
  332. package/repositoryFile.js +6 -5
  333. package/repositoryFile.js.map +1 -1
  334. package/repositoryMilestone.d.ts +0 -2
  335. package/repositoryMilestone.js +0 -2
  336. package/repositoryMilestone.js.map +1 -1
  337. package/repositoryProject.d.ts +3 -3
  338. package/repositoryProject.js +3 -3
  339. package/repositoryPullRequest.d.ts +2 -4
  340. package/repositoryPullRequest.js +2 -4
  341. package/repositoryPullRequest.js.map +1 -1
  342. package/repositoryRuleset.d.ts +7 -5
  343. package/repositoryRuleset.js +7 -5
  344. package/repositoryRuleset.js.map +1 -1
  345. package/repositoryTagProtection.d.ts +1 -3
  346. package/repositoryTagProtection.js +1 -3
  347. package/repositoryTagProtection.js.map +1 -1
  348. package/repositoryTopics.d.ts +3 -5
  349. package/repositoryTopics.js +3 -5
  350. package/repositoryTopics.js.map +1 -1
  351. package/repositoryWebhook.d.ts +3 -4
  352. package/repositoryWebhook.js +1 -2
  353. package/repositoryWebhook.js.map +1 -1
  354. package/team.d.ts +2 -3
  355. package/team.js +2 -3
  356. package/team.js.map +1 -1
  357. package/teamMembers.d.ts +7 -6
  358. package/teamMembers.js +7 -6
  359. package/teamMembers.js.map +1 -1
  360. package/teamMembership.d.ts +6 -5
  361. package/teamMembership.js +6 -5
  362. package/teamMembership.js.map +1 -1
  363. package/teamRepository.d.ts +6 -5
  364. package/teamRepository.js +6 -5
  365. package/teamRepository.js.map +1 -1
  366. package/teamSettings.d.ts +5 -4
  367. package/teamSettings.js +5 -4
  368. package/teamSettings.js.map +1 -1
  369. package/teamSyncGroupMapping.d.ts +17 -0
  370. package/teamSyncGroupMapping.js +17 -0
  371. package/teamSyncGroupMapping.js.map +1 -1
  372. package/types/input.d.ts +65 -65
  373. package/types/output.d.ts +65 -65
  374. package/userGpgKey.d.ts +1 -4
  375. package/userGpgKey.js +1 -4
  376. package/userGpgKey.js.map +1 -1
  377. package/userInvitationAccepter.d.ts +4 -9
  378. package/userInvitationAccepter.js +4 -9
  379. package/userInvitationAccepter.js.map +1 -1
  380. package/userSshKey.d.ts +4 -4
  381. package/userSshKey.js +4 -4
package/types/output.d.ts CHANGED
@@ -1011,21 +1011,21 @@ export interface OrganizationRulesetConditions {
1011
1011
  }
1012
1012
  export interface OrganizationRulesetConditionsRefName {
1013
1013
  /**
1014
- * (List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
1014
+ * Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
1015
1015
  */
1016
1016
  excludes: string[];
1017
1017
  /**
1018
- * (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.
1018
+ * 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.
1019
1019
  */
1020
1020
  includes: string[];
1021
1021
  }
1022
1022
  export interface OrganizationRulesetConditionsRepositoryName {
1023
1023
  /**
1024
- * (List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
1024
+ * Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
1025
1025
  */
1026
1026
  excludes: string[];
1027
1027
  /**
1028
- * (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.
1028
+ * 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.
1029
1029
  */
1030
1030
  includes: string[];
1031
1031
  /**
@@ -1097,15 +1097,15 @@ export interface OrganizationRulesetRulesBranchNamePattern {
1097
1097
  */
1098
1098
  name?: string;
1099
1099
  /**
1100
- * (Boolean) If true, the rule will fail if the pattern matches.
1100
+ * If true, the rule will fail if the pattern matches.
1101
1101
  */
1102
1102
  negate?: boolean;
1103
1103
  /**
1104
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1104
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1105
1105
  */
1106
1106
  operator: string;
1107
1107
  /**
1108
- * (String) The pattern to match with.
1108
+ * The pattern to match with.
1109
1109
  */
1110
1110
  pattern: string;
1111
1111
  }
@@ -1115,15 +1115,15 @@ export interface OrganizationRulesetRulesCommitAuthorEmailPattern {
1115
1115
  */
1116
1116
  name?: string;
1117
1117
  /**
1118
- * (Boolean) If true, the rule will fail if the pattern matches.
1118
+ * If true, the rule will fail if the pattern matches.
1119
1119
  */
1120
1120
  negate?: boolean;
1121
1121
  /**
1122
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1122
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1123
1123
  */
1124
1124
  operator: string;
1125
1125
  /**
1126
- * (String) The pattern to match with.
1126
+ * The pattern to match with.
1127
1127
  */
1128
1128
  pattern: string;
1129
1129
  }
@@ -1133,15 +1133,15 @@ export interface OrganizationRulesetRulesCommitMessagePattern {
1133
1133
  */
1134
1134
  name?: string;
1135
1135
  /**
1136
- * (Boolean) If true, the rule will fail if the pattern matches.
1136
+ * If true, the rule will fail if the pattern matches.
1137
1137
  */
1138
1138
  negate?: boolean;
1139
1139
  /**
1140
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1140
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1141
1141
  */
1142
1142
  operator: string;
1143
1143
  /**
1144
- * (String) The pattern to match with.
1144
+ * The pattern to match with.
1145
1145
  */
1146
1146
  pattern: string;
1147
1147
  }
@@ -1151,77 +1151,77 @@ export interface OrganizationRulesetRulesCommitterEmailPattern {
1151
1151
  */
1152
1152
  name?: string;
1153
1153
  /**
1154
- * (Boolean) If true, the rule will fail if the pattern matches.
1154
+ * If true, the rule will fail if the pattern matches.
1155
1155
  */
1156
1156
  negate?: boolean;
1157
1157
  /**
1158
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1158
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1159
1159
  */
1160
1160
  operator: string;
1161
1161
  /**
1162
- * (String) The pattern to match with.
1162
+ * The pattern to match with.
1163
1163
  */
1164
1164
  pattern: string;
1165
1165
  }
1166
1166
  export interface OrganizationRulesetRulesPullRequest {
1167
1167
  /**
1168
- * (Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
1168
+ * New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
1169
1169
  */
1170
1170
  dismissStaleReviewsOnPush?: boolean;
1171
1171
  /**
1172
- * (Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
1172
+ * Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
1173
1173
  */
1174
1174
  requireCodeOwnerReview?: boolean;
1175
1175
  /**
1176
- * (Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
1176
+ * Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
1177
1177
  */
1178
1178
  requireLastPushApproval?: boolean;
1179
1179
  /**
1180
- * (Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
1180
+ * The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
1181
1181
  */
1182
1182
  requiredApprovingReviewCount?: number;
1183
1183
  /**
1184
- * (Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
1184
+ * All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
1185
1185
  */
1186
1186
  requiredReviewThreadResolution?: boolean;
1187
1187
  }
1188
1188
  export interface OrganizationRulesetRulesRequiredStatusChecks {
1189
1189
  /**
1190
- * (Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)
1190
+ * Status checks that are required. Several can be defined.
1191
1191
  */
1192
1192
  requiredChecks: outputs.OrganizationRulesetRulesRequiredStatusChecksRequiredCheck[];
1193
1193
  /**
1194
- * (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`.
1194
+ * 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`.
1195
1195
  */
1196
1196
  strictRequiredStatusChecksPolicy?: boolean;
1197
1197
  }
1198
1198
  export interface OrganizationRulesetRulesRequiredStatusChecksRequiredCheck {
1199
1199
  /**
1200
- * (String) The status check context name that must be present on the commit.
1200
+ * The status check context name that must be present on the commit.
1201
1201
  */
1202
1202
  context: string;
1203
1203
  /**
1204
- * (Number) The optional integration ID that this status check must originate from.
1204
+ * The optional integration ID that this status check must originate from.
1205
1205
  */
1206
1206
  integrationId?: number;
1207
1207
  }
1208
1208
  export interface OrganizationRulesetRulesRequiredWorkflows {
1209
1209
  /**
1210
- * (Block Set, Min: 1) Actions workflows that are required. Multiple can be defined. (see below for nested schema)
1210
+ * Actions workflows that are required. Several can be defined.
1211
1211
  */
1212
1212
  requiredWorkflows: outputs.OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow[];
1213
1213
  }
1214
1214
  export interface OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow {
1215
1215
  /**
1216
- * (String) The path to the YAML definition file of the workflow.
1216
+ * The path to the workflow YAML definition file.
1217
1217
  */
1218
1218
  path: string;
1219
1219
  /**
1220
- * (String) The optional ref from which to fetch the workflow. Defaults to `master`.
1220
+ * The ref (branch or tag) of the workflow file to use.
1221
1221
  */
1222
1222
  ref?: string;
1223
1223
  /**
1224
- * The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with `repositoryName`.
1224
+ * The repository in which the workflow is defined.
1225
1225
  */
1226
1226
  repositoryId: number;
1227
1227
  }
@@ -1231,15 +1231,15 @@ export interface OrganizationRulesetRulesTagNamePattern {
1231
1231
  */
1232
1232
  name?: string;
1233
1233
  /**
1234
- * (Boolean) If true, the rule will fail if the pattern matches.
1234
+ * If true, the rule will fail if the pattern matches.
1235
1235
  */
1236
1236
  negate?: boolean;
1237
1237
  /**
1238
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1238
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1239
1239
  */
1240
1240
  operator: string;
1241
1241
  /**
1242
- * (String) The pattern to match with.
1242
+ * The pattern to match with.
1243
1243
  */
1244
1244
  pattern: string;
1245
1245
  }
@@ -1327,7 +1327,7 @@ export interface RepositoryPages {
1327
1327
  */
1328
1328
  source?: outputs.RepositoryPagesSource;
1329
1329
  /**
1330
- * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
1330
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1331
1331
  */
1332
1332
  status: string;
1333
1333
  url: string;
@@ -1366,11 +1366,11 @@ export interface RepositoryRulesetConditions {
1366
1366
  }
1367
1367
  export interface RepositoryRulesetConditionsRefName {
1368
1368
  /**
1369
- * (List of String) Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
1369
+ * Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
1370
1370
  */
1371
1371
  excludes: string[];
1372
1372
  /**
1373
- * (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.
1373
+ * 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.
1374
1374
  */
1375
1375
  includes: string[];
1376
1376
  }
@@ -1442,15 +1442,15 @@ export interface RepositoryRulesetRulesBranchNamePattern {
1442
1442
  */
1443
1443
  name?: string;
1444
1444
  /**
1445
- * (Boolean) If true, the rule will fail if the pattern matches.
1445
+ * If true, the rule will fail if the pattern matches.
1446
1446
  */
1447
1447
  negate?: boolean;
1448
1448
  /**
1449
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1449
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1450
1450
  */
1451
1451
  operator: string;
1452
1452
  /**
1453
- * (String) The pattern to match with.
1453
+ * The pattern to match with.
1454
1454
  */
1455
1455
  pattern: string;
1456
1456
  }
@@ -1460,15 +1460,15 @@ export interface RepositoryRulesetRulesCommitAuthorEmailPattern {
1460
1460
  */
1461
1461
  name?: string;
1462
1462
  /**
1463
- * (Boolean) If true, the rule will fail if the pattern matches.
1463
+ * If true, the rule will fail if the pattern matches.
1464
1464
  */
1465
1465
  negate?: boolean;
1466
1466
  /**
1467
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1467
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1468
1468
  */
1469
1469
  operator: string;
1470
1470
  /**
1471
- * (String) The pattern to match with.
1471
+ * The pattern to match with.
1472
1472
  */
1473
1473
  pattern: string;
1474
1474
  }
@@ -1478,15 +1478,15 @@ export interface RepositoryRulesetRulesCommitMessagePattern {
1478
1478
  */
1479
1479
  name?: string;
1480
1480
  /**
1481
- * (Boolean) If true, the rule will fail if the pattern matches.
1481
+ * If true, the rule will fail if the pattern matches.
1482
1482
  */
1483
1483
  negate?: boolean;
1484
1484
  /**
1485
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1485
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1486
1486
  */
1487
1487
  operator: string;
1488
1488
  /**
1489
- * (String) The pattern to match with.
1489
+ * The pattern to match with.
1490
1490
  */
1491
1491
  pattern: string;
1492
1492
  }
@@ -1496,63 +1496,63 @@ export interface RepositoryRulesetRulesCommitterEmailPattern {
1496
1496
  */
1497
1497
  name?: string;
1498
1498
  /**
1499
- * (Boolean) If true, the rule will fail if the pattern matches.
1499
+ * If true, the rule will fail if the pattern matches.
1500
1500
  */
1501
1501
  negate?: boolean;
1502
1502
  /**
1503
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1503
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1504
1504
  */
1505
1505
  operator: string;
1506
1506
  /**
1507
- * (String) The pattern to match with.
1507
+ * The pattern to match with.
1508
1508
  */
1509
1509
  pattern: string;
1510
1510
  }
1511
1511
  export interface RepositoryRulesetRulesPullRequest {
1512
1512
  /**
1513
- * (Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
1513
+ * New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
1514
1514
  */
1515
1515
  dismissStaleReviewsOnPush?: boolean;
1516
1516
  /**
1517
- * (Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
1517
+ * Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
1518
1518
  */
1519
1519
  requireCodeOwnerReview?: boolean;
1520
1520
  /**
1521
- * (Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
1521
+ * Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
1522
1522
  */
1523
1523
  requireLastPushApproval?: boolean;
1524
1524
  /**
1525
- * (Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
1525
+ * The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
1526
1526
  */
1527
1527
  requiredApprovingReviewCount?: number;
1528
1528
  /**
1529
- * (Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
1529
+ * All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
1530
1530
  */
1531
1531
  requiredReviewThreadResolution?: boolean;
1532
1532
  }
1533
1533
  export interface RepositoryRulesetRulesRequiredDeployments {
1534
1534
  /**
1535
- * (List of String) The environments that must be successfully deployed to before branches can be merged.
1535
+ * The environments that must be successfully deployed to before branches can be merged.
1536
1536
  */
1537
1537
  requiredDeploymentEnvironments: string[];
1538
1538
  }
1539
1539
  export interface RepositoryRulesetRulesRequiredStatusChecks {
1540
1540
  /**
1541
- * (Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)
1541
+ * Status checks that are required. Several can be defined.
1542
1542
  */
1543
1543
  requiredChecks: outputs.RepositoryRulesetRulesRequiredStatusChecksRequiredCheck[];
1544
1544
  /**
1545
- * (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`.
1545
+ * 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`.
1546
1546
  */
1547
1547
  strictRequiredStatusChecksPolicy?: boolean;
1548
1548
  }
1549
1549
  export interface RepositoryRulesetRulesRequiredStatusChecksRequiredCheck {
1550
1550
  /**
1551
- * (String) The status check context name that must be present on the commit.
1551
+ * The status check context name that must be present on the commit.
1552
1552
  */
1553
1553
  context: string;
1554
1554
  /**
1555
- * (Number) The optional integration ID that this status check must originate from.
1555
+ * The optional integration ID that this status check must originate from.
1556
1556
  */
1557
1557
  integrationId?: number;
1558
1558
  }
@@ -1562,15 +1562,15 @@ export interface RepositoryRulesetRulesTagNamePattern {
1562
1562
  */
1563
1563
  name?: string;
1564
1564
  /**
1565
- * (Boolean) If true, the rule will fail if the pattern matches.
1565
+ * If true, the rule will fail if the pattern matches.
1566
1566
  */
1567
1567
  negate?: boolean;
1568
1568
  /**
1569
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1569
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1570
1570
  */
1571
1571
  operator: string;
1572
1572
  /**
1573
- * (String) The pattern to match with.
1573
+ * The pattern to match with.
1574
1574
  */
1575
1575
  pattern: string;
1576
1576
  }
@@ -1596,13 +1596,13 @@ export interface RepositorySecurityAndAnalysisAdvancedSecurity {
1596
1596
  }
1597
1597
  export interface RepositorySecurityAndAnalysisSecretScanning {
1598
1598
  /**
1599
- * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
1599
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1600
1600
  */
1601
1601
  status: string;
1602
1602
  }
1603
1603
  export interface RepositorySecurityAndAnalysisSecretScanningPushProtection {
1604
1604
  /**
1605
- * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
1605
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1606
1606
  */
1607
1607
  status: string;
1608
1608
  }
@@ -1651,15 +1651,15 @@ export interface TeamMembersMember {
1651
1651
  }
1652
1652
  export interface TeamSettingsReviewRequestDelegation {
1653
1653
  /**
1654
- * The algorithm to use when assigning pull requests to team members. Supported values are `ROUND_ROBIN` and `LOAD_BALANCE`. Default value is `ROUND_ROBIN`
1654
+ * The algorithm to use when assigning pull requests to team members. Supported values are 'ROUND_ROBIN' and 'LOAD_BALANCE'.
1655
1655
  */
1656
1656
  algorithm?: string;
1657
1657
  /**
1658
- * The number of team members to assign to a pull request
1658
+ * The number of team members to assign to a pull request.
1659
1659
  */
1660
1660
  memberCount?: number;
1661
1661
  /**
1662
- * whether to notify the entire team when at least one member is also assigned to the pull request
1662
+ * whether to notify the entire team when at least one member is also assigned to the pull request.
1663
1663
  */
1664
1664
  notify?: boolean;
1665
1665
  }
package/userGpgKey.d.ts CHANGED
@@ -6,17 +6,14 @@ import * as pulumi from "@pulumi/pulumi";
6
6
  *
7
7
  * ## Example Usage
8
8
  *
9
- * <!--Start PulumiCodeChooser -->
10
9
  * ```typescript
11
10
  * import * as pulumi from "@pulumi/pulumi";
12
11
  * import * as github from "@pulumi/github";
13
12
  *
14
13
  * const example = new github.UserGpgKey("example", {armoredPublicKey: `-----BEGIN PGP PUBLIC KEY BLOCK-----
15
14
  * ...
16
- * -----END PGP PUBLIC KEY BLOCK-----
17
- * `});
15
+ * -----END PGP PUBLIC KEY BLOCK-----`});
18
16
  * ```
19
- * <!--End PulumiCodeChooser -->
20
17
  *
21
18
  * ## Import
22
19
  *
package/userGpgKey.js CHANGED
@@ -12,17 +12,14 @@ const utilities = require("./utilities");
12
12
  *
13
13
  * ## Example Usage
14
14
  *
15
- * <!--Start PulumiCodeChooser -->
16
15
  * ```typescript
17
16
  * import * as pulumi from "@pulumi/pulumi";
18
17
  * import * as github from "@pulumi/github";
19
18
  *
20
19
  * const example = new github.UserGpgKey("example", {armoredPublicKey: `-----BEGIN PGP PUBLIC KEY BLOCK-----
21
20
  * ...
22
- * -----END PGP PUBLIC KEY BLOCK-----
23
- * `});
21
+ * -----END PGP PUBLIC KEY BLOCK-----`});
24
22
  * ```
25
- * <!--End PulumiCodeChooser -->
26
23
  *
27
24
  * ## Import
28
25
  *
package/userGpgKey.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"userGpgKey.js","sourceRoot":"","sources":["../userGpgKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAqBD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,kB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CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAlEL,gCAmEC;AArDG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
@@ -4,23 +4,18 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * ## Example Usage
6
6
  *
7
- * <!--Start PulumiCodeChooser -->
8
7
  * ```typescript
9
8
  * import * as pulumi from "@pulumi/pulumi";
10
9
  * import * as github from "@pulumi/github";
11
10
  *
12
- * const exampleRepository = new github.Repository("exampleRepository", {});
13
- * const exampleRepositoryCollaborator = new github.RepositoryCollaborator("exampleRepositoryCollaborator", {
14
- * repository: exampleRepository.name,
11
+ * const example = new github.Repository("example", {name: "example-repo"});
12
+ * const exampleRepositoryCollaborator = new github.RepositoryCollaborator("example", {
13
+ * repository: example.name,
15
14
  * username: "example-username",
16
15
  * permission: "push",
17
16
  * });
18
- * const invitee = new github.Provider("invitee", {token: _var.invitee_token});
19
- * const exampleUserInvitationAccepter = new github.UserInvitationAccepter("exampleUserInvitationAccepter", {invitationId: exampleRepositoryCollaborator.invitationId}, {
20
- * provider: "github.invitee",
21
- * });
17
+ * const exampleUserInvitationAccepter = new github.UserInvitationAccepter("example", {invitationId: exampleRepositoryCollaborator.invitationId});
22
18
  * ```
23
- * <!--End PulumiCodeChooser -->
24
19
  *
25
20
  * ## Allowing empty invitation IDs
26
21
  *
@@ -10,23 +10,18 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
- * <!--Start PulumiCodeChooser -->
14
13
  * ```typescript
15
14
  * import * as pulumi from "@pulumi/pulumi";
16
15
  * import * as github from "@pulumi/github";
17
16
  *
18
- * const exampleRepository = new github.Repository("exampleRepository", {});
19
- * const exampleRepositoryCollaborator = new github.RepositoryCollaborator("exampleRepositoryCollaborator", {
20
- * repository: exampleRepository.name,
17
+ * const example = new github.Repository("example", {name: "example-repo"});
18
+ * const exampleRepositoryCollaborator = new github.RepositoryCollaborator("example", {
19
+ * repository: example.name,
21
20
  * username: "example-username",
22
21
  * permission: "push",
23
22
  * });
24
- * const invitee = new github.Provider("invitee", {token: _var.invitee_token});
25
- * const exampleUserInvitationAccepter = new github.UserInvitationAccepter("exampleUserInvitationAccepter", {invitationId: exampleRepositoryCollaborator.invitationId}, {
26
- * provider: "github.invitee",
27
- * });
23
+ * const exampleUserInvitationAccepter = new github.UserInvitationAccepter("example", {invitationId: exampleRepositoryCollaborator.invitationId});
28
24
  * ```
29
- * <!--End PulumiCodeChooser -->
30
25
  *
31
26
  * ## Allowing empty invitation IDs
32
27
  *
@@ -1 +1 @@
1
- {"version":3,"file":"userInvitationAccepter.js","sourceRoot":"","sources":["../userInvitationAccepter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,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AY,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;;AA3DL,wDA4DC;AA9CG,gBAAgB;AACO,mCAAY,GAAG,4DAA4D,CAAC"}
package/userSshKey.d.ts CHANGED
@@ -6,18 +6,18 @@ import * as pulumi from "@pulumi/pulumi";
6
6
  *
7
7
  * ## Example Usage
8
8
  *
9
- * <!--Start PulumiCodeChooser -->
10
9
  * ```typescript
11
10
  * import * as pulumi from "@pulumi/pulumi";
12
- * import * as fs from "fs";
13
11
  * import * as github from "@pulumi/github";
12
+ * import * as std from "@pulumi/std";
14
13
  *
15
14
  * const example = new github.UserSshKey("example", {
16
15
  * title: "example title",
17
- * key: fs.readFileSync("~/.ssh/id_rsa.pub", "utf8"),
16
+ * key: std.file({
17
+ * input: "~/.ssh/id_rsa.pub",
18
+ * }).then(invoke => invoke.result),
18
19
  * });
19
20
  * ```
20
- * <!--End PulumiCodeChooser -->
21
21
  *
22
22
  * ## Import
23
23
  *
package/userSshKey.js CHANGED
@@ -12,18 +12,18 @@ const utilities = require("./utilities");
12
12
  *
13
13
  * ## Example Usage
14
14
  *
15
- * <!--Start PulumiCodeChooser -->
16
15
  * ```typescript
17
16
  * import * as pulumi from "@pulumi/pulumi";
18
- * import * as fs from "fs";
19
17
  * import * as github from "@pulumi/github";
18
+ * import * as std from "@pulumi/std";
20
19
  *
21
20
  * const example = new github.UserSshKey("example", {
22
21
  * title: "example title",
23
- * key: fs.readFileSync("~/.ssh/id_rsa.pub", "utf8"),
22
+ * key: std.file({
23
+ * input: "~/.ssh/id_rsa.pub",
24
+ * }).then(invoke => invoke.result),
24
25
  * });
25
26
  * ```
26
- * <!--End PulumiCodeChooser -->
27
27
  *
28
28
  * ## Import
29
29
  *