@pulumi/github 6.2.0 → 6.2.1

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 (383) 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 +3 -2
  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/provider.d.ts +5 -5
  303. package/release.d.ts +10 -10
  304. package/release.js +10 -10
  305. package/repository.d.ts +5 -7
  306. package/repository.js +5 -7
  307. package/repository.js.map +1 -1
  308. package/repositoryAutolinkReference.d.ts +1 -2
  309. package/repositoryAutolinkReference.js +1 -2
  310. package/repositoryAutolinkReference.js.map +1 -1
  311. package/repositoryCollaborator.d.ts +2 -4
  312. package/repositoryCollaborator.js +2 -4
  313. package/repositoryCollaborator.js.map +1 -1
  314. package/repositoryCollaborators.d.ts +6 -5
  315. package/repositoryCollaborators.js +6 -5
  316. package/repositoryCollaborators.js.map +1 -1
  317. package/repositoryDependabotSecurityUpdates.d.ts +2 -3
  318. package/repositoryDependabotSecurityUpdates.js +2 -3
  319. package/repositoryDependabotSecurityUpdates.js.map +1 -1
  320. package/repositoryDeployKey.d.ts +3 -5
  321. package/repositoryDeployKey.js +3 -5
  322. package/repositoryDeployKey.js.map +1 -1
  323. package/repositoryDeploymentBranchPolicy.d.ts +1 -2
  324. package/repositoryDeploymentBranchPolicy.js +1 -2
  325. package/repositoryDeploymentBranchPolicy.js.map +1 -1
  326. package/repositoryEnvironment.d.ts +6 -5
  327. package/repositoryEnvironment.js +6 -5
  328. package/repositoryEnvironment.js.map +1 -1
  329. package/repositoryEnvironmentDeploymentPolicy.d.ts +5 -7
  330. package/repositoryEnvironmentDeploymentPolicy.js +5 -7
  331. package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
  332. package/repositoryFile.d.ts +6 -5
  333. package/repositoryFile.js +6 -5
  334. package/repositoryFile.js.map +1 -1
  335. package/repositoryMilestone.d.ts +0 -2
  336. package/repositoryMilestone.js +0 -2
  337. package/repositoryMilestone.js.map +1 -1
  338. package/repositoryProject.d.ts +3 -3
  339. package/repositoryProject.js +3 -3
  340. package/repositoryPullRequest.d.ts +2 -4
  341. package/repositoryPullRequest.js +2 -4
  342. package/repositoryPullRequest.js.map +1 -1
  343. package/repositoryRuleset.d.ts +7 -5
  344. package/repositoryRuleset.js +7 -5
  345. package/repositoryRuleset.js.map +1 -1
  346. package/repositoryTagProtection.d.ts +1 -3
  347. package/repositoryTagProtection.js +1 -3
  348. package/repositoryTagProtection.js.map +1 -1
  349. package/repositoryTopics.d.ts +3 -5
  350. package/repositoryTopics.js +3 -5
  351. package/repositoryTopics.js.map +1 -1
  352. package/repositoryWebhook.d.ts +3 -4
  353. package/repositoryWebhook.js +1 -2
  354. package/repositoryWebhook.js.map +1 -1
  355. package/team.d.ts +2 -3
  356. package/team.js +2 -3
  357. package/team.js.map +1 -1
  358. package/teamMembers.d.ts +7 -6
  359. package/teamMembers.js +7 -6
  360. package/teamMembers.js.map +1 -1
  361. package/teamMembership.d.ts +6 -5
  362. package/teamMembership.js +6 -5
  363. package/teamMembership.js.map +1 -1
  364. package/teamRepository.d.ts +6 -5
  365. package/teamRepository.js +6 -5
  366. package/teamRepository.js.map +1 -1
  367. package/teamSettings.d.ts +5 -4
  368. package/teamSettings.js +5 -4
  369. package/teamSettings.js.map +1 -1
  370. package/teamSyncGroupMapping.d.ts +17 -0
  371. package/teamSyncGroupMapping.js +17 -0
  372. package/teamSyncGroupMapping.js.map +1 -1
  373. package/types/input.d.ts +70 -65
  374. package/types/output.d.ts +70 -65
  375. package/userGpgKey.d.ts +1 -4
  376. package/userGpgKey.js +1 -4
  377. package/userGpgKey.js.map +1 -1
  378. package/userInvitationAccepter.d.ts +4 -9
  379. package/userInvitationAccepter.js +4 -9
  380. package/userInvitationAccepter.js.map +1 -1
  381. package/userSshKey.d.ts +4 -4
  382. package/userSshKey.js +4 -4
  383. package/package.json.bak +0 -27
package/types/output.d.ts CHANGED
@@ -990,6 +990,9 @@ export interface OrganizationRulesetBypassActor {
990
990
  * (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.
991
991
  *
992
992
  * ~>Note: at the time of writing this, the following actor types correspond to the following actor IDs:
993
+ *
994
+ * * `OrganizationAdmin` > `1`
995
+ * * `RepositoryRole` (This is the actor type, the following are the base repository roles and their associated IDs.)
993
996
  */
994
997
  bypassMode: string;
995
998
  }
@@ -1011,21 +1014,21 @@ export interface OrganizationRulesetConditions {
1011
1014
  }
1012
1015
  export interface OrganizationRulesetConditionsRefName {
1013
1016
  /**
1014
- * (List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
1017
+ * Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
1015
1018
  */
1016
1019
  excludes: string[];
1017
1020
  /**
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.
1021
+ * 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
1022
  */
1020
1023
  includes: string[];
1021
1024
  }
1022
1025
  export interface OrganizationRulesetConditionsRepositoryName {
1023
1026
  /**
1024
- * (List of String) Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
1027
+ * Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
1025
1028
  */
1026
1029
  excludes: string[];
1027
1030
  /**
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.
1031
+ * 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
1032
  */
1030
1033
  includes: string[];
1031
1034
  /**
@@ -1097,15 +1100,15 @@ export interface OrganizationRulesetRulesBranchNamePattern {
1097
1100
  */
1098
1101
  name?: string;
1099
1102
  /**
1100
- * (Boolean) If true, the rule will fail if the pattern matches.
1103
+ * If true, the rule will fail if the pattern matches.
1101
1104
  */
1102
1105
  negate?: boolean;
1103
1106
  /**
1104
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1107
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1105
1108
  */
1106
1109
  operator: string;
1107
1110
  /**
1108
- * (String) The pattern to match with.
1111
+ * The pattern to match with.
1109
1112
  */
1110
1113
  pattern: string;
1111
1114
  }
@@ -1115,15 +1118,15 @@ export interface OrganizationRulesetRulesCommitAuthorEmailPattern {
1115
1118
  */
1116
1119
  name?: string;
1117
1120
  /**
1118
- * (Boolean) If true, the rule will fail if the pattern matches.
1121
+ * If true, the rule will fail if the pattern matches.
1119
1122
  */
1120
1123
  negate?: boolean;
1121
1124
  /**
1122
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1125
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1123
1126
  */
1124
1127
  operator: string;
1125
1128
  /**
1126
- * (String) The pattern to match with.
1129
+ * The pattern to match with.
1127
1130
  */
1128
1131
  pattern: string;
1129
1132
  }
@@ -1133,15 +1136,15 @@ export interface OrganizationRulesetRulesCommitMessagePattern {
1133
1136
  */
1134
1137
  name?: string;
1135
1138
  /**
1136
- * (Boolean) If true, the rule will fail if the pattern matches.
1139
+ * If true, the rule will fail if the pattern matches.
1137
1140
  */
1138
1141
  negate?: boolean;
1139
1142
  /**
1140
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1143
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1141
1144
  */
1142
1145
  operator: string;
1143
1146
  /**
1144
- * (String) The pattern to match with.
1147
+ * The pattern to match with.
1145
1148
  */
1146
1149
  pattern: string;
1147
1150
  }
@@ -1151,77 +1154,77 @@ export interface OrganizationRulesetRulesCommitterEmailPattern {
1151
1154
  */
1152
1155
  name?: string;
1153
1156
  /**
1154
- * (Boolean) If true, the rule will fail if the pattern matches.
1157
+ * If true, the rule will fail if the pattern matches.
1155
1158
  */
1156
1159
  negate?: boolean;
1157
1160
  /**
1158
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1161
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1159
1162
  */
1160
1163
  operator: string;
1161
1164
  /**
1162
- * (String) The pattern to match with.
1165
+ * The pattern to match with.
1163
1166
  */
1164
1167
  pattern: string;
1165
1168
  }
1166
1169
  export interface OrganizationRulesetRulesPullRequest {
1167
1170
  /**
1168
- * (Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
1171
+ * New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
1169
1172
  */
1170
1173
  dismissStaleReviewsOnPush?: boolean;
1171
1174
  /**
1172
- * (Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
1175
+ * Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
1173
1176
  */
1174
1177
  requireCodeOwnerReview?: boolean;
1175
1178
  /**
1176
- * (Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
1179
+ * Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
1177
1180
  */
1178
1181
  requireLastPushApproval?: boolean;
1179
1182
  /**
1180
- * (Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
1183
+ * The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
1181
1184
  */
1182
1185
  requiredApprovingReviewCount?: number;
1183
1186
  /**
1184
- * (Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
1187
+ * All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
1185
1188
  */
1186
1189
  requiredReviewThreadResolution?: boolean;
1187
1190
  }
1188
1191
  export interface OrganizationRulesetRulesRequiredStatusChecks {
1189
1192
  /**
1190
- * (Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)
1193
+ * Status checks that are required. Several can be defined.
1191
1194
  */
1192
1195
  requiredChecks: outputs.OrganizationRulesetRulesRequiredStatusChecksRequiredCheck[];
1193
1196
  /**
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`.
1197
+ * 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
1198
  */
1196
1199
  strictRequiredStatusChecksPolicy?: boolean;
1197
1200
  }
1198
1201
  export interface OrganizationRulesetRulesRequiredStatusChecksRequiredCheck {
1199
1202
  /**
1200
- * (String) The status check context name that must be present on the commit.
1203
+ * The status check context name that must be present on the commit.
1201
1204
  */
1202
1205
  context: string;
1203
1206
  /**
1204
- * (Number) The optional integration ID that this status check must originate from.
1207
+ * The optional integration ID that this status check must originate from.
1205
1208
  */
1206
1209
  integrationId?: number;
1207
1210
  }
1208
1211
  export interface OrganizationRulesetRulesRequiredWorkflows {
1209
1212
  /**
1210
- * (Block Set, Min: 1) Actions workflows that are required. Multiple can be defined. (see below for nested schema)
1213
+ * Actions workflows that are required. Several can be defined.
1211
1214
  */
1212
1215
  requiredWorkflows: outputs.OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow[];
1213
1216
  }
1214
1217
  export interface OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow {
1215
1218
  /**
1216
- * (String) The path to the YAML definition file of the workflow.
1219
+ * The path to the workflow YAML definition file.
1217
1220
  */
1218
1221
  path: string;
1219
1222
  /**
1220
- * (String) The optional ref from which to fetch the workflow. Defaults to `master`.
1223
+ * The ref (branch or tag) of the workflow file to use.
1221
1224
  */
1222
1225
  ref?: string;
1223
1226
  /**
1224
- * The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass. Conflicts with `repositoryName`.
1227
+ * The repository in which the workflow is defined.
1225
1228
  */
1226
1229
  repositoryId: number;
1227
1230
  }
@@ -1231,15 +1234,15 @@ export interface OrganizationRulesetRulesTagNamePattern {
1231
1234
  */
1232
1235
  name?: string;
1233
1236
  /**
1234
- * (Boolean) If true, the rule will fail if the pattern matches.
1237
+ * If true, the rule will fail if the pattern matches.
1235
1238
  */
1236
1239
  negate?: boolean;
1237
1240
  /**
1238
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1241
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1239
1242
  */
1240
1243
  operator: string;
1241
1244
  /**
1242
- * (String) The pattern to match with.
1245
+ * The pattern to match with.
1243
1246
  */
1244
1247
  pattern: string;
1245
1248
  }
@@ -1327,7 +1330,7 @@ export interface RepositoryPages {
1327
1330
  */
1328
1331
  source?: outputs.RepositoryPagesSource;
1329
1332
  /**
1330
- * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
1333
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1331
1334
  */
1332
1335
  status: string;
1333
1336
  url: string;
@@ -1355,6 +1358,8 @@ export interface RepositoryRulesetBypassActor {
1355
1358
  * (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.
1356
1359
  *
1357
1360
  * > Note: at the time of writing this, the following actor types correspond to the following actor IDs:
1361
+ * * `OrganizationAdmin` > `1`
1362
+ * * `RepositoryRole` (This is the actor type, the following are the base repository roles and their associated IDs.)
1358
1363
  */
1359
1364
  bypassMode: string;
1360
1365
  }
@@ -1366,11 +1371,11 @@ export interface RepositoryRulesetConditions {
1366
1371
  }
1367
1372
  export interface RepositoryRulesetConditionsRefName {
1368
1373
  /**
1369
- * (List of String) Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
1374
+ * Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
1370
1375
  */
1371
1376
  excludes: string[];
1372
1377
  /**
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.
1378
+ * 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
1379
  */
1375
1380
  includes: string[];
1376
1381
  }
@@ -1442,15 +1447,15 @@ export interface RepositoryRulesetRulesBranchNamePattern {
1442
1447
  */
1443
1448
  name?: string;
1444
1449
  /**
1445
- * (Boolean) If true, the rule will fail if the pattern matches.
1450
+ * If true, the rule will fail if the pattern matches.
1446
1451
  */
1447
1452
  negate?: boolean;
1448
1453
  /**
1449
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1454
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1450
1455
  */
1451
1456
  operator: string;
1452
1457
  /**
1453
- * (String) The pattern to match with.
1458
+ * The pattern to match with.
1454
1459
  */
1455
1460
  pattern: string;
1456
1461
  }
@@ -1460,15 +1465,15 @@ export interface RepositoryRulesetRulesCommitAuthorEmailPattern {
1460
1465
  */
1461
1466
  name?: string;
1462
1467
  /**
1463
- * (Boolean) If true, the rule will fail if the pattern matches.
1468
+ * If true, the rule will fail if the pattern matches.
1464
1469
  */
1465
1470
  negate?: boolean;
1466
1471
  /**
1467
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1472
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1468
1473
  */
1469
1474
  operator: string;
1470
1475
  /**
1471
- * (String) The pattern to match with.
1476
+ * The pattern to match with.
1472
1477
  */
1473
1478
  pattern: string;
1474
1479
  }
@@ -1478,15 +1483,15 @@ export interface RepositoryRulesetRulesCommitMessagePattern {
1478
1483
  */
1479
1484
  name?: string;
1480
1485
  /**
1481
- * (Boolean) If true, the rule will fail if the pattern matches.
1486
+ * If true, the rule will fail if the pattern matches.
1482
1487
  */
1483
1488
  negate?: boolean;
1484
1489
  /**
1485
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1490
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1486
1491
  */
1487
1492
  operator: string;
1488
1493
  /**
1489
- * (String) The pattern to match with.
1494
+ * The pattern to match with.
1490
1495
  */
1491
1496
  pattern: string;
1492
1497
  }
@@ -1496,63 +1501,63 @@ export interface RepositoryRulesetRulesCommitterEmailPattern {
1496
1501
  */
1497
1502
  name?: string;
1498
1503
  /**
1499
- * (Boolean) If true, the rule will fail if the pattern matches.
1504
+ * If true, the rule will fail if the pattern matches.
1500
1505
  */
1501
1506
  negate?: boolean;
1502
1507
  /**
1503
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1508
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1504
1509
  */
1505
1510
  operator: string;
1506
1511
  /**
1507
- * (String) The pattern to match with.
1512
+ * The pattern to match with.
1508
1513
  */
1509
1514
  pattern: string;
1510
1515
  }
1511
1516
  export interface RepositoryRulesetRulesPullRequest {
1512
1517
  /**
1513
- * (Boolean) New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
1518
+ * New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
1514
1519
  */
1515
1520
  dismissStaleReviewsOnPush?: boolean;
1516
1521
  /**
1517
- * (Boolean) Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
1522
+ * Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
1518
1523
  */
1519
1524
  requireCodeOwnerReview?: boolean;
1520
1525
  /**
1521
- * (Boolean) Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
1526
+ * Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
1522
1527
  */
1523
1528
  requireLastPushApproval?: boolean;
1524
1529
  /**
1525
- * (Number) The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
1530
+ * The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
1526
1531
  */
1527
1532
  requiredApprovingReviewCount?: number;
1528
1533
  /**
1529
- * (Boolean) All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
1534
+ * All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
1530
1535
  */
1531
1536
  requiredReviewThreadResolution?: boolean;
1532
1537
  }
1533
1538
  export interface RepositoryRulesetRulesRequiredDeployments {
1534
1539
  /**
1535
- * (List of String) The environments that must be successfully deployed to before branches can be merged.
1540
+ * The environments that must be successfully deployed to before branches can be merged.
1536
1541
  */
1537
1542
  requiredDeploymentEnvironments: string[];
1538
1543
  }
1539
1544
  export interface RepositoryRulesetRulesRequiredStatusChecks {
1540
1545
  /**
1541
- * (Block Set, Min: 1) Status checks that are required. Several can be defined. (see below for nested schema)
1546
+ * Status checks that are required. Several can be defined.
1542
1547
  */
1543
1548
  requiredChecks: outputs.RepositoryRulesetRulesRequiredStatusChecksRequiredCheck[];
1544
1549
  /**
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`.
1550
+ * 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
1551
  */
1547
1552
  strictRequiredStatusChecksPolicy?: boolean;
1548
1553
  }
1549
1554
  export interface RepositoryRulesetRulesRequiredStatusChecksRequiredCheck {
1550
1555
  /**
1551
- * (String) The status check context name that must be present on the commit.
1556
+ * The status check context name that must be present on the commit.
1552
1557
  */
1553
1558
  context: string;
1554
1559
  /**
1555
- * (Number) The optional integration ID that this status check must originate from.
1560
+ * The optional integration ID that this status check must originate from.
1556
1561
  */
1557
1562
  integrationId?: number;
1558
1563
  }
@@ -1562,15 +1567,15 @@ export interface RepositoryRulesetRulesTagNamePattern {
1562
1567
  */
1563
1568
  name?: string;
1564
1569
  /**
1565
- * (Boolean) If true, the rule will fail if the pattern matches.
1570
+ * If true, the rule will fail if the pattern matches.
1566
1571
  */
1567
1572
  negate?: boolean;
1568
1573
  /**
1569
- * (String) The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1574
+ * The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
1570
1575
  */
1571
1576
  operator: string;
1572
1577
  /**
1573
- * (String) The pattern to match with.
1578
+ * The pattern to match with.
1574
1579
  */
1575
1580
  pattern: string;
1576
1581
  }
@@ -1596,13 +1601,13 @@ export interface RepositorySecurityAndAnalysisAdvancedSecurity {
1596
1601
  }
1597
1602
  export interface RepositorySecurityAndAnalysisSecretScanning {
1598
1603
  /**
1599
- * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
1604
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1600
1605
  */
1601
1606
  status: string;
1602
1607
  }
1603
1608
  export interface RepositorySecurityAndAnalysisSecretScanningPushProtection {
1604
1609
  /**
1605
- * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
1610
+ * The GitHub Pages site's build status e.g. `building` or `built`.
1606
1611
  */
1607
1612
  status: string;
1608
1613
  }
@@ -1651,15 +1656,15 @@ export interface TeamMembersMember {
1651
1656
  }
1652
1657
  export interface TeamSettingsReviewRequestDelegation {
1653
1658
  /**
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`
1659
+ * The algorithm to use when assigning pull requests to team members. Supported values are 'ROUND_ROBIN' and 'LOAD_BALANCE'.
1655
1660
  */
1656
1661
  algorithm?: string;
1657
1662
  /**
1658
- * The number of team members to assign to a pull request
1663
+ * The number of team members to assign to a pull request.
1659
1664
  */
1660
1665
  memberCount?: number;
1661
1666
  /**
1662
- * whether to notify the entire team when at least one member is also assigned to the pull request
1667
+ * whether to notify the entire team when at least one member is also assigned to the pull request.
1663
1668
  */
1664
1669
  notify?: boolean;
1665
1670
  }
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;IAC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G,WAA0C,CAAC;YACzD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,gBAAgB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7D,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,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,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;aAAM;YACH,MAAM,IAAI,GAAG,WAAqD,CAAC;YACnE,cAA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AG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;aAAM;YACH,MAAM,IAAI,GAAG,WAAqD,CAAC;YACnE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;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;;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
  *
package/package.json.bak DELETED
@@ -1,27 +0,0 @@
1
- {
2
- "name": "@pulumi/github",
3
- "version": "${VERSION}",
4
- "description": "A Pulumi package for creating and managing github cloud resources.",
5
- "keywords": [
6
- "pulumi",
7
- "github"
8
- ],
9
- "homepage": "https://pulumi.io",
10
- "repository": "https://github.com/pulumi/pulumi-github",
11
- "license": "Apache-2.0",
12
- "scripts": {
13
- "build": "tsc"
14
- },
15
- "dependencies": {
16
- "@pulumi/pulumi": "^3.0.0"
17
- },
18
- "devDependencies": {
19
- "@types/mime": "^2.0.0",
20
- "@types/node": "^10.0.0",
21
- "typescript": "^4.3.5"
22
- },
23
- "pulumi": {
24
- "resource": true,
25
- "name": "github"
26
- }
27
- }