@pulumi/github 6.3.0-alpha.1713332421 → 6.3.0-alpha.1713561029
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.
- package/actionsEnvironmentSecret.d.ts +0 -43
- package/actionsEnvironmentSecret.js +0 -43
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsEnvironmentVariable.d.ts +4 -4
- package/actionsEnvironmentVariable.js +4 -4
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +1 -1
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +1 -1
- package/actionsOrganizationPermissions.d.ts +1 -1
- package/actionsOrganizationPermissions.js +1 -1
- package/actionsOrganizationSecret.d.ts +0 -41
- package/actionsOrganizationSecret.js +0 -41
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +1 -1
- package/actionsOrganizationSecretRepositories.js +1 -1
- package/actionsOrganizationVariable.d.ts +3 -3
- package/actionsOrganizationVariable.js +3 -3
- package/actionsRepositoryAccessLevel.d.ts +4 -1
- package/actionsRepositoryAccessLevel.js +4 -1
- package/actionsRepositoryAccessLevel.js.map +1 -1
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +2 -2
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +2 -2
- package/actionsRepositoryPermissions.d.ts +1 -1
- package/actionsRepositoryPermissions.js +1 -1
- package/actionsRunnerGroup.d.ts +4 -3
- package/actionsRunnerGroup.js +4 -3
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +0 -21
- package/actionsSecret.js +0 -21
- package/actionsSecret.js.map +1 -1
- package/actionsVariable.d.ts +2 -2
- package/actionsVariable.js +2 -2
- package/appInstallationRepository.d.ts +2 -2
- package/appInstallationRepository.js +2 -2
- package/branch.d.ts +1 -1
- package/branch.js +1 -1
- package/branchDefault.d.ts +2 -0
- package/branchDefault.js +2 -0
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +8 -8
- package/branchProtection.js +8 -8
- package/branchProtectionV3.d.ts +1 -1
- package/branchProtectionV3.js +1 -1
- package/codespacesOrganizationSecret.d.ts +0 -41
- package/codespacesOrganizationSecret.js +0 -41
- package/codespacesOrganizationSecret.js.map +1 -1
- package/codespacesOrganizationSecretRepositories.d.ts +1 -1
- package/codespacesOrganizationSecretRepositories.js +1 -1
- package/codespacesSecret.d.ts +0 -21
- package/codespacesSecret.js +0 -21
- package/codespacesSecret.js.map +1 -1
- package/codespacesUserSecret.d.ts +0 -21
- package/codespacesUserSecret.js +0 -21
- package/codespacesUserSecret.js.map +1 -1
- package/dependabotOrganizationSecret.d.ts +0 -41
- package/dependabotOrganizationSecret.js +0 -41
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.d.ts +3 -3
- package/dependabotOrganizationSecretRepositories.js +3 -3
- package/dependabotSecret.d.ts +0 -21
- package/dependabotSecret.js +0 -21
- package/dependabotSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +2 -3
- package/emuGroupMapping.js +2 -3
- package/emuGroupMapping.js.map +1 -1
- package/enterpriseActionsRunnerGroup.d.ts +3 -1
- package/enterpriseActionsRunnerGroup.js +3 -1
- package/enterpriseActionsRunnerGroup.js.map +1 -1
- package/enterpriseOrganization.d.ts +2 -1
- package/enterpriseOrganization.js +2 -1
- package/enterpriseOrganization.js.map +1 -1
- package/getActionsEnvironmentSecrets.d.ts +2 -2
- package/getActionsEnvironmentSecrets.js +2 -2
- package/getActionsEnvironmentVariables.d.ts +2 -2
- package/getActionsEnvironmentVariables.js +2 -2
- package/getAppToken.d.ts +12 -8
- package/getAppToken.js +12 -8
- package/getAppToken.js.map +1 -1
- package/getBranch.d.ts +2 -2
- package/getBranch.js +2 -2
- package/getRef.d.ts +2 -2
- package/getRef.js +2 -2
- package/getRelease.d.ts +2 -2
- package/getRelease.js +2 -2
- package/getRepositories.d.ts +2 -2
- package/getRepositories.js +2 -2
- package/getRepositoryDeploymentBranchPolicies.d.ts +2 -2
- package/getRepositoryDeploymentBranchPolicies.js +2 -2
- package/getRepositoryFile.d.ts +2 -2
- package/getRepositoryFile.js +2 -2
- package/getRepositoryMilestone.d.ts +2 -2
- package/getRepositoryMilestone.js +2 -2
- package/getRepositoryPullRequests.d.ts +2 -2
- package/getRepositoryPullRequests.js +2 -2
- package/getTree.d.ts +16 -16
- package/getTree.js +16 -16
- package/getUser.d.ts +4 -0
- package/getUser.js +4 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +2 -0
- package/getUsers.js +2 -0
- package/getUsers.js.map +1 -1
- package/issue.d.ts +15 -9
- package/issue.js +15 -9
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +3 -2
- package/issueLabel.js +3 -2
- package/issueLabel.js.map +1 -1
- package/issueLabels.d.ts +4 -4
- package/issueLabels.js +4 -4
- package/membership.d.ts +2 -2
- package/membership.js +2 -2
- package/organizationCustomRole.d.ts +2 -1
- package/organizationCustomRole.js +2 -1
- package/organizationCustomRole.js.map +1 -1
- package/organizationProject.d.ts +4 -1
- package/organizationProject.js +4 -1
- package/organizationProject.js.map +1 -1
- package/organizationRuleset.d.ts +39 -0
- package/organizationRuleset.js +39 -0
- package/organizationRuleset.js.map +1 -1
- package/organizationSecurityManager.d.ts +5 -2
- package/organizationSecurityManager.js +5 -2
- package/organizationSecurityManager.js.map +1 -1
- package/organizationSettings.d.ts +15 -14
- package/organizationSettings.js +15 -14
- package/organizationSettings.js.map +1 -1
- package/package.json +1 -1
- package/projectCard.d.ts +20 -9
- package/projectCard.js +20 -9
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +8 -2
- package/projectColumn.js +8 -2
- package/projectColumn.js.map +1 -1
- package/release.d.ts +10 -6
- package/release.js +10 -6
- package/release.js.map +1 -1
- package/repository.d.ts +5 -3
- package/repository.js +5 -3
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +1 -0
- package/repositoryAutolinkReference.js +1 -0
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +2 -2
- package/repositoryCollaborator.js +2 -2
- package/repositoryCollaborators.d.ts +6 -3
- package/repositoryCollaborators.js +6 -3
- package/repositoryCollaborators.js.map +1 -1
- package/repositoryDependabotSecurityUpdates.d.ts +2 -1
- package/repositoryDependabotSecurityUpdates.js +2 -1
- package/repositoryDependabotSecurityUpdates.js.map +1 -1
- package/repositoryDeployKey.d.ts +3 -3
- package/repositoryDeployKey.js +3 -3
- package/repositoryDeploymentBranchPolicy.d.ts +1 -0
- package/repositoryDeploymentBranchPolicy.js +1 -0
- package/repositoryDeploymentBranchPolicy.js.map +1 -1
- package/repositoryEnvironment.d.ts +6 -3
- package/repositoryEnvironment.js +6 -3
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryEnvironmentDeploymentPolicy.d.ts +5 -5
- package/repositoryEnvironmentDeploymentPolicy.js +5 -5
- package/repositoryFile.d.ts +6 -3
- package/repositoryFile.js +6 -3
- package/repositoryFile.js.map +1 -1
- package/repositoryProject.d.ts +3 -1
- package/repositoryProject.js +3 -1
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.d.ts +2 -2
- package/repositoryPullRequest.js +2 -2
- package/repositoryRuleset.d.ts +7 -3
- package/repositoryRuleset.js +7 -3
- package/repositoryRuleset.js.map +1 -1
- package/repositoryTagProtection.d.ts +1 -1
- package/repositoryTagProtection.js +1 -1
- package/repositoryTopics.d.ts +3 -3
- package/repositoryTopics.js +3 -3
- package/repositoryWebhook.d.ts +1 -0
- package/repositoryWebhook.js +1 -0
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +2 -1
- package/team.js +2 -1
- package/team.js.map +1 -1
- package/teamMembers.d.ts +7 -4
- package/teamMembers.js +7 -4
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +6 -3
- package/teamMembership.js +6 -3
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +6 -3
- package/teamRepository.js +6 -3
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +5 -2
- package/teamSettings.js +5 -2
- package/teamSettings.js.map +1 -1
- package/teamSyncGroupMapping.d.ts +19 -0
- package/teamSyncGroupMapping.js +19 -0
- package/teamSyncGroupMapping.js.map +1 -1
- package/userGpgKey.d.ts +1 -2
- package/userGpgKey.js +1 -2
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.d.ts +4 -7
- package/userInvitationAccepter.js +4 -7
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.d.ts +4 -2
- package/userSshKey.js +4 -2
- package/userSshKey.js.map +1 -1
package/dependabotSecret.d.ts
CHANGED
|
@@ -2,27 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* ## Example Usage
|
|
4
4
|
*
|
|
5
|
-
* <!--Start PulumiCodeChooser -->
|
|
6
|
-
* ```typescript
|
|
7
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
-
* import * as github from "@pulumi/github";
|
|
9
|
-
*
|
|
10
|
-
* const examplePublicKey = github.getDependabotPublicKey({
|
|
11
|
-
* repository: "example_repository",
|
|
12
|
-
* });
|
|
13
|
-
* const exampleSecretDependabotSecret = new github.DependabotSecret("exampleSecretDependabotSecret", {
|
|
14
|
-
* repository: "example_repository",
|
|
15
|
-
* secretName: "example_secret_name",
|
|
16
|
-
* plaintextValue: _var.some_secret_string,
|
|
17
|
-
* });
|
|
18
|
-
* const exampleSecretIndex_dependabotSecretDependabotSecret = new github.DependabotSecret("exampleSecretIndex/dependabotSecretDependabotSecret", {
|
|
19
|
-
* repository: "example_repository",
|
|
20
|
-
* secretName: "example_secret_name",
|
|
21
|
-
* encryptedValue: _var.some_encrypted_secret_string,
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
* <!--End PulumiCodeChooser -->
|
|
25
|
-
*
|
|
26
5
|
* ## Import
|
|
27
6
|
*
|
|
28
7
|
* This resource can be imported using an ID made up of the `repository` and `secret_name`:
|
package/dependabotSecret.js
CHANGED
|
@@ -8,27 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
|
-
* ```typescript
|
|
13
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
-
* import * as github from "@pulumi/github";
|
|
15
|
-
*
|
|
16
|
-
* const examplePublicKey = github.getDependabotPublicKey({
|
|
17
|
-
* repository: "example_repository",
|
|
18
|
-
* });
|
|
19
|
-
* const exampleSecretDependabotSecret = new github.DependabotSecret("exampleSecretDependabotSecret", {
|
|
20
|
-
* repository: "example_repository",
|
|
21
|
-
* secretName: "example_secret_name",
|
|
22
|
-
* plaintextValue: _var.some_secret_string,
|
|
23
|
-
* });
|
|
24
|
-
* const exampleSecretIndex_dependabotSecretDependabotSecret = new github.DependabotSecret("exampleSecretIndex/dependabotSecretDependabotSecret", {
|
|
25
|
-
* repository: "example_repository",
|
|
26
|
-
* secretName: "example_secret_name",
|
|
27
|
-
* encryptedValue: _var.some_encrypted_secret_string,
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
30
|
-
* <!--End PulumiCodeChooser -->
|
|
31
|
-
*
|
|
32
11
|
* ## Import
|
|
33
12
|
*
|
|
34
13
|
* This resource can be imported using an ID made up of the `repository` and `secret_name`:
|
package/dependabotSecret.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependabotSecret.js","sourceRoot":"","sources":["../dependabotSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dependabotSecret.js","sourceRoot":"","sources":["../dependabotSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,gB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C,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,EAAE,CAAC;QACrF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA3FL,4CA4FC;AA9EG,gBAAgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
|
package/emuGroupMapping.d.ts
CHANGED
|
@@ -9,11 +9,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
10
|
* import * as github from "@pulumi/github";
|
|
11
11
|
*
|
|
12
|
-
* const exampleEmuGroupMapping = new github.EmuGroupMapping("
|
|
13
|
-
* groupId: 28836,
|
|
12
|
+
* const exampleEmuGroupMapping = new github.EmuGroupMapping("example_emu_group_mapping", {
|
|
14
13
|
* teamSlug: "emu-test-team",
|
|
14
|
+
* groupId: 28836,
|
|
15
15
|
* });
|
|
16
|
-
* // The GitHub team name to modify
|
|
17
16
|
* ```
|
|
18
17
|
* <!--End PulumiCodeChooser -->
|
|
19
18
|
*
|
package/emuGroupMapping.js
CHANGED
|
@@ -15,11 +15,10 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as github from "@pulumi/github";
|
|
17
17
|
*
|
|
18
|
-
* const exampleEmuGroupMapping = new github.EmuGroupMapping("
|
|
19
|
-
* groupId: 28836,
|
|
18
|
+
* const exampleEmuGroupMapping = new github.EmuGroupMapping("example_emu_group_mapping", {
|
|
20
19
|
* teamSlug: "emu-test-team",
|
|
20
|
+
* groupId: 28836,
|
|
21
21
|
* });
|
|
22
|
-
* // The GitHub team name to modify
|
|
23
22
|
* ```
|
|
24
23
|
* <!--End PulumiCodeChooser -->
|
|
25
24
|
*
|
package/emuGroupMapping.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emuGroupMapping.js","sourceRoot":"","sources":["../emuGroupMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"emuGroupMapping.js","sourceRoot":"","sources":["../emuGroupMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAoBD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC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
15
|
* });
|
|
16
|
-
* const enterpriseOrganization = new github.EnterpriseOrganization("
|
|
16
|
+
* const enterpriseOrganization = new github.EnterpriseOrganization("enterprise_organization", {
|
|
17
17
|
* enterpriseId: enterprise.then(enterprise => enterprise.id),
|
|
18
|
+
* name: "my-organization",
|
|
18
19
|
* billingEmail: "octocat@octo.cat",
|
|
19
20
|
* adminLogins: ["octocat"],
|
|
20
21
|
* });
|
|
21
22
|
* const example = new github.EnterpriseActionsRunnerGroup("example", {
|
|
23
|
+
* name: "my-awesome-runner-group",
|
|
22
24
|
* enterpriseSlug: enterprise.then(enterprise => enterprise.slug),
|
|
23
25
|
* allowsPublicRepositories: true,
|
|
24
26
|
* visibility: "selected",
|
|
@@ -19,12 +19,14 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* const enterprise = github.getEnterprise({
|
|
20
20
|
* slug: "my-enterprise",
|
|
21
21
|
* });
|
|
22
|
-
* const enterpriseOrganization = new github.EnterpriseOrganization("
|
|
22
|
+
* const enterpriseOrganization = new github.EnterpriseOrganization("enterprise_organization", {
|
|
23
23
|
* enterpriseId: enterprise.then(enterprise => enterprise.id),
|
|
24
|
+
* name: "my-organization",
|
|
24
25
|
* billingEmail: "octocat@octo.cat",
|
|
25
26
|
* adminLogins: ["octocat"],
|
|
26
27
|
* });
|
|
27
28
|
* const example = new github.EnterpriseActionsRunnerGroup("example", {
|
|
29
|
+
* name: "my-awesome-runner-group",
|
|
28
30
|
* enterpriseSlug: enterprise.then(enterprise => enterprise.slug),
|
|
29
31
|
* allowsPublicRepositories: true,
|
|
30
32
|
* visibility: "selected",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enterpriseActionsRunnerGroup.js","sourceRoot":"","sources":["../enterpriseActionsRunnerGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"enterpriseActionsRunnerGroup.js","sourceRoot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AAgB;AACO,yCAAY,GAAG,wEAAwE,CAAC"}
|
|
@@ -10,7 +10,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as github from "@pulumi/github";
|
|
11
11
|
*
|
|
12
12
|
* const org = new github.EnterpriseOrganization("org", {
|
|
13
|
-
* enterpriseId:
|
|
13
|
+
* enterpriseId: enterprise.id,
|
|
14
|
+
* name: "some-awesome-org",
|
|
14
15
|
* displayName: "Some Awesome Org",
|
|
15
16
|
* description: "Organization created with terraform",
|
|
16
17
|
* billingEmail: "jon@winteriscoming.com",
|
|
@@ -16,7 +16,8 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as github from "@pulumi/github";
|
|
17
17
|
*
|
|
18
18
|
* const org = new github.EnterpriseOrganization("org", {
|
|
19
|
-
* enterpriseId:
|
|
19
|
+
* enterpriseId: enterprise.id,
|
|
20
|
+
* name: "some-awesome-org",
|
|
20
21
|
* displayName: "Some Awesome Org",
|
|
21
22
|
* description: "Organization created with terraform",
|
|
22
23
|
* billingEmail: "jon@winteriscoming.com",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enterpriseOrganization.js","sourceRoot":"","sources":["../enterpriseOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"enterpriseOrganization.js","sourceRoot":"","sources":["../enterpriseOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;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,IA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AAS,CAAC,OAAO,CAAC;SACpD;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;;AAlGL,wDAmGC;AArFG,gBAAgB;AACO,mCAAY,GAAG,4DAA4D,CAAC"}
|
|
@@ -11,8 +11,8 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* import * as github from "@pulumi/github";
|
|
12
12
|
*
|
|
13
13
|
* const example = github.getActionsEnvironmentSecrets({
|
|
14
|
-
* environment: "exampleEnvironment",
|
|
15
14
|
* name: "exampleRepo",
|
|
15
|
+
* environment: "exampleEnvironment",
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
* <!--End PulumiCodeChooser -->
|
|
@@ -59,8 +59,8 @@ export interface GetActionsEnvironmentSecretsResult {
|
|
|
59
59
|
* import * as github from "@pulumi/github";
|
|
60
60
|
*
|
|
61
61
|
* const example = github.getActionsEnvironmentSecrets({
|
|
62
|
-
* environment: "exampleEnvironment",
|
|
63
62
|
* name: "exampleRepo",
|
|
63
|
+
* environment: "exampleEnvironment",
|
|
64
64
|
* });
|
|
65
65
|
* ```
|
|
66
66
|
* <!--End PulumiCodeChooser -->
|
|
@@ -16,8 +16,8 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as github from "@pulumi/github";
|
|
17
17
|
*
|
|
18
18
|
* const example = github.getActionsEnvironmentSecrets({
|
|
19
|
-
* environment: "exampleEnvironment",
|
|
20
19
|
* name: "exampleRepo",
|
|
20
|
+
* environment: "exampleEnvironment",
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
* <!--End PulumiCodeChooser -->
|
|
@@ -42,8 +42,8 @@ exports.getActionsEnvironmentSecrets = getActionsEnvironmentSecrets;
|
|
|
42
42
|
* import * as github from "@pulumi/github";
|
|
43
43
|
*
|
|
44
44
|
* const example = github.getActionsEnvironmentSecrets({
|
|
45
|
-
* environment: "exampleEnvironment",
|
|
46
45
|
* name: "exampleRepo",
|
|
46
|
+
* environment: "exampleEnvironment",
|
|
47
47
|
* });
|
|
48
48
|
* ```
|
|
49
49
|
* <!--End PulumiCodeChooser -->
|
|
@@ -11,8 +11,8 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* import * as github from "@pulumi/github";
|
|
12
12
|
*
|
|
13
13
|
* const example = github.getActionsEnvironmentVariables({
|
|
14
|
-
* environment: "exampleEnvironment",
|
|
15
14
|
* name: "exampleRepo",
|
|
15
|
+
* environment: "exampleEnvironment",
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
* <!--End PulumiCodeChooser -->
|
|
@@ -59,8 +59,8 @@ export interface GetActionsEnvironmentVariablesResult {
|
|
|
59
59
|
* import * as github from "@pulumi/github";
|
|
60
60
|
*
|
|
61
61
|
* const example = github.getActionsEnvironmentVariables({
|
|
62
|
-
* environment: "exampleEnvironment",
|
|
63
62
|
* name: "exampleRepo",
|
|
63
|
+
* environment: "exampleEnvironment",
|
|
64
64
|
* });
|
|
65
65
|
* ```
|
|
66
66
|
* <!--End PulumiCodeChooser -->
|
|
@@ -16,8 +16,8 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as github from "@pulumi/github";
|
|
17
17
|
*
|
|
18
18
|
* const example = github.getActionsEnvironmentVariables({
|
|
19
|
-
* environment: "exampleEnvironment",
|
|
20
19
|
* name: "exampleRepo",
|
|
20
|
+
* environment: "exampleEnvironment",
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
* <!--End PulumiCodeChooser -->
|
|
@@ -42,8 +42,8 @@ exports.getActionsEnvironmentVariables = getActionsEnvironmentVariables;
|
|
|
42
42
|
* import * as github from "@pulumi/github";
|
|
43
43
|
*
|
|
44
44
|
* const example = github.getActionsEnvironmentVariables({
|
|
45
|
-
* environment: "exampleEnvironment",
|
|
46
45
|
* name: "exampleRepo",
|
|
46
|
+
* environment: "exampleEnvironment",
|
|
47
47
|
* });
|
|
48
48
|
* ```
|
|
49
49
|
* <!--End PulumiCodeChooser -->
|
package/getAppToken.d.ts
CHANGED
|
@@ -7,14 +7,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
7
7
|
* <!--Start PulumiCodeChooser -->
|
|
8
8
|
* ```typescript
|
|
9
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as fs from "fs";
|
|
11
10
|
* import * as github from "@pulumi/github";
|
|
11
|
+
* import * as std from "@pulumi/std";
|
|
12
12
|
*
|
|
13
|
-
* const this =
|
|
13
|
+
* const this = std.file({
|
|
14
|
+
* input: "foo/bar.pem",
|
|
15
|
+
* }).then(invoke => github.getAppToken({
|
|
14
16
|
* appId: "123456",
|
|
15
17
|
* installationId: "78910",
|
|
16
|
-
* pemFile:
|
|
17
|
-
* });
|
|
18
|
+
* pemFile: invoke.result,
|
|
19
|
+
* }));
|
|
18
20
|
* ```
|
|
19
21
|
* <!--End PulumiCodeChooser -->
|
|
20
22
|
*/
|
|
@@ -60,14 +62,16 @@ export interface GetAppTokenResult {
|
|
|
60
62
|
* <!--Start PulumiCodeChooser -->
|
|
61
63
|
* ```typescript
|
|
62
64
|
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
-
* import * as fs from "fs";
|
|
64
65
|
* import * as github from "@pulumi/github";
|
|
66
|
+
* import * as std from "@pulumi/std";
|
|
65
67
|
*
|
|
66
|
-
* const this =
|
|
68
|
+
* const this = std.file({
|
|
69
|
+
* input: "foo/bar.pem",
|
|
70
|
+
* }).then(invoke => github.getAppToken({
|
|
67
71
|
* appId: "123456",
|
|
68
72
|
* installationId: "78910",
|
|
69
|
-
* pemFile:
|
|
70
|
-
* });
|
|
73
|
+
* pemFile: invoke.result,
|
|
74
|
+
* }));
|
|
71
75
|
* ```
|
|
72
76
|
* <!--End PulumiCodeChooser -->
|
|
73
77
|
*/
|
package/getAppToken.js
CHANGED
|
@@ -13,14 +13,16 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* <!--Start PulumiCodeChooser -->
|
|
14
14
|
* ```typescript
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as fs from "fs";
|
|
17
16
|
* import * as github from "@pulumi/github";
|
|
17
|
+
* import * as std from "@pulumi/std";
|
|
18
18
|
*
|
|
19
|
-
* const this =
|
|
19
|
+
* const this = std.file({
|
|
20
|
+
* input: "foo/bar.pem",
|
|
21
|
+
* }).then(invoke => github.getAppToken({
|
|
20
22
|
* appId: "123456",
|
|
21
23
|
* installationId: "78910",
|
|
22
|
-
* pemFile:
|
|
23
|
-
* });
|
|
24
|
+
* pemFile: invoke.result,
|
|
25
|
+
* }));
|
|
24
26
|
* ```
|
|
25
27
|
* <!--End PulumiCodeChooser -->
|
|
26
28
|
*/
|
|
@@ -41,14 +43,16 @@ exports.getAppToken = getAppToken;
|
|
|
41
43
|
* <!--Start PulumiCodeChooser -->
|
|
42
44
|
* ```typescript
|
|
43
45
|
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
-
* import * as fs from "fs";
|
|
45
46
|
* import * as github from "@pulumi/github";
|
|
47
|
+
* import * as std from "@pulumi/std";
|
|
46
48
|
*
|
|
47
|
-
* const this =
|
|
49
|
+
* const this = std.file({
|
|
50
|
+
* input: "foo/bar.pem",
|
|
51
|
+
* }).then(invoke => github.getAppToken({
|
|
48
52
|
* appId: "123456",
|
|
49
53
|
* installationId: "78910",
|
|
50
|
-
* pemFile:
|
|
51
|
-
* });
|
|
54
|
+
* pemFile: invoke.result,
|
|
55
|
+
* }));
|
|
52
56
|
* ```
|
|
53
57
|
* <!--End PulumiCodeChooser -->
|
|
54
58
|
*/
|
package/getAppToken.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAppToken.js","sourceRoot":"","sources":["../getAppToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAppToken.js","sourceRoot":"","sources":["../getAppToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;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;;;;;;;;;;;;;;;;;;;;GAoBG;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
|
@@ -10,8 +10,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as github from "@pulumi/github";
|
|
11
11
|
*
|
|
12
12
|
* const development = github.getBranch({
|
|
13
|
-
* branch: "development",
|
|
14
13
|
* repository: "example",
|
|
14
|
+
* branch: "development",
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
17
17
|
* <!--End PulumiCodeChooser -->
|
|
@@ -64,8 +64,8 @@ export interface GetBranchResult {
|
|
|
64
64
|
* import * as github from "@pulumi/github";
|
|
65
65
|
*
|
|
66
66
|
* const development = github.getBranch({
|
|
67
|
-
* branch: "development",
|
|
68
67
|
* repository: "example",
|
|
68
|
+
* branch: "development",
|
|
69
69
|
* });
|
|
70
70
|
* ```
|
|
71
71
|
* <!--End PulumiCodeChooser -->
|
package/getBranch.js
CHANGED
|
@@ -16,8 +16,8 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as github from "@pulumi/github";
|
|
17
17
|
*
|
|
18
18
|
* const development = github.getBranch({
|
|
19
|
-
* branch: "development",
|
|
20
19
|
* repository: "example",
|
|
20
|
+
* branch: "development",
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
* <!--End PulumiCodeChooser -->
|
|
@@ -41,8 +41,8 @@ exports.getBranch = getBranch;
|
|
|
41
41
|
* import * as github from "@pulumi/github";
|
|
42
42
|
*
|
|
43
43
|
* const development = github.getBranch({
|
|
44
|
-
* branch: "development",
|
|
45
44
|
* repository: "example",
|
|
45
|
+
* branch: "development",
|
|
46
46
|
* });
|
|
47
47
|
* ```
|
|
48
48
|
* <!--End PulumiCodeChooser -->
|
package/getRef.d.ts
CHANGED
|
@@ -11,8 +11,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
*
|
|
12
12
|
* const development = github.getRef({
|
|
13
13
|
* owner: "example",
|
|
14
|
-
* ref: "heads/development",
|
|
15
14
|
* repository: "example",
|
|
15
|
+
* ref: "heads/development",
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
* <!--End PulumiCodeChooser -->
|
|
@@ -67,8 +67,8 @@ export interface GetRefResult {
|
|
|
67
67
|
*
|
|
68
68
|
* const development = github.getRef({
|
|
69
69
|
* owner: "example",
|
|
70
|
-
* ref: "heads/development",
|
|
71
70
|
* repository: "example",
|
|
71
|
+
* ref: "heads/development",
|
|
72
72
|
* });
|
|
73
73
|
* ```
|
|
74
74
|
* <!--End PulumiCodeChooser -->
|
package/getRef.js
CHANGED
|
@@ -17,8 +17,8 @@ const utilities = require("./utilities");
|
|
|
17
17
|
*
|
|
18
18
|
* const development = github.getRef({
|
|
19
19
|
* owner: "example",
|
|
20
|
-
* ref: "heads/development",
|
|
21
20
|
* repository: "example",
|
|
21
|
+
* ref: "heads/development",
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
* <!--End PulumiCodeChooser -->
|
|
@@ -44,8 +44,8 @@ exports.getRef = getRef;
|
|
|
44
44
|
*
|
|
45
45
|
* const development = github.getRef({
|
|
46
46
|
* owner: "example",
|
|
47
|
-
* ref: "heads/development",
|
|
48
47
|
* repository: "example",
|
|
48
|
+
* ref: "heads/development",
|
|
49
49
|
* });
|
|
50
50
|
* ```
|
|
51
51
|
* <!--End PulumiCodeChooser -->
|
package/getRelease.d.ts
CHANGED
|
@@ -13,8 +13,8 @@ import * as outputs from "./types/output";
|
|
|
13
13
|
* import * as github from "@pulumi/github";
|
|
14
14
|
*
|
|
15
15
|
* const example = github.getRelease({
|
|
16
|
-
* owner: "example-owner",
|
|
17
16
|
* repository: "example-repository",
|
|
17
|
+
* owner: "example-owner",
|
|
18
18
|
* retrieveBy: "latest",
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
@@ -143,8 +143,8 @@ export interface GetReleaseResult {
|
|
|
143
143
|
* import * as github from "@pulumi/github";
|
|
144
144
|
*
|
|
145
145
|
* const example = github.getRelease({
|
|
146
|
-
* owner: "example-owner",
|
|
147
146
|
* repository: "example-repository",
|
|
147
|
+
* owner: "example-owner",
|
|
148
148
|
* retrieveBy: "latest",
|
|
149
149
|
* });
|
|
150
150
|
* ```
|
package/getRelease.js
CHANGED
|
@@ -18,8 +18,8 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* import * as github from "@pulumi/github";
|
|
19
19
|
*
|
|
20
20
|
* const example = github.getRelease({
|
|
21
|
-
* owner: "example-owner",
|
|
22
21
|
* repository: "example-repository",
|
|
22
|
+
* owner: "example-owner",
|
|
23
23
|
* retrieveBy: "latest",
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
@@ -51,8 +51,8 @@ exports.getRelease = getRelease;
|
|
|
51
51
|
* import * as github from "@pulumi/github";
|
|
52
52
|
*
|
|
53
53
|
* const example = github.getRelease({
|
|
54
|
-
* owner: "example-owner",
|
|
55
54
|
* repository: "example-repository",
|
|
55
|
+
* owner: "example-owner",
|
|
56
56
|
* retrieveBy: "latest",
|
|
57
57
|
* });
|
|
58
58
|
* ```
|
package/getRepositories.d.ts
CHANGED
|
@@ -13,8 +13,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
* import * as github from "@pulumi/github";
|
|
14
14
|
*
|
|
15
15
|
* const example = github.getRepositories({
|
|
16
|
-
* includeRepoId: true,
|
|
17
16
|
* query: "org:hashicorp language:Go",
|
|
17
|
+
* includeRepoId: true,
|
|
18
18
|
* });
|
|
19
19
|
* ```
|
|
20
20
|
* <!--End PulumiCodeChooser -->
|
|
@@ -74,8 +74,8 @@ export interface GetRepositoriesResult {
|
|
|
74
74
|
* import * as github from "@pulumi/github";
|
|
75
75
|
*
|
|
76
76
|
* const example = github.getRepositories({
|
|
77
|
-
* includeRepoId: true,
|
|
78
77
|
* query: "org:hashicorp language:Go",
|
|
78
|
+
* includeRepoId: true,
|
|
79
79
|
* });
|
|
80
80
|
* ```
|
|
81
81
|
* <!--End PulumiCodeChooser -->
|
package/getRepositories.js
CHANGED
|
@@ -19,8 +19,8 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* import * as github from "@pulumi/github";
|
|
20
20
|
*
|
|
21
21
|
* const example = github.getRepositories({
|
|
22
|
-
* includeRepoId: true,
|
|
23
22
|
* query: "org:hashicorp language:Go",
|
|
23
|
+
* includeRepoId: true,
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
26
26
|
* <!--End PulumiCodeChooser -->
|
|
@@ -49,8 +49,8 @@ exports.getRepositories = getRepositories;
|
|
|
49
49
|
* import * as github from "@pulumi/github";
|
|
50
50
|
*
|
|
51
51
|
* const example = github.getRepositories({
|
|
52
|
-
* includeRepoId: true,
|
|
53
52
|
* query: "org:hashicorp language:Go",
|
|
53
|
+
* includeRepoId: true,
|
|
54
54
|
* });
|
|
55
55
|
* ```
|
|
56
56
|
* <!--End PulumiCodeChooser -->
|
|
@@ -11,8 +11,8 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* import * as github from "@pulumi/github";
|
|
12
12
|
*
|
|
13
13
|
* const example = github.getRepositoryDeploymentBranchPolicies({
|
|
14
|
-
* environmentName: "env_name",
|
|
15
14
|
* repository: "example-repository",
|
|
15
|
+
* environmentName: "env_name",
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
* <!--End PulumiCodeChooser -->
|
|
@@ -57,8 +57,8 @@ export interface GetRepositoryDeploymentBranchPoliciesResult {
|
|
|
57
57
|
* import * as github from "@pulumi/github";
|
|
58
58
|
*
|
|
59
59
|
* const example = github.getRepositoryDeploymentBranchPolicies({
|
|
60
|
-
* environmentName: "env_name",
|
|
61
60
|
* repository: "example-repository",
|
|
61
|
+
* environmentName: "env_name",
|
|
62
62
|
* });
|
|
63
63
|
* ```
|
|
64
64
|
* <!--End PulumiCodeChooser -->
|
|
@@ -16,8 +16,8 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as github from "@pulumi/github";
|
|
17
17
|
*
|
|
18
18
|
* const example = github.getRepositoryDeploymentBranchPolicies({
|
|
19
|
-
* environmentName: "env_name",
|
|
20
19
|
* repository: "example-repository",
|
|
20
|
+
* environmentName: "env_name",
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
* <!--End PulumiCodeChooser -->
|
|
@@ -41,8 +41,8 @@ exports.getRepositoryDeploymentBranchPolicies = getRepositoryDeploymentBranchPol
|
|
|
41
41
|
* import * as github from "@pulumi/github";
|
|
42
42
|
*
|
|
43
43
|
* const example = github.getRepositoryDeploymentBranchPolicies({
|
|
44
|
-
* environmentName: "env_name",
|
|
45
44
|
* repository: "example-repository",
|
|
45
|
+
* environmentName: "env_name",
|
|
46
46
|
* });
|
|
47
47
|
* ```
|
|
48
48
|
* <!--End PulumiCodeChooser -->
|
package/getRepositoryFile.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
* import * as github from "@pulumi/github";
|
|
12
12
|
*
|
|
13
13
|
* const foo = github.getRepositoryFile({
|
|
14
|
-
* repository:
|
|
14
|
+
* repository: fooGithubRepository.name,
|
|
15
15
|
* branch: "main",
|
|
16
16
|
* file: ".gitignore",
|
|
17
17
|
* });
|
|
@@ -88,7 +88,7 @@ export interface GetRepositoryFileResult {
|
|
|
88
88
|
* import * as github from "@pulumi/github";
|
|
89
89
|
*
|
|
90
90
|
* const foo = github.getRepositoryFile({
|
|
91
|
-
* repository:
|
|
91
|
+
* repository: fooGithubRepository.name,
|
|
92
92
|
* branch: "main",
|
|
93
93
|
* file: ".gitignore",
|
|
94
94
|
* });
|
package/getRepositoryFile.js
CHANGED
|
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as github from "@pulumi/github";
|
|
18
18
|
*
|
|
19
19
|
* const foo = github.getRepositoryFile({
|
|
20
|
-
* repository:
|
|
20
|
+
* repository: fooGithubRepository.name,
|
|
21
21
|
* branch: "main",
|
|
22
22
|
* file: ".gitignore",
|
|
23
23
|
* });
|
|
@@ -45,7 +45,7 @@ exports.getRepositoryFile = getRepositoryFile;
|
|
|
45
45
|
* import * as github from "@pulumi/github";
|
|
46
46
|
*
|
|
47
47
|
* const foo = github.getRepositoryFile({
|
|
48
|
-
* repository:
|
|
48
|
+
* repository: fooGithubRepository.name,
|
|
49
49
|
* branch: "main",
|
|
50
50
|
* file: ".gitignore",
|
|
51
51
|
* });
|
|
@@ -10,9 +10,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as github from "@pulumi/github";
|
|
11
11
|
*
|
|
12
12
|
* const example = github.getRepositoryMilestone({
|
|
13
|
-
* number: 1,
|
|
14
13
|
* owner: "example-owner",
|
|
15
14
|
* repository: "example-repository",
|
|
15
|
+
* number: 1,
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
* <!--End PulumiCodeChooser -->
|
|
@@ -74,9 +74,9 @@ export interface GetRepositoryMilestoneResult {
|
|
|
74
74
|
* import * as github from "@pulumi/github";
|
|
75
75
|
*
|
|
76
76
|
* const example = github.getRepositoryMilestone({
|
|
77
|
-
* number: 1,
|
|
78
77
|
* owner: "example-owner",
|
|
79
78
|
* repository: "example-repository",
|
|
79
|
+
* number: 1,
|
|
80
80
|
* });
|
|
81
81
|
* ```
|
|
82
82
|
* <!--End PulumiCodeChooser -->
|