@pulumi/github 5.22.0-alpha.1698198281 → 5.22.0-alpha.1698212370

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 (352) hide show
  1. package/actionsEnvironmentSecret.d.ts +37 -0
  2. package/actionsEnvironmentSecret.js +37 -0
  3. package/actionsEnvironmentSecret.js.map +1 -1
  4. package/actionsEnvironmentVariable.d.ts +32 -0
  5. package/actionsEnvironmentVariable.js +32 -0
  6. package/actionsEnvironmentVariable.js.map +1 -1
  7. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +13 -0
  8. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +13 -0
  9. package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  10. package/actionsOrganizationPermissions.d.ts +24 -0
  11. package/actionsOrganizationPermissions.js +24 -0
  12. package/actionsOrganizationPermissions.js.map +1 -1
  13. package/actionsOrganizationSecret.d.ts +39 -0
  14. package/actionsOrganizationSecret.js +39 -0
  15. package/actionsOrganizationSecret.js.map +1 -1
  16. package/actionsOrganizationSecretRepositories.d.ts +15 -0
  17. package/actionsOrganizationSecretRepositories.js +15 -0
  18. package/actionsOrganizationSecretRepositories.js.map +1 -1
  19. package/actionsOrganizationVariable.d.ts +28 -0
  20. package/actionsOrganizationVariable.js +28 -0
  21. package/actionsOrganizationVariable.js.map +1 -1
  22. package/actionsRepositoryAccessLevel.d.ts +13 -0
  23. package/actionsRepositoryAccessLevel.js +13 -0
  24. package/actionsRepositoryAccessLevel.js.map +1 -1
  25. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +18 -0
  26. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +18 -0
  27. package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  28. package/actionsRepositoryPermissions.d.ts +21 -0
  29. package/actionsRepositoryPermissions.js +21 -0
  30. package/actionsRepositoryPermissions.js.map +1 -1
  31. package/actionsRunnerGroup.d.ts +13 -0
  32. package/actionsRunnerGroup.js +13 -0
  33. package/actionsRunnerGroup.js.map +1 -1
  34. package/actionsSecret.d.ts +21 -0
  35. package/actionsSecret.js +21 -0
  36. package/actionsSecret.js.map +1 -1
  37. package/actionsVariable.d.ts +13 -0
  38. package/actionsVariable.js +13 -0
  39. package/actionsVariable.js.map +1 -1
  40. package/appInstallationRepository.d.ts +14 -0
  41. package/appInstallationRepository.js +14 -0
  42. package/appInstallationRepository.js.map +1 -1
  43. package/branch.d.ts +12 -0
  44. package/branch.js +12 -0
  45. package/branch.js.map +1 -1
  46. package/branchDefault.d.ts +39 -0
  47. package/branchDefault.js +39 -0
  48. package/branchDefault.js.map +1 -1
  49. package/branchProtection.d.ts +51 -0
  50. package/branchProtection.js +51 -0
  51. package/branchProtection.js.map +1 -1
  52. package/branchProtectionV3.d.ts +56 -0
  53. package/branchProtectionV3.js +56 -0
  54. package/branchProtectionV3.js.map +1 -1
  55. package/codespacesOrganizationSecret.d.ts +39 -0
  56. package/codespacesOrganizationSecret.js +39 -0
  57. package/codespacesOrganizationSecret.js.map +1 -1
  58. package/codespacesOrganizationSecretRepositories.d.ts +15 -0
  59. package/codespacesOrganizationSecretRepositories.js +15 -0
  60. package/codespacesOrganizationSecretRepositories.js.map +1 -1
  61. package/codespacesSecret.d.ts +21 -0
  62. package/codespacesSecret.js +21 -0
  63. package/codespacesSecret.js.map +1 -1
  64. package/codespacesUserSecret.d.ts +21 -0
  65. package/codespacesUserSecret.js +21 -0
  66. package/codespacesUserSecret.js.map +1 -1
  67. package/emuGroupMapping.d.ts +13 -0
  68. package/emuGroupMapping.js +13 -0
  69. package/emuGroupMapping.js.map +1 -1
  70. package/enterpriseOrganization.d.ts +15 -0
  71. package/enterpriseOrganization.js +15 -0
  72. package/enterpriseOrganization.js.map +1 -1
  73. package/getActionsEnvironmentSecrets.d.ts +24 -0
  74. package/getActionsEnvironmentSecrets.js +24 -0
  75. package/getActionsEnvironmentSecrets.js.map +1 -1
  76. package/getActionsEnvironmentVariables.d.ts +24 -0
  77. package/getActionsEnvironmentVariables.js +24 -0
  78. package/getActionsEnvironmentVariables.js.map +1 -1
  79. package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +18 -0
  80. package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js +18 -0
  81. package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  82. package/getActionsOrganizationPublicKey.d.ts +18 -0
  83. package/getActionsOrganizationPublicKey.js +18 -0
  84. package/getActionsOrganizationPublicKey.js.map +1 -1
  85. package/getActionsOrganizationRegistrationToken.d.ts +18 -0
  86. package/getActionsOrganizationRegistrationToken.js +18 -0
  87. package/getActionsOrganizationRegistrationToken.js.map +1 -1
  88. package/getActionsOrganizationSecrets.d.ts +18 -0
  89. package/getActionsOrganizationSecrets.js +18 -0
  90. package/getActionsOrganizationSecrets.js.map +1 -1
  91. package/getActionsOrganizationVariables.d.ts +18 -0
  92. package/getActionsOrganizationVariables.js +18 -0
  93. package/getActionsOrganizationVariables.js.map +1 -1
  94. package/getActionsPublicKey.d.ts +22 -0
  95. package/getActionsPublicKey.js +22 -0
  96. package/getActionsPublicKey.js.map +1 -1
  97. package/getActionsRegistrationToken.d.ts +22 -0
  98. package/getActionsRegistrationToken.js +22 -0
  99. package/getActionsRegistrationToken.js.map +1 -1
  100. package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +22 -0
  101. package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js +22 -0
  102. package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
  103. package/getActionsSecrets.d.ts +22 -0
  104. package/getActionsSecrets.js +22 -0
  105. package/getActionsSecrets.js.map +1 -1
  106. package/getActionsVariables.d.ts +22 -0
  107. package/getActionsVariables.js +22 -0
  108. package/getActionsVariables.js.map +1 -1
  109. package/getAppToken.d.ts +28 -0
  110. package/getAppToken.js +28 -0
  111. package/getAppToken.js.map +1 -1
  112. package/getBranch.d.ts +24 -0
  113. package/getBranch.js +24 -0
  114. package/getBranch.js.map +1 -1
  115. package/getBranchProtectionRules.d.ts +22 -0
  116. package/getBranchProtectionRules.js +22 -0
  117. package/getBranchProtectionRules.js.map +1 -1
  118. package/getCodespacesOrganizationPublicKey.d.ts +18 -0
  119. package/getCodespacesOrganizationPublicKey.js +18 -0
  120. package/getCodespacesOrganizationPublicKey.js.map +1 -1
  121. package/getCodespacesOrganizationSecrets.d.ts +18 -0
  122. package/getCodespacesOrganizationSecrets.js +18 -0
  123. package/getCodespacesOrganizationSecrets.js.map +1 -1
  124. package/getCodespacesPublicKey.d.ts +22 -0
  125. package/getCodespacesPublicKey.js +22 -0
  126. package/getCodespacesPublicKey.js.map +1 -1
  127. package/getCodespacesSecrets.d.ts +28 -0
  128. package/getCodespacesSecrets.js +28 -0
  129. package/getCodespacesSecrets.js.map +1 -1
  130. package/getCodespacesUserPublicKey.d.ts +18 -0
  131. package/getCodespacesUserPublicKey.js +18 -0
  132. package/getCodespacesUserPublicKey.js.map +1 -1
  133. package/getCodespacesUserSecrets.d.ts +18 -0
  134. package/getCodespacesUserSecrets.js +18 -0
  135. package/getCodespacesUserSecrets.js.map +1 -1
  136. package/getCollaborators.d.ts +24 -0
  137. package/getCollaborators.js +24 -0
  138. package/getCollaborators.js.map +1 -1
  139. package/getDependabotOrganizationPublicKey.d.ts +18 -0
  140. package/getDependabotOrganizationPublicKey.js +18 -0
  141. package/getDependabotOrganizationPublicKey.js.map +1 -1
  142. package/getDependabotOrganizationSecrets.d.ts +18 -0
  143. package/getDependabotOrganizationSecrets.js +18 -0
  144. package/getDependabotOrganizationSecrets.js.map +1 -1
  145. package/getDependabotSecrets.d.ts +22 -0
  146. package/getDependabotSecrets.js +22 -0
  147. package/getDependabotSecrets.js.map +1 -1
  148. package/getEnterprise.d.ts +22 -0
  149. package/getEnterprise.js +22 -0
  150. package/getEnterprise.js.map +1 -1
  151. package/getExternalGroups.d.ts +22 -0
  152. package/getExternalGroups.js +22 -0
  153. package/getExternalGroups.js.map +1 -1
  154. package/getGithubApp.d.ts +22 -0
  155. package/getGithubApp.js +22 -0
  156. package/getGithubApp.js.map +1 -1
  157. package/getIpRanges.d.ts +18 -0
  158. package/getIpRanges.js +18 -0
  159. package/getIpRanges.js.map +1 -1
  160. package/getMembership.d.ts +22 -0
  161. package/getMembership.js +22 -0
  162. package/getMembership.js.map +1 -1
  163. package/getOrganization.d.ts +22 -0
  164. package/getOrganization.js +22 -0
  165. package/getOrganization.js.map +1 -1
  166. package/getOrganizationCustomRole.d.ts +22 -0
  167. package/getOrganizationCustomRole.js +22 -0
  168. package/getOrganizationCustomRole.js.map +1 -1
  169. package/getOrganizationExternalIdentities.d.ts +18 -0
  170. package/getOrganizationExternalIdentities.js +18 -0
  171. package/getOrganizationExternalIdentities.js.map +1 -1
  172. package/getOrganizationIpAllowList.d.ts +18 -0
  173. package/getOrganizationIpAllowList.js +18 -0
  174. package/getOrganizationIpAllowList.js.map +1 -1
  175. package/getOrganizationTeamSyncGroups.d.ts +18 -0
  176. package/getOrganizationTeamSyncGroups.js +18 -0
  177. package/getOrganizationTeamSyncGroups.js.map +1 -1
  178. package/getOrganizationTeams.d.ts +44 -0
  179. package/getOrganizationTeams.js +44 -0
  180. package/getOrganizationTeams.js.map +1 -1
  181. package/getOrganizationWebhooks.d.ts +22 -0
  182. package/getOrganizationWebhooks.js +22 -0
  183. package/getOrganizationWebhooks.js.map +1 -1
  184. package/getRef.d.ts +26 -0
  185. package/getRef.js +26 -0
  186. package/getRef.js.map +1 -1
  187. package/getRepositories.d.ts +24 -0
  188. package/getRepositories.js +24 -0
  189. package/getRepositories.js.map +1 -1
  190. package/getRepository.d.ts +22 -0
  191. package/getRepository.js +22 -0
  192. package/getRepository.js.map +1 -1
  193. package/getRepositoryAutolinkReferences.d.ts +22 -0
  194. package/getRepositoryAutolinkReferences.js +22 -0
  195. package/getRepositoryAutolinkReferences.js.map +1 -1
  196. package/getRepositoryBranches.d.ts +22 -0
  197. package/getRepositoryBranches.js +22 -0
  198. package/getRepositoryBranches.js.map +1 -1
  199. package/getRepositoryDeployKeys.d.ts +22 -0
  200. package/getRepositoryDeployKeys.js +22 -0
  201. package/getRepositoryDeployKeys.js.map +1 -1
  202. package/getRepositoryDeploymentBranchPolicies.d.ts +24 -0
  203. package/getRepositoryDeploymentBranchPolicies.js +24 -0
  204. package/getRepositoryDeploymentBranchPolicies.js.map +1 -1
  205. package/getRepositoryEnvironments.d.ts +22 -0
  206. package/getRepositoryEnvironments.js +22 -0
  207. package/getRepositoryEnvironments.js.map +1 -1
  208. package/getRepositoryFile.d.ts +26 -0
  209. package/getRepositoryFile.js +26 -0
  210. package/getRepositoryFile.js.map +1 -1
  211. package/getRepositoryMilestone.d.ts +26 -0
  212. package/getRepositoryMilestone.js +26 -0
  213. package/getRepositoryMilestone.js.map +1 -1
  214. package/getRepositoryPullRequest.d.ts +24 -0
  215. package/getRepositoryPullRequest.js +24 -0
  216. package/getRepositoryPullRequest.js.map +1 -1
  217. package/getRepositoryPullRequests.d.ts +30 -0
  218. package/getRepositoryPullRequests.js +30 -0
  219. package/getRepositoryPullRequests.js.map +1 -1
  220. package/getRepositoryTeams.d.ts +22 -0
  221. package/getRepositoryTeams.js +22 -0
  222. package/getRepositoryTeams.js.map +1 -1
  223. package/getRepositoryWebhooks.d.ts +26 -0
  224. package/getRepositoryWebhooks.js +26 -0
  225. package/getRepositoryWebhooks.js.map +1 -1
  226. package/getRestApi.d.ts +22 -0
  227. package/getRestApi.js +22 -0
  228. package/getRestApi.js.map +1 -1
  229. package/getSshKeys.d.ts +18 -0
  230. package/getSshKeys.js +18 -0
  231. package/getSshKeys.js.map +1 -1
  232. package/getTeam.d.ts +22 -0
  233. package/getTeam.js +22 -0
  234. package/getTeam.js.map +1 -1
  235. package/getTree.d.ts +42 -0
  236. package/getTree.js +42 -0
  237. package/getTree.js.map +1 -1
  238. package/getUser.d.ts +30 -0
  239. package/getUser.js +30 -0
  240. package/getUser.js.map +1 -1
  241. package/getUserExternalIdentity.d.ts +22 -0
  242. package/getUserExternalIdentity.js +22 -0
  243. package/getUserExternalIdentity.js.map +1 -1
  244. package/getUsers.d.ts +34 -0
  245. package/getUsers.js +34 -0
  246. package/getUsers.js.map +1 -1
  247. package/issue.d.ts +49 -0
  248. package/issue.js +49 -0
  249. package/issue.js.map +1 -1
  250. package/issueLabel.d.ts +13 -0
  251. package/issueLabel.js +13 -0
  252. package/issueLabel.js.map +1 -1
  253. package/membership.d.ts +13 -0
  254. package/membership.js +13 -0
  255. package/membership.js.map +1 -1
  256. package/organizationBlock.d.ts +9 -0
  257. package/organizationBlock.js +9 -0
  258. package/organizationBlock.js.map +1 -1
  259. package/organizationCustomRole.d.ts +33 -0
  260. package/organizationCustomRole.js +33 -0
  261. package/organizationCustomRole.js.map +1 -1
  262. package/organizationProject.d.ts +9 -0
  263. package/organizationProject.js +9 -0
  264. package/organizationProject.js.map +1 -1
  265. package/organizationSecurityManager.d.ts +10 -0
  266. package/organizationSecurityManager.js +10 -0
  267. package/organizationSecurityManager.js.map +1 -1
  268. package/organizationSettings.d.ts +35 -0
  269. package/organizationSettings.js +35 -0
  270. package/organizationSettings.js.map +1 -1
  271. package/organizationWebhook.d.ts +17 -0
  272. package/organizationWebhook.js +17 -0
  273. package/organizationWebhook.js.map +1 -1
  274. package/package.json +1 -1
  275. package/projectCard.d.ts +40 -0
  276. package/projectCard.js +40 -0
  277. package/projectCard.js.map +1 -1
  278. package/projectColumn.d.ts +10 -0
  279. package/projectColumn.js +10 -0
  280. package/projectColumn.js.map +1 -1
  281. package/release.d.ts +36 -0
  282. package/release.js +36 -0
  283. package/release.js.map +1 -1
  284. package/repository.d.ts +34 -0
  285. package/repository.js +34 -0
  286. package/repository.js.map +1 -1
  287. package/repositoryAutolinkReference.d.ts +17 -0
  288. package/repositoryAutolinkReference.js +17 -0
  289. package/repositoryAutolinkReference.js.map +1 -1
  290. package/repositoryCollaborator.d.ts +14 -0
  291. package/repositoryCollaborator.js +14 -0
  292. package/repositoryCollaborator.js.map +1 -1
  293. package/repositoryCollaborators.d.ts +22 -0
  294. package/repositoryCollaborators.js +22 -0
  295. package/repositoryCollaborators.js.map +1 -1
  296. package/repositoryDeployKey.d.ts +15 -0
  297. package/repositoryDeployKey.js +15 -0
  298. package/repositoryDeployKey.js.map +1 -1
  299. package/repositoryDeploymentBranchPolicy.d.ts +22 -0
  300. package/repositoryDeploymentBranchPolicy.js +22 -0
  301. package/repositoryDeploymentBranchPolicy.js.map +1 -1
  302. package/repositoryEnvironment.d.ts +23 -0
  303. package/repositoryEnvironment.js +23 -0
  304. package/repositoryEnvironment.js.map +1 -1
  305. package/repositoryEnvironmentDeploymentPolicy.d.ts +29 -0
  306. package/repositoryEnvironmentDeploymentPolicy.js +29 -0
  307. package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
  308. package/repositoryFile.d.ts +19 -0
  309. package/repositoryFile.js +19 -0
  310. package/repositoryFile.js.map +1 -1
  311. package/repositoryMilestone.d.ts +14 -0
  312. package/repositoryMilestone.js +14 -0
  313. package/repositoryMilestone.js.map +1 -1
  314. package/repositoryProject.d.ts +16 -0
  315. package/repositoryProject.js +16 -0
  316. package/repositoryProject.js.map +1 -1
  317. package/repositoryPullRequest.d.ts +15 -0
  318. package/repositoryPullRequest.js +15 -0
  319. package/repositoryPullRequest.js.map +1 -1
  320. package/repositoryRuleset.d.ts +35 -0
  321. package/repositoryRuleset.js +35 -0
  322. package/repositoryRuleset.js.map +1 -1
  323. package/repositoryTagProtection.d.ts +12 -0
  324. package/repositoryTagProtection.js +12 -0
  325. package/repositoryTagProtection.js.map +1 -1
  326. package/repositoryTopics.d.ts +18 -0
  327. package/repositoryTopics.js +18 -0
  328. package/repositoryTopics.js.map +1 -1
  329. package/repositoryWebhook.d.ts +23 -0
  330. package/repositoryWebhook.js +23 -0
  331. package/repositoryWebhook.js.map +1 -1
  332. package/team.d.ts +13 -0
  333. package/team.js +13 -0
  334. package/team.js.map +1 -1
  335. package/teamMembers.d.ts +31 -0
  336. package/teamMembers.js +31 -0
  337. package/teamMembers.js.map +1 -1
  338. package/teamMembership.d.ts +19 -0
  339. package/teamMembership.js +19 -0
  340. package/teamMembership.js.map +1 -1
  341. package/teamRepository.d.ts +16 -0
  342. package/teamRepository.js +16 -0
  343. package/teamRepository.js.map +1 -1
  344. package/teamSettings.d.ts +18 -0
  345. package/teamSettings.js +18 -0
  346. package/teamSettings.js.map +1 -1
  347. package/userGpgKey.d.ts +12 -0
  348. package/userGpgKey.js +12 -0
  349. package/userGpgKey.js.map +1 -1
  350. package/userSshKey.d.ts +13 -0
  351. package/userSshKey.js +13 -0
  352. package/userSshKey.js.map +1 -1
@@ -1,6 +1,17 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Use this data source to retrieve the OpenID Connect subject claim customization template for a repository
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as github from "@pulumi/github";
10
+ *
11
+ * const example = github.getActionsRepositoryOidcSubjectClaimCustomizationTemplate({
12
+ * name: "example_repository",
13
+ * });
14
+ * ```
4
15
  */
5
16
  export declare function getActionsRepositoryOidcSubjectClaimCustomizationTemplate(args: GetActionsRepositoryOidcSubjectClaimCustomizationTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetActionsRepositoryOidcSubjectClaimCustomizationTemplateResult>;
6
17
  /**
@@ -32,6 +43,17 @@ export interface GetActionsRepositoryOidcSubjectClaimCustomizationTemplateResult
32
43
  }
33
44
  /**
34
45
  * Use this data source to retrieve the OpenID Connect subject claim customization template for a repository
46
+ *
47
+ * ## Example Usage
48
+ *
49
+ * ```typescript
50
+ * import * as pulumi from "@pulumi/pulumi";
51
+ * import * as github from "@pulumi/github";
52
+ *
53
+ * const example = github.getActionsRepositoryOidcSubjectClaimCustomizationTemplate({
54
+ * name: "example_repository",
55
+ * });
56
+ * ```
35
57
  */
36
58
  export declare function getActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput(args: GetActionsRepositoryOidcSubjectClaimCustomizationTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetActionsRepositoryOidcSubjectClaimCustomizationTemplateResult>;
37
59
  /**
@@ -7,6 +7,17 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Use this data source to retrieve the OpenID Connect subject claim customization template for a repository
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as github from "@pulumi/github";
16
+ *
17
+ * const example = github.getActionsRepositoryOidcSubjectClaimCustomizationTemplate({
18
+ * name: "example_repository",
19
+ * });
20
+ * ```
10
21
  */
11
22
  function getActionsRepositoryOidcSubjectClaimCustomizationTemplate(args, opts) {
12
23
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -17,6 +28,17 @@ function getActionsRepositoryOidcSubjectClaimCustomizationTemplate(args, opts) {
17
28
  exports.getActionsRepositoryOidcSubjectClaimCustomizationTemplate = getActionsRepositoryOidcSubjectClaimCustomizationTemplate;
18
29
  /**
19
30
  * Use this data source to retrieve the OpenID Connect subject claim customization template for a repository
31
+ *
32
+ * ## Example Usage
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as github from "@pulumi/github";
37
+ *
38
+ * const example = github.getActionsRepositoryOidcSubjectClaimCustomizationTemplate({
39
+ * name: "example_repository",
40
+ * });
41
+ * ```
20
42
  */
21
43
  function getActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput(args, opts) {
22
44
  return pulumi.output(args).apply((a) => getActionsRepositoryOidcSubjectClaimCustomizationTemplate(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js","sourceRoot":"","sources":["../getActionsRepositoryOidcSubjectClaimCustomizationTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,yDAAyD,CAAC,IAAmE,EAAE,IAA2B;IAEtK,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kIAAkI,EAAE;QAC7J,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8HAMC;AA8BD;;GAEG;AACH,SAAgB,+DAA+D,CAAC,IAAyE,EAAE,IAA2B;IAClL,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,yDAAyD,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpH,CAAC;AAFD,0IAEC"}
1
+ {"version":3,"file":"getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js","sourceRoot":"","sources":["../getActionsRepositoryOidcSubjectClaimCustomizationTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,yDAAyD,CAAC,IAAmE,EAAE,IAA2B;IAEtK,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kIAAkI,EAAE;QAC7J,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8HAMC;AA8BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,+DAA+D,CAAC,IAAyE,EAAE,IAA2B;IAClL,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,yDAAyD,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpH,CAAC;AAFD,0IAEC"}
@@ -2,6 +2,17 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
4
  * Use this data source to retrieve the list of secrets for a GitHub repository.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as github from "@pulumi/github";
11
+ *
12
+ * const example = github.getActionsSecrets({
13
+ * name: "example",
14
+ * });
15
+ * ```
5
16
  */
6
17
  export declare function getActionsSecrets(args?: GetActionsSecretsArgs, opts?: pulumi.InvokeOptions): Promise<GetActionsSecretsResult>;
7
18
  /**
@@ -37,6 +48,17 @@ export interface GetActionsSecretsResult {
37
48
  }
38
49
  /**
39
50
  * Use this data source to retrieve the list of secrets for a GitHub repository.
51
+ *
52
+ * ## Example Usage
53
+ *
54
+ * ```typescript
55
+ * import * as pulumi from "@pulumi/pulumi";
56
+ * import * as github from "@pulumi/github";
57
+ *
58
+ * const example = github.getActionsSecrets({
59
+ * name: "example",
60
+ * });
61
+ * ```
40
62
  */
41
63
  export declare function getActionsSecretsOutput(args?: GetActionsSecretsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetActionsSecretsResult>;
42
64
  /**
@@ -7,6 +7,17 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Use this data source to retrieve the list of secrets for a GitHub repository.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as github from "@pulumi/github";
16
+ *
17
+ * const example = github.getActionsSecrets({
18
+ * name: "example",
19
+ * });
20
+ * ```
10
21
  */
11
22
  function getActionsSecrets(args, opts) {
12
23
  args = args || {};
@@ -19,6 +30,17 @@ function getActionsSecrets(args, opts) {
19
30
  exports.getActionsSecrets = getActionsSecrets;
20
31
  /**
21
32
  * Use this data source to retrieve the list of secrets for a GitHub repository.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as github from "@pulumi/github";
39
+ *
40
+ * const example = github.getActionsSecrets({
41
+ * name: "example",
42
+ * });
43
+ * ```
22
44
  */
23
45
  function getActionsSecretsOutput(args, opts) {
24
46
  return pulumi.output(args).apply((a) => getActionsSecrets(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getActionsSecrets.js","sourceRoot":"","sources":["../getActionsSecrets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8CAQC;AAkCD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
1
+ {"version":3,"file":"getActionsSecrets.js","sourceRoot":"","sources":["../getActionsSecrets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8CAQC;AAkCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
@@ -2,6 +2,17 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
4
  * Use this data source to retrieve the list of variables for a GitHub repository.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as github from "@pulumi/github";
11
+ *
12
+ * const example = github.getActionsVariables({
13
+ * name: "example",
14
+ * });
15
+ * ```
5
16
  */
6
17
  export declare function getActionsVariables(args?: GetActionsVariablesArgs, opts?: pulumi.InvokeOptions): Promise<GetActionsVariablesResult>;
7
18
  /**
@@ -37,6 +48,17 @@ export interface GetActionsVariablesResult {
37
48
  }
38
49
  /**
39
50
  * Use this data source to retrieve the list of variables for a GitHub repository.
51
+ *
52
+ * ## Example Usage
53
+ *
54
+ * ```typescript
55
+ * import * as pulumi from "@pulumi/pulumi";
56
+ * import * as github from "@pulumi/github";
57
+ *
58
+ * const example = github.getActionsVariables({
59
+ * name: "example",
60
+ * });
61
+ * ```
40
62
  */
41
63
  export declare function getActionsVariablesOutput(args?: GetActionsVariablesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetActionsVariablesResult>;
42
64
  /**
@@ -7,6 +7,17 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Use this data source to retrieve the list of variables for a GitHub repository.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as github from "@pulumi/github";
16
+ *
17
+ * const example = github.getActionsVariables({
18
+ * name: "example",
19
+ * });
20
+ * ```
10
21
  */
11
22
  function getActionsVariables(args, opts) {
12
23
  args = args || {};
@@ -19,6 +30,17 @@ function getActionsVariables(args, opts) {
19
30
  exports.getActionsVariables = getActionsVariables;
20
31
  /**
21
32
  * Use this data source to retrieve the list of variables for a GitHub repository.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as github from "@pulumi/github";
39
+ *
40
+ * const example = github.getActionsVariables({
41
+ * name: "example",
42
+ * });
43
+ * ```
22
44
  */
23
45
  function getActionsVariablesOutput(args, opts) {
24
46
  return pulumi.output(args).apply((a) => getActionsVariables(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getActionsVariables.js","sourceRoot":"","sources":["../getActionsVariables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC;AAkCD;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
1
+ {"version":3,"file":"getActionsVariables.js","sourceRoot":"","sources":["../getActionsVariables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC;AAkCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
package/getAppToken.d.ts CHANGED
@@ -1,6 +1,20 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Use this data source to generate a [GitHub App JWT](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app).
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as fs from "fs";
10
+ * import * as github from "@pulumi/github";
11
+ *
12
+ * const this = github.getAppToken({
13
+ * appId: "123456",
14
+ * installationId: "78910",
15
+ * pemFile: fs.readFileSync("foo/bar.pem"),
16
+ * });
17
+ * ```
4
18
  */
5
19
  export declare function getAppToken(args: GetAppTokenArgs, opts?: pulumi.InvokeOptions): Promise<GetAppTokenResult>;
6
20
  /**
@@ -38,6 +52,20 @@ export interface GetAppTokenResult {
38
52
  }
39
53
  /**
40
54
  * Use this data source to generate a [GitHub App JWT](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app).
55
+ *
56
+ * ## Example Usage
57
+ *
58
+ * ```typescript
59
+ * import * as pulumi from "@pulumi/pulumi";
60
+ * import * as fs from "fs";
61
+ * import * as github from "@pulumi/github";
62
+ *
63
+ * const this = github.getAppToken({
64
+ * appId: "123456",
65
+ * installationId: "78910",
66
+ * pemFile: fs.readFileSync("foo/bar.pem"),
67
+ * });
68
+ * ```
41
69
  */
42
70
  export declare function getAppTokenOutput(args: GetAppTokenOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAppTokenResult>;
43
71
  /**
package/getAppToken.js CHANGED
@@ -7,6 +7,20 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Use this data source to generate a [GitHub App JWT](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app).
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as fs from "fs";
16
+ * import * as github from "@pulumi/github";
17
+ *
18
+ * const this = github.getAppToken({
19
+ * appId: "123456",
20
+ * installationId: "78910",
21
+ * pemFile: fs.readFileSync("foo/bar.pem"),
22
+ * });
23
+ * ```
10
24
  */
11
25
  function getAppToken(args, opts) {
12
26
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -19,6 +33,20 @@ function getAppToken(args, opts) {
19
33
  exports.getAppToken = getAppToken;
20
34
  /**
21
35
  * Use this data source to generate a [GitHub App JWT](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-a-json-web-token-jwt-for-a-github-app).
36
+ *
37
+ * ## Example Usage
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as fs from "fs";
42
+ * import * as github from "@pulumi/github";
43
+ *
44
+ * const this = github.getAppToken({
45
+ * appId: "123456",
46
+ * installationId: "78910",
47
+ * pemFile: fs.readFileSync("foo/bar.pem"),
48
+ * });
49
+ * ```
22
50
  */
23
51
  function getAppTokenOutput(args, opts) {
24
52
  return pulumi.output(args).apply((a) => getAppToken(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getAppToken.js","sourceRoot":"","sources":["../getAppToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kCAQC;AAoCD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"getAppToken.js","sourceRoot":"","sources":["../getAppToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kCAQC;AAoCD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
package/getBranch.d.ts CHANGED
@@ -1,6 +1,18 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Use this data source to retrieve information about a repository branch.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as github from "@pulumi/github";
10
+ *
11
+ * const development = github.getBranch({
12
+ * branch: "development",
13
+ * repository: "example",
14
+ * });
15
+ * ```
4
16
  */
5
17
  export declare function getBranch(args: GetBranchArgs, opts?: pulumi.InvokeOptions): Promise<GetBranchResult>;
6
18
  /**
@@ -41,6 +53,18 @@ export interface GetBranchResult {
41
53
  }
42
54
  /**
43
55
  * Use this data source to retrieve information about a repository branch.
56
+ *
57
+ * ## Example Usage
58
+ *
59
+ * ```typescript
60
+ * import * as pulumi from "@pulumi/pulumi";
61
+ * import * as github from "@pulumi/github";
62
+ *
63
+ * const development = github.getBranch({
64
+ * branch: "development",
65
+ * repository: "example",
66
+ * });
67
+ * ```
44
68
  */
45
69
  export declare function getBranchOutput(args: GetBranchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBranchResult>;
46
70
  /**
package/getBranch.js CHANGED
@@ -7,6 +7,18 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Use this data source to retrieve information about a repository branch.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as github from "@pulumi/github";
16
+ *
17
+ * const development = github.getBranch({
18
+ * branch: "development",
19
+ * repository: "example",
20
+ * });
21
+ * ```
10
22
  */
11
23
  function getBranch(args, opts) {
12
24
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -18,6 +30,18 @@ function getBranch(args, opts) {
18
30
  exports.getBranch = getBranch;
19
31
  /**
20
32
  * Use this data source to retrieve information about a repository branch.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as github from "@pulumi/github";
39
+ *
40
+ * const development = github.getBranch({
41
+ * branch: "development",
42
+ * repository: "example",
43
+ * });
44
+ * ```
21
45
  */
22
46
  function getBranchOutput(args, opts) {
23
47
  return pulumi.output(args).apply((a) => getBranch(a, opts));
package/getBranch.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getBranch.js","sourceRoot":"","sources":["../getBranch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AAuCD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"getBranch.js","sourceRoot":"","sources":["../getBranch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AAuCD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
@@ -2,6 +2,17 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
4
  * Use this data source to retrieve a list of repository branch protection rules.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as github from "@pulumi/github";
11
+ *
12
+ * const example = github.getBranchProtectionRules({
13
+ * repository: "example",
14
+ * });
15
+ * ```
5
16
  */
6
17
  export declare function getBranchProtectionRules(args: GetBranchProtectionRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetBranchProtectionRulesResult>;
7
18
  /**
@@ -29,6 +40,17 @@ export interface GetBranchProtectionRulesResult {
29
40
  }
30
41
  /**
31
42
  * Use this data source to retrieve a list of repository branch protection rules.
43
+ *
44
+ * ## Example Usage
45
+ *
46
+ * ```typescript
47
+ * import * as pulumi from "@pulumi/pulumi";
48
+ * import * as github from "@pulumi/github";
49
+ *
50
+ * const example = github.getBranchProtectionRules({
51
+ * repository: "example",
52
+ * });
53
+ * ```
32
54
  */
33
55
  export declare function getBranchProtectionRulesOutput(args: GetBranchProtectionRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBranchProtectionRulesResult>;
34
56
  /**
@@ -7,6 +7,17 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Use this data source to retrieve a list of repository branch protection rules.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as github from "@pulumi/github";
16
+ *
17
+ * const example = github.getBranchProtectionRules({
18
+ * repository: "example",
19
+ * });
20
+ * ```
10
21
  */
11
22
  function getBranchProtectionRules(args, opts) {
12
23
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -17,6 +28,17 @@ function getBranchProtectionRules(args, opts) {
17
28
  exports.getBranchProtectionRules = getBranchProtectionRules;
18
29
  /**
19
30
  * Use this data source to retrieve a list of repository branch protection rules.
31
+ *
32
+ * ## Example Usage
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as github from "@pulumi/github";
37
+ *
38
+ * const example = github.getBranchProtectionRules({
39
+ * repository: "example",
40
+ * });
41
+ * ```
20
42
  */
21
43
  function getBranchProtectionRulesOutput(args, opts) {
22
44
  return pulumi.output(args).apply((a) => getBranchProtectionRules(a, opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getBranchProtectionRules.js","sourceRoot":"","sources":["../getBranchProtectionRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IAEpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4DAMC;AA0BD;;GAEG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
1
+ {"version":3,"file":"getBranchProtectionRules.js","sourceRoot":"","sources":["../getBranchProtectionRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IAEpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4DAMC;AA0BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
@@ -2,6 +2,15 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Use this data source to retrieve information about a GitHub Codespaces Organization public key. This data source is required to be used with other GitHub secrets interactions.
4
4
  * Note that the provider `token` must have admin rights to an organization to retrieve it's Codespaces public key.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as github from "@pulumi/github";
11
+ *
12
+ * const example = github.getCodespacesOrganizationPublicKey({});
13
+ * ```
5
14
  */
6
15
  export declare function getCodespacesOrganizationPublicKey(opts?: pulumi.InvokeOptions): Promise<GetCodespacesOrganizationPublicKeyResult>;
7
16
  /**
@@ -24,5 +33,14 @@ export interface GetCodespacesOrganizationPublicKeyResult {
24
33
  /**
25
34
  * Use this data source to retrieve information about a GitHub Codespaces Organization public key. This data source is required to be used with other GitHub secrets interactions.
26
35
  * Note that the provider `token` must have admin rights to an organization to retrieve it's Codespaces public key.
36
+ *
37
+ * ## Example Usage
38
+ *
39
+ * ```typescript
40
+ * import * as pulumi from "@pulumi/pulumi";
41
+ * import * as github from "@pulumi/github";
42
+ *
43
+ * const example = github.getCodespacesOrganizationPublicKey({});
44
+ * ```
27
45
  */
28
46
  export declare function getCodespacesOrganizationPublicKeyOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetCodespacesOrganizationPublicKeyResult>;
@@ -8,6 +8,15 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * Use this data source to retrieve information about a GitHub Codespaces Organization public key. This data source is required to be used with other GitHub secrets interactions.
10
10
  * Note that the provider `token` must have admin rights to an organization to retrieve it's Codespaces public key.
11
+ *
12
+ * ## Example Usage
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as github from "@pulumi/github";
17
+ *
18
+ * const example = github.getCodespacesOrganizationPublicKey({});
19
+ * ```
11
20
  */
12
21
  function getCodespacesOrganizationPublicKey(opts) {
13
22
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -17,6 +26,15 @@ exports.getCodespacesOrganizationPublicKey = getCodespacesOrganizationPublicKey;
17
26
  /**
18
27
  * Use this data source to retrieve information about a GitHub Codespaces Organization public key. This data source is required to be used with other GitHub secrets interactions.
19
28
  * Note that the provider `token` must have admin rights to an organization to retrieve it's Codespaces public key.
29
+ *
30
+ * ## Example Usage
31
+ *
32
+ * ```typescript
33
+ * import * as pulumi from "@pulumi/pulumi";
34
+ * import * as github from "@pulumi/github";
35
+ *
36
+ * const example = github.getCodespacesOrganizationPublicKey({});
37
+ * ```
20
38
  */
21
39
  function getCodespacesOrganizationPublicKeyOutput(opts) {
22
40
  return pulumi.output(getCodespacesOrganizationPublicKey(opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getCodespacesOrganizationPublicKey.js","sourceRoot":"","sources":["../getCodespacesOrganizationPublicKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;GAGG;AACH,SAAgB,kCAAkC,CAAC,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oFAAoF,EAAE,EAClH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gFAKC;AAmBD;;;GAGG;AACH,SAAgB,wCAAwC,CAAC,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,kCAAkC,CAAC,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,4FAEC"}
1
+ {"version":3,"file":"getCodespacesOrganizationPublicKey.js","sourceRoot":"","sources":["../getCodespacesOrganizationPublicKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,kCAAkC,CAAC,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oFAAoF,EAAE,EAClH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gFAKC;AAmBD;;;;;;;;;;;;GAYG;AACH,SAAgB,wCAAwC,CAAC,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,kCAAkC,CAAC,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,4FAEC"}
@@ -2,6 +2,15 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
4
  * Use this data source to retrieve the list of codespaces secrets of the organization.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as github from "@pulumi/github";
11
+ *
12
+ * const example = github.getCodespacesOrganizationSecrets({});
13
+ * ```
5
14
  */
6
15
  export declare function getCodespacesOrganizationSecrets(opts?: pulumi.InvokeOptions): Promise<GetCodespacesOrganizationSecretsResult>;
7
16
  /**
@@ -19,5 +28,14 @@ export interface GetCodespacesOrganizationSecretsResult {
19
28
  }
20
29
  /**
21
30
  * Use this data source to retrieve the list of codespaces secrets of the organization.
31
+ *
32
+ * ## Example Usage
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as github from "@pulumi/github";
37
+ *
38
+ * const example = github.getCodespacesOrganizationSecrets({});
39
+ * ```
22
40
  */
23
41
  export declare function getCodespacesOrganizationSecretsOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetCodespacesOrganizationSecretsResult>;
@@ -7,6 +7,15 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Use this data source to retrieve the list of codespaces secrets of the organization.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as github from "@pulumi/github";
16
+ *
17
+ * const example = github.getCodespacesOrganizationSecrets({});
18
+ * ```
10
19
  */
11
20
  function getCodespacesOrganizationSecrets(opts) {
12
21
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -15,6 +24,15 @@ function getCodespacesOrganizationSecrets(opts) {
15
24
  exports.getCodespacesOrganizationSecrets = getCodespacesOrganizationSecrets;
16
25
  /**
17
26
  * Use this data source to retrieve the list of codespaces secrets of the organization.
27
+ *
28
+ * ## Example Usage
29
+ *
30
+ * ```typescript
31
+ * import * as pulumi from "@pulumi/pulumi";
32
+ * import * as github from "@pulumi/github";
33
+ *
34
+ * const example = github.getCodespacesOrganizationSecrets({});
35
+ * ```
18
36
  */
19
37
  function getCodespacesOrganizationSecretsOutput(opts) {
20
38
  return pulumi.output(getCodespacesOrganizationSecrets(opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getCodespacesOrganizationSecrets.js","sourceRoot":"","sources":["../getCodespacesOrganizationSecrets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,gCAAgC,CAAC,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gFAAgF,EAAE,EAC9G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4EAKC;AAeD;;GAEG;AACH,SAAgB,sCAAsC,CAAC,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,gCAAgC,CAAC,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,wFAEC"}
1
+ {"version":3,"file":"getCodespacesOrganizationSecrets.js","sourceRoot":"","sources":["../getCodespacesOrganizationSecrets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,gCAAgC,CAAC,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gFAAgF,EAAE,EAC9G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4EAKC;AAeD;;;;;;;;;;;GAWG;AACH,SAAgB,sCAAsC,CAAC,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,gCAAgC,CAAC,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,wFAEC"}