@pulumi/github 6.0.0-alpha.1709638261 → 6.0.0-alpha.1768023817
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 -37
- package/actionsEnvironmentSecret.js +17 -54
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsEnvironmentVariable.d.ts +5 -5
- package/actionsEnvironmentVariable.js +21 -21
- package/actionsEnvironmentVariable.js.map +1 -1
- package/actionsHostedRunner.d.ts +250 -0
- package/actionsHostedRunner.js +158 -0
- package/actionsHostedRunner.js.map +1 -0
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +2 -2
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +7 -7
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +2 -2
- package/actionsOrganizationPermissions.js +13 -13
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +6 -39
- package/actionsOrganizationSecret.js +21 -55
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +2 -2
- package/actionsOrganizationSecretRepositories.js +10 -10
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsOrganizationSecretRepository.d.ts +89 -0
- package/actionsOrganizationSecretRepository.js +86 -0
- package/actionsOrganizationSecretRepository.js.map +1 -0
- package/actionsOrganizationVariable.d.ts +4 -4
- package/actionsOrganizationVariable.js +19 -19
- package/actionsOrganizationVariable.js.map +1 -1
- package/actionsRepositoryAccessLevel.d.ts +5 -2
- package/actionsRepositoryAccessLevel.js +13 -10
- package/actionsRepositoryAccessLevel.js.map +1 -1
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +3 -3
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +13 -13
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsRepositoryPermissions.d.ts +2 -2
- package/actionsRepositoryPermissions.js +13 -13
- package/actionsRepositoryPermissions.js.map +1 -1
- package/actionsRunnerGroup.d.ts +5 -4
- package/actionsRunnerGroup.js +25 -24
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +6 -21
- package/actionsSecret.js +19 -35
- package/actionsSecret.js.map +1 -1
- package/actionsVariable.d.ts +3 -3
- package/actionsVariable.js +16 -16
- package/actionsVariable.js.map +1 -1
- package/appInstallationRepositories.d.ts +3 -2
- package/appInstallationRepositories.js +11 -10
- package/appInstallationRepositories.js.map +1 -1
- package/appInstallationRepository.d.ts +5 -4
- package/appInstallationRepository.js +14 -13
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +11 -6
- package/branch.js +23 -22
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +4 -1
- package/branchDefault.js +15 -13
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +9 -9
- package/branchProtection.js +39 -39
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.d.ts +58 -1
- package/branchProtectionV3.js +79 -22
- package/branchProtectionV3.js.map +1 -1
- package/codespacesOrganizationSecret.d.ts +2 -39
- package/codespacesOrganizationSecret.js +18 -55
- package/codespacesOrganizationSecret.js.map +1 -1
- package/codespacesOrganizationSecretRepositories.d.ts +2 -2
- package/codespacesOrganizationSecretRepositories.js +10 -10
- package/codespacesOrganizationSecretRepositories.js.map +1 -1
- package/codespacesSecret.d.ts +3 -21
- package/codespacesSecret.js +17 -35
- package/codespacesSecret.js.map +1 -1
- package/codespacesUserSecret.d.ts +2 -21
- package/codespacesUserSecret.js +15 -34
- package/codespacesUserSecret.js.map +1 -1
- package/config/index.js +1 -1
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +8 -9
- package/config/vars.js +9 -5
- package/config/vars.js.map +1 -1
- package/dependabotOrganizationSecret.d.ts +2 -39
- package/dependabotOrganizationSecret.js +18 -55
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.d.ts +3 -3
- package/dependabotOrganizationSecretRepositories.js +11 -11
- package/dependabotOrganizationSecretRepositories.js.map +1 -1
- package/dependabotSecret.d.ts +3 -21
- package/dependabotSecret.js +17 -35
- package/dependabotSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +3 -4
- package/emuGroupMapping.js +12 -13
- package/emuGroupMapping.js.map +1 -1
- package/enterpriseActionsPermissions.d.ts +137 -0
- package/enterpriseActionsPermissions.js +102 -0
- package/enterpriseActionsPermissions.js.map +1 -0
- package/enterpriseActionsRunnerGroup.d.ts +190 -0
- package/enterpriseActionsRunnerGroup.js +113 -0
- package/enterpriseActionsRunnerGroup.js.map +1 -0
- package/enterpriseActionsWorkflowPermissions.d.ts +113 -0
- package/enterpriseActionsWorkflowPermissions.js +97 -0
- package/enterpriseActionsWorkflowPermissions.js.map +1 -0
- package/enterpriseOrganization.d.ts +11 -2
- package/enterpriseOrganization.js +22 -19
- package/enterpriseOrganization.js.map +1 -1
- package/enterpriseSecurityAnalysisSettings.d.ts +162 -0
- package/enterpriseSecurityAnalysisSettings.js +116 -0
- package/enterpriseSecurityAnalysisSettings.js.map +1 -0
- package/getActionsEnvironmentPublicKey.d.ts +80 -0
- package/getActionsEnvironmentPublicKey.js +56 -0
- package/getActionsEnvironmentPublicKey.js.map +1 -0
- package/getActionsEnvironmentSecrets.d.ts +3 -3
- package/getActionsEnvironmentSecrets.js +9 -4
- package/getActionsEnvironmentSecrets.js.map +1 -1
- package/getActionsEnvironmentVariables.d.ts +3 -3
- package/getActionsEnvironmentVariables.js +9 -4
- package/getActionsEnvironmentVariables.js.map +1 -1
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +1 -1
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js +3 -2
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsOrganizationPublicKey.d.ts +1 -1
- package/getActionsOrganizationPublicKey.js +3 -2
- package/getActionsOrganizationPublicKey.js.map +1 -1
- package/getActionsOrganizationRegistrationToken.d.ts +1 -1
- package/getActionsOrganizationRegistrationToken.js +3 -2
- package/getActionsOrganizationRegistrationToken.js.map +1 -1
- package/getActionsOrganizationSecrets.d.ts +1 -1
- package/getActionsOrganizationSecrets.js +3 -2
- package/getActionsOrganizationSecrets.js.map +1 -1
- package/getActionsOrganizationVariables.d.ts +1 -1
- package/getActionsOrganizationVariables.js +3 -2
- package/getActionsOrganizationVariables.js.map +1 -1
- package/getActionsPublicKey.d.ts +1 -1
- package/getActionsPublicKey.js +5 -2
- package/getActionsPublicKey.js.map +1 -1
- package/getActionsRegistrationToken.d.ts +1 -1
- package/getActionsRegistrationToken.js +5 -2
- package/getActionsRegistrationToken.js.map +1 -1
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +1 -1
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js +5 -2
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsSecrets.d.ts +1 -1
- package/getActionsSecrets.js +7 -2
- package/getActionsSecrets.js.map +1 -1
- package/getActionsVariables.d.ts +1 -1
- package/getActionsVariables.js +7 -2
- package/getActionsVariables.js.map +1 -1
- package/getAppToken.d.ts +13 -9
- package/getAppToken.js +19 -10
- package/getAppToken.js.map +1 -1
- package/getBranch.d.ts +3 -3
- package/getBranch.js +8 -4
- package/getBranch.js.map +1 -1
- package/getBranchProtectionRules.d.ts +1 -1
- package/getBranchProtectionRules.js +5 -2
- package/getBranchProtectionRules.js.map +1 -1
- package/getCodespacesOrganizationPublicKey.d.ts +1 -1
- package/getCodespacesOrganizationPublicKey.js +3 -2
- package/getCodespacesOrganizationPublicKey.js.map +1 -1
- package/getCodespacesOrganizationSecrets.d.ts +1 -1
- package/getCodespacesOrganizationSecrets.js +3 -2
- package/getCodespacesOrganizationSecrets.js.map +1 -1
- package/getCodespacesPublicKey.d.ts +1 -1
- package/getCodespacesPublicKey.js +5 -2
- package/getCodespacesPublicKey.js.map +1 -1
- package/getCodespacesSecrets.d.ts +1 -1
- package/getCodespacesSecrets.js +7 -2
- package/getCodespacesSecrets.js.map +1 -1
- package/getCodespacesUserPublicKey.d.ts +1 -1
- package/getCodespacesUserPublicKey.js +3 -2
- package/getCodespacesUserPublicKey.js.map +1 -1
- package/getCodespacesUserSecrets.d.ts +1 -1
- package/getCodespacesUserSecrets.js +3 -2
- package/getCodespacesUserSecrets.js.map +1 -1
- package/getCollaborators.d.ts +13 -1
- package/getCollaborators.js +9 -2
- package/getCollaborators.js.map +1 -1
- package/getDependabotOrganizationPublicKey.d.ts +1 -1
- package/getDependabotOrganizationPublicKey.js +3 -2
- package/getDependabotOrganizationPublicKey.js.map +1 -1
- package/getDependabotOrganizationSecrets.d.ts +1 -1
- package/getDependabotOrganizationSecrets.js +3 -2
- package/getDependabotOrganizationSecrets.js.map +1 -1
- package/getDependabotPublicKey.d.ts +1 -1
- package/getDependabotPublicKey.js +5 -2
- package/getDependabotPublicKey.js.map +1 -1
- package/getDependabotSecrets.d.ts +1 -1
- package/getDependabotSecrets.js +7 -2
- package/getDependabotSecrets.js.map +1 -1
- package/getEnterprise.d.ts +5 -1
- package/getEnterprise.js +5 -2
- package/getEnterprise.js.map +1 -1
- package/getExternalGroups.d.ts +1 -1
- package/getExternalGroups.js +3 -2
- package/getExternalGroups.js.map +1 -1
- package/getGithubApp.d.ts +1 -1
- package/getGithubApp.js +5 -2
- package/getGithubApp.js.map +1 -1
- package/getIpRanges.d.ts +1 -1
- package/getIpRanges.js +3 -2
- package/getIpRanges.js.map +1 -1
- package/getIssueLabels.d.ts +1 -1
- package/getIssueLabels.js +5 -2
- package/getIssueLabels.js.map +1 -1
- package/getMembership.d.ts +1 -1
- package/getMembership.js +6 -2
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +14 -5
- package/getOrganization.js +8 -2
- package/getOrganization.js.map +1 -1
- package/getOrganizationCustomProperties.d.ts +134 -0
- package/getOrganizationCustomProperties.js +62 -0
- package/getOrganizationCustomProperties.js.map +1 -0
- package/getOrganizationCustomRole.d.ts +5 -1
- package/getOrganizationCustomRole.js +9 -2
- package/getOrganizationCustomRole.js.map +1 -1
- package/getOrganizationExternalIdentities.d.ts +1 -1
- package/getOrganizationExternalIdentities.js +3 -2
- package/getOrganizationExternalIdentities.js.map +1 -1
- package/getOrganizationIpAllowList.d.ts +1 -1
- package/getOrganizationIpAllowList.js +3 -2
- package/getOrganizationIpAllowList.js.map +1 -1
- package/getOrganizationRepositoryRole.d.ts +82 -0
- package/getOrganizationRepositoryRole.js +54 -0
- package/getOrganizationRepositoryRole.js.map +1 -0
- package/getOrganizationRepositoryRoles.d.ts +65 -0
- package/getOrganizationRepositoryRoles.js +66 -0
- package/getOrganizationRepositoryRoles.js.map +1 -0
- package/getOrganizationRole.d.ts +82 -0
- package/getOrganizationRole.js +50 -0
- package/getOrganizationRole.js.map +1 -0
- package/getOrganizationRoleTeams.d.ts +85 -0
- package/getOrganizationRoleTeams.js +68 -0
- package/getOrganizationRoleTeams.js.map +1 -0
- package/getOrganizationRoleUsers.d.ts +81 -0
- package/getOrganizationRoleUsers.js +64 -0
- package/getOrganizationRoleUsers.js.map +1 -0
- package/getOrganizationRoles.d.ts +63 -0
- package/getOrganizationRoles.js +64 -0
- package/getOrganizationRoles.js.map +1 -0
- package/getOrganizationSecurityManagers.d.ts +45 -0
- package/getOrganizationSecurityManagers.js +46 -0
- package/getOrganizationSecurityManagers.js.map +1 -0
- package/getOrganizationTeamSyncGroups.d.ts +1 -1
- package/getOrganizationTeamSyncGroups.js +3 -2
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +1 -1
- package/getOrganizationTeams.js +8 -2
- package/getOrganizationTeams.js.map +1 -1
- package/getOrganizationWebhooks.d.ts +1 -1
- package/getOrganizationWebhooks.js +3 -2
- package/getOrganizationWebhooks.js.map +1 -1
- package/getRef.d.ts +3 -3
- package/getRef.js +9 -4
- package/getRef.js.map +1 -1
- package/getRelease.d.ts +64 -2
- package/getRelease.js +71 -2
- package/getRelease.js.map +1 -1
- package/getRepositories.d.ts +3 -3
- package/getRepositories.js +10 -4
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +3 -1
- package/getRepository.js +9 -2
- package/getRepository.js.map +1 -1
- package/getRepositoryAutolinkReferences.d.ts +1 -1
- package/getRepositoryAutolinkReferences.js +5 -2
- package/getRepositoryAutolinkReferences.js.map +1 -1
- package/getRepositoryBranches.d.ts +1 -1
- package/getRepositoryBranches.js +7 -2
- package/getRepositoryBranches.js.map +1 -1
- package/getRepositoryCustomProperties.d.ts +64 -0
- package/getRepositoryCustomProperties.js +50 -0
- package/getRepositoryCustomProperties.js.map +1 -0
- package/getRepositoryDeployKeys.d.ts +1 -1
- package/getRepositoryDeployKeys.js +5 -2
- package/getRepositoryDeployKeys.js.map +1 -1
- package/getRepositoryDeploymentBranchPolicies.d.ts +7 -3
- package/getRepositoryDeploymentBranchPolicies.js +12 -4
- package/getRepositoryDeploymentBranchPolicies.js.map +1 -1
- package/getRepositoryEnvironmentDeploymentPolicies.d.ts +75 -0
- package/getRepositoryEnvironmentDeploymentPolicies.js +54 -0
- package/getRepositoryEnvironmentDeploymentPolicies.js.map +1 -0
- package/getRepositoryEnvironments.d.ts +1 -1
- package/getRepositoryEnvironments.js +5 -2
- package/getRepositoryEnvironments.js.map +1 -1
- package/getRepositoryFile.d.ts +3 -3
- package/getRepositoryFile.js +9 -4
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +3 -3
- package/getRepositoryMilestone.js +9 -4
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +1 -1
- package/getRepositoryPullRequest.js +7 -2
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +3 -3
- package/getRepositoryPullRequests.js +13 -4
- package/getRepositoryPullRequests.js.map +1 -1
- package/getRepositoryTeams.d.ts +1 -1
- package/getRepositoryTeams.js +7 -2
- package/getRepositoryTeams.js.map +1 -1
- package/getRepositoryWebhooks.d.ts +1 -1
- package/getRepositoryWebhooks.js +5 -2
- package/getRepositoryWebhooks.js.map +1 -1
- package/getRestApi.d.ts +1 -1
- package/getRestApi.js +5 -2
- package/getRestApi.js.map +1 -1
- package/getSshKeys.d.ts +1 -1
- package/getSshKeys.js +3 -2
- package/getSshKeys.js.map +1 -1
- package/getTeam.d.ts +5 -3
- package/getTeam.js +8 -2
- package/getTeam.js.map +1 -1
- package/getTree.d.ts +17 -17
- package/getTree.js +23 -18
- package/getTree.js.map +1 -1
- package/getUser.d.ts +5 -1
- package/getUser.js +9 -2
- package/getUser.js.map +1 -1
- package/getUserExternalIdentity.d.ts +1 -1
- package/getUserExternalIdentity.js +5 -2
- package/getUserExternalIdentity.js.map +1 -1
- package/getUsers.d.ts +3 -1
- package/getUsers.js +7 -2
- package/getUsers.js.map +1 -1
- package/index.d.ts +76 -6
- package/index.js +126 -13
- package/index.js.map +1 -1
- package/issue.d.ts +17 -10
- package/issue.js +36 -29
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +20 -3
- package/issueLabel.js +34 -18
- package/issueLabel.js.map +1 -1
- package/issueLabels.d.ts +5 -16
- package/issueLabels.js +12 -23
- package/issueLabels.js.map +1 -1
- package/membership.d.ts +3 -3
- package/membership.js +13 -13
- package/membership.js.map +1 -1
- package/organizationBlock.d.ts +1 -1
- package/organizationBlock.js +7 -7
- package/organizationBlock.js.map +1 -1
- package/organizationCustomProperties.d.ts +199 -0
- package/organizationCustomProperties.js +143 -0
- package/organizationCustomProperties.js.map +1 -0
- package/organizationCustomRole.d.ts +7 -3
- package/organizationCustomRole.js +19 -15
- package/organizationCustomRole.js.map +1 -1
- package/organizationProject.d.ts +6 -1
- package/organizationProject.js +14 -9
- package/organizationProject.js.map +1 -1
- package/organizationRepositoryRole.d.ts +121 -0
- package/organizationRepositoryRole.js +92 -0
- package/organizationRepositoryRole.js.map +1 -0
- package/organizationRole.d.ts +121 -0
- package/organizationRole.js +89 -0
- package/organizationRole.js.map +1 -0
- package/organizationRoleTeam.d.ts +83 -0
- package/organizationRoleTeam.js +80 -0
- package/organizationRoleTeam.js.map +1 -0
- package/organizationRoleTeamAssignment.d.ts +94 -0
- package/organizationRoleTeamAssignment.js +91 -0
- package/organizationRoleTeamAssignment.js.map +1 -0
- package/organizationRoleUser.d.ts +83 -0
- package/organizationRoleUser.js +80 -0
- package/organizationRoleUser.js.map +1 -0
- package/organizationRuleset.d.ts +92 -3
- package/organizationRuleset.js +109 -20
- package/organizationRuleset.js.map +1 -1
- package/organizationSecurityManager.d.ts +10 -3
- package/organizationSecurityManager.js +15 -8
- package/organizationSecurityManager.js.map +1 -1
- package/organizationSettings.d.ts +18 -16
- package/organizationSettings.js +73 -71
- package/organizationSettings.js.map +1 -1
- package/organizationWebhook.d.ts +22 -3
- package/organizationWebhook.js +33 -14
- package/organizationWebhook.js.map +1 -1
- package/package.json +4 -3
- package/projectCard.d.ts +24 -10
- package/projectCard.js +37 -23
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +10 -2
- package/projectColumn.js +19 -11
- package/projectColumn.js.map +1 -1
- package/provider.d.ts +24 -11
- package/provider.js +22 -14
- package/provider.js.map +1 -1
- package/release.d.ts +91 -6
- package/release.js +54 -29
- package/release.js.map +1 -1
- package/repository.d.ts +64 -11
- package/repository.js +110 -88
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +1 -0
- package/repositoryAutolinkReference.js +15 -14
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +3 -28
- package/repositoryCollaborator.js +16 -41
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryCollaborators.d.ts +28 -38
- package/repositoryCollaborators.js +19 -39
- package/repositoryCollaborators.js.map +1 -1
- package/repositoryCustomProperty.d.ts +115 -0
- package/repositoryCustomProperty.js +98 -0
- package/repositoryCustomProperty.js.map +1 -0
- package/repositoryDependabotSecurityUpdates.d.ts +5 -4
- package/repositoryDependabotSecurityUpdates.js +10 -9
- package/repositoryDependabotSecurityUpdates.js.map +1 -1
- package/repositoryDeployKey.d.ts +6 -16
- package/repositoryDeployKey.js +20 -30
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryDeploymentBranchPolicy.d.ts +10 -1
- package/repositoryDeploymentBranchPolicy.js +18 -13
- package/repositoryDeploymentBranchPolicy.js.map +1 -1
- package/repositoryEnvironment.d.ts +7 -4
- package/repositoryEnvironment.js +25 -22
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryEnvironmentDeploymentPolicy.d.ts +54 -11
- package/repositoryEnvironmentDeploymentPolicy.js +49 -19
- package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
- package/repositoryFile.d.ts +72 -13
- package/repositoryFile.js +63 -34
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.d.ts +1 -1
- package/repositoryMilestone.js +19 -19
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.d.ts +6 -1
- package/repositoryProject.js +17 -13
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.d.ts +2 -2
- package/repositoryPullRequest.js +31 -31
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryRuleset.d.ts +50 -11
- package/repositoryRuleset.js +67 -25
- package/repositoryRuleset.js.map +1 -1
- package/repositoryTopics.d.ts +4 -4
- package/repositoryTopics.js +12 -12
- package/repositoryTopics.js.map +1 -1
- package/repositoryWebhook.d.ts +8 -8
- package/repositoryWebhook.js +20 -21
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +2 -1
- package/team.js +24 -23
- package/team.js.map +1 -1
- package/teamMembers.d.ts +9 -10
- package/teamMembers.js +17 -18
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +7 -4
- package/teamMembership.js +18 -15
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +6 -19
- package/teamRepository.js +17 -30
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +8 -5
- package/teamSettings.js +17 -14
- package/teamSettings.js.map +1 -1
- package/teamSyncGroupMapping.d.ts +18 -1
- package/teamSyncGroupMapping.js +26 -9
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/index.js +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +360 -74
- package/types/input.js +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +495 -84
- package/types/output.js +1 -1
- package/types/output.js.map +1 -1
- package/userGpgKey.d.ts +2 -3
- package/userGpgKey.js +9 -10
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.d.ts +5 -7
- package/userInvitationAccepter.js +11 -13
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.d.ts +5 -3
- package/userSshKey.js +15 -13
- package/userSshKey.js.map +1 -1
- package/utilities.d.ts +0 -4
- package/utilities.js +20 -30
- package/utilities.js.map +1 -1
- package/workflowRepositoryPermissions.d.ts +98 -0
- package/workflowRepositoryPermissions.js +82 -0
- package/workflowRepositoryPermissions.js.map +1 -0
- package/package.json.bak +0 -27
- package/repositoryTagProtection.d.ts +0 -93
- package/repositoryTagProtection.js +0 -84
- package/repositoryTagProtection.js.map +0 -1
|
@@ -2,31 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Provides a GitHub repository collaborators resource.
|
|
6
|
-
*
|
|
7
|
-
* > Note: github.RepositoryCollaborators cannot be used in conjunction with github.RepositoryCollaborator and
|
|
8
|
-
* github.TeamRepository or they will fight over what your policy should be.
|
|
9
|
-
*
|
|
10
|
-
* This resource allows you to manage all collaborators for repositories in your
|
|
11
|
-
* organization or personal account. For organization repositories, collaborators can
|
|
12
|
-
* have explicit (and differing levels of) read, write, or administrator access to
|
|
13
|
-
* specific repositories, without giving the user full organization membership.
|
|
14
|
-
* For personal repositories, collaborators can only be granted write
|
|
15
|
-
* (implicitly includes read) permission.
|
|
16
|
-
*
|
|
17
|
-
* When applied, an invitation will be sent to the user to become a collaborators
|
|
18
|
-
* on a repository. When destroyed, either the invitation will be cancelled or the
|
|
19
|
-
* collaborators will be removed from the repository.
|
|
20
|
-
*
|
|
21
|
-
* This resource is authoritative. For adding a collaborator to a repo in a non-authoritative manner, use
|
|
22
|
-
* github.RepositoryCollaborator instead.
|
|
23
|
-
*
|
|
24
|
-
* Further documentation on GitHub collaborators:
|
|
25
|
-
*
|
|
26
|
-
* - [Adding outside collaborators to your personal repositories](https://help.github.com/en/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories)
|
|
27
|
-
* - [Adding outside collaborators to repositories in your organization](https://help.github.com/articles/adding-outside-collaborators-to-repositories-in-your-organization/)
|
|
28
|
-
* - [Converting an organization member to an outside collaborators](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)
|
|
29
|
-
*
|
|
30
5
|
* ## Example Usage
|
|
31
6
|
*
|
|
32
7
|
* ```typescript
|
|
@@ -34,9 +9,12 @@ import * as outputs from "./types/output";
|
|
|
34
9
|
* import * as github from "@pulumi/github";
|
|
35
10
|
*
|
|
36
11
|
* // Add collaborators to a repository
|
|
37
|
-
* const someTeam = new github.Team("
|
|
38
|
-
*
|
|
39
|
-
*
|
|
12
|
+
* const someTeam = new github.Team("some_team", {
|
|
13
|
+
* name: "SomeTeam",
|
|
14
|
+
* description: "Some cool team",
|
|
15
|
+
* });
|
|
16
|
+
* const someRepo = new github.Repository("some_repo", {name: "some-repo"});
|
|
17
|
+
* const someRepoCollaborators = new github.RepositoryCollaborators("some_repo_collaborators", {
|
|
40
18
|
* repository: someRepo.name,
|
|
41
19
|
* users: [{
|
|
42
20
|
* permission: "admin",
|
|
@@ -54,7 +32,7 @@ import * as outputs from "./types/output";
|
|
|
54
32
|
* GitHub Repository Collaborators can be imported using the name `name`, e.g.
|
|
55
33
|
*
|
|
56
34
|
* ```sh
|
|
57
|
-
*
|
|
35
|
+
* $ pulumi import github:index/repositoryCollaborators:RepositoryCollaborators collaborators terraform
|
|
58
36
|
* ```
|
|
59
37
|
*/
|
|
60
38
|
export declare class RepositoryCollaborators extends pulumi.CustomResource {
|
|
@@ -73,6 +51,10 @@ export declare class RepositoryCollaborators extends pulumi.CustomResource {
|
|
|
73
51
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
74
52
|
*/
|
|
75
53
|
static isInstance(obj: any): obj is RepositoryCollaborators;
|
|
54
|
+
/**
|
|
55
|
+
* List of teams to ignore when checking for repository access. This supports ignoring teams granted access at an organizational level.
|
|
56
|
+
*/
|
|
57
|
+
readonly ignoreTeams: pulumi.Output<outputs.RepositoryCollaboratorsIgnoreTeam[] | undefined>;
|
|
76
58
|
/**
|
|
77
59
|
* Map of usernames to invitation ID for any users added as part of creation of this resource to
|
|
78
60
|
* be used in `github.UserInvitationAccepter`.
|
|
@@ -81,15 +63,15 @@ export declare class RepositoryCollaborators extends pulumi.CustomResource {
|
|
|
81
63
|
[key: string]: string;
|
|
82
64
|
}>;
|
|
83
65
|
/**
|
|
84
|
-
* The GitHub repository
|
|
66
|
+
* The GitHub repository.
|
|
85
67
|
*/
|
|
86
68
|
readonly repository: pulumi.Output<string>;
|
|
87
69
|
/**
|
|
88
|
-
* List of teams
|
|
70
|
+
* List of teams to grant access to the repository.
|
|
89
71
|
*/
|
|
90
72
|
readonly teams: pulumi.Output<outputs.RepositoryCollaboratorsTeam[] | undefined>;
|
|
91
73
|
/**
|
|
92
|
-
* List of users
|
|
74
|
+
* List of users to grant access to the repository.
|
|
93
75
|
*/
|
|
94
76
|
readonly users: pulumi.Output<outputs.RepositoryCollaboratorsUser[] | undefined>;
|
|
95
77
|
/**
|
|
@@ -105,6 +87,10 @@ export declare class RepositoryCollaborators extends pulumi.CustomResource {
|
|
|
105
87
|
* Input properties used for looking up and filtering RepositoryCollaborators resources.
|
|
106
88
|
*/
|
|
107
89
|
export interface RepositoryCollaboratorsState {
|
|
90
|
+
/**
|
|
91
|
+
* List of teams to ignore when checking for repository access. This supports ignoring teams granted access at an organizational level.
|
|
92
|
+
*/
|
|
93
|
+
ignoreTeams?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsIgnoreTeam>[]>;
|
|
108
94
|
/**
|
|
109
95
|
* Map of usernames to invitation ID for any users added as part of creation of this resource to
|
|
110
96
|
* be used in `github.UserInvitationAccepter`.
|
|
@@ -113,15 +99,15 @@ export interface RepositoryCollaboratorsState {
|
|
|
113
99
|
[key: string]: pulumi.Input<string>;
|
|
114
100
|
}>;
|
|
115
101
|
/**
|
|
116
|
-
* The GitHub repository
|
|
102
|
+
* The GitHub repository.
|
|
117
103
|
*/
|
|
118
104
|
repository?: pulumi.Input<string>;
|
|
119
105
|
/**
|
|
120
|
-
* List of teams
|
|
106
|
+
* List of teams to grant access to the repository.
|
|
121
107
|
*/
|
|
122
108
|
teams?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsTeam>[]>;
|
|
123
109
|
/**
|
|
124
|
-
* List of users
|
|
110
|
+
* List of users to grant access to the repository.
|
|
125
111
|
*/
|
|
126
112
|
users?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsUser>[]>;
|
|
127
113
|
}
|
|
@@ -130,15 +116,19 @@ export interface RepositoryCollaboratorsState {
|
|
|
130
116
|
*/
|
|
131
117
|
export interface RepositoryCollaboratorsArgs {
|
|
132
118
|
/**
|
|
133
|
-
*
|
|
119
|
+
* List of teams to ignore when checking for repository access. This supports ignoring teams granted access at an organizational level.
|
|
120
|
+
*/
|
|
121
|
+
ignoreTeams?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsIgnoreTeam>[]>;
|
|
122
|
+
/**
|
|
123
|
+
* The GitHub repository.
|
|
134
124
|
*/
|
|
135
125
|
repository: pulumi.Input<string>;
|
|
136
126
|
/**
|
|
137
|
-
* List of teams
|
|
127
|
+
* List of teams to grant access to the repository.
|
|
138
128
|
*/
|
|
139
129
|
teams?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsTeam>[]>;
|
|
140
130
|
/**
|
|
141
|
-
* List of users
|
|
131
|
+
* List of users to grant access to the repository.
|
|
142
132
|
*/
|
|
143
133
|
users?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsUser>[]>;
|
|
144
134
|
}
|
|
@@ -1,36 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.RepositoryCollaborators = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a GitHub repository collaborators resource.
|
|
10
|
-
*
|
|
11
|
-
* > Note: github.RepositoryCollaborators cannot be used in conjunction with github.RepositoryCollaborator and
|
|
12
|
-
* github.TeamRepository or they will fight over what your policy should be.
|
|
13
|
-
*
|
|
14
|
-
* This resource allows you to manage all collaborators for repositories in your
|
|
15
|
-
* organization or personal account. For organization repositories, collaborators can
|
|
16
|
-
* have explicit (and differing levels of) read, write, or administrator access to
|
|
17
|
-
* specific repositories, without giving the user full organization membership.
|
|
18
|
-
* For personal repositories, collaborators can only be granted write
|
|
19
|
-
* (implicitly includes read) permission.
|
|
20
|
-
*
|
|
21
|
-
* When applied, an invitation will be sent to the user to become a collaborators
|
|
22
|
-
* on a repository. When destroyed, either the invitation will be cancelled or the
|
|
23
|
-
* collaborators will be removed from the repository.
|
|
24
|
-
*
|
|
25
|
-
* This resource is authoritative. For adding a collaborator to a repo in a non-authoritative manner, use
|
|
26
|
-
* github.RepositoryCollaborator instead.
|
|
27
|
-
*
|
|
28
|
-
* Further documentation on GitHub collaborators:
|
|
29
|
-
*
|
|
30
|
-
* - [Adding outside collaborators to your personal repositories](https://help.github.com/en/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories)
|
|
31
|
-
* - [Adding outside collaborators to repositories in your organization](https://help.github.com/articles/adding-outside-collaborators-to-repositories-in-your-organization/)
|
|
32
|
-
* - [Converting an organization member to an outside collaborators](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)
|
|
33
|
-
*
|
|
34
9
|
* ## Example Usage
|
|
35
10
|
*
|
|
36
11
|
* ```typescript
|
|
@@ -38,9 +13,12 @@ const utilities = require("./utilities");
|
|
|
38
13
|
* import * as github from "@pulumi/github";
|
|
39
14
|
*
|
|
40
15
|
* // Add collaborators to a repository
|
|
41
|
-
* const someTeam = new github.Team("
|
|
42
|
-
*
|
|
43
|
-
*
|
|
16
|
+
* const someTeam = new github.Team("some_team", {
|
|
17
|
+
* name: "SomeTeam",
|
|
18
|
+
* description: "Some cool team",
|
|
19
|
+
* });
|
|
20
|
+
* const someRepo = new github.Repository("some_repo", {name: "some-repo"});
|
|
21
|
+
* const someRepoCollaborators = new github.RepositoryCollaborators("some_repo_collaborators", {
|
|
44
22
|
* repository: someRepo.name,
|
|
45
23
|
* users: [{
|
|
46
24
|
* permission: "admin",
|
|
@@ -58,7 +36,7 @@ const utilities = require("./utilities");
|
|
|
58
36
|
* GitHub Repository Collaborators can be imported using the name `name`, e.g.
|
|
59
37
|
*
|
|
60
38
|
* ```sh
|
|
61
|
-
*
|
|
39
|
+
* $ pulumi import github:index/repositoryCollaborators:RepositoryCollaborators collaborators terraform
|
|
62
40
|
* ```
|
|
63
41
|
*/
|
|
64
42
|
class RepositoryCollaborators extends pulumi.CustomResource {
|
|
@@ -72,7 +50,7 @@ class RepositoryCollaborators extends pulumi.CustomResource {
|
|
|
72
50
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
73
51
|
*/
|
|
74
52
|
static get(name, id, state, opts) {
|
|
75
|
-
return new RepositoryCollaborators(name, state,
|
|
53
|
+
return new RepositoryCollaborators(name, state, { ...opts, id: id });
|
|
76
54
|
}
|
|
77
55
|
/**
|
|
78
56
|
* Returns true if the given object is an instance of RepositoryCollaborators. This is designed to work even
|
|
@@ -89,19 +67,21 @@ class RepositoryCollaborators extends pulumi.CustomResource {
|
|
|
89
67
|
opts = opts || {};
|
|
90
68
|
if (opts.id) {
|
|
91
69
|
const state = argsOrState;
|
|
92
|
-
resourceInputs["
|
|
93
|
-
resourceInputs["
|
|
94
|
-
resourceInputs["
|
|
95
|
-
resourceInputs["
|
|
70
|
+
resourceInputs["ignoreTeams"] = state?.ignoreTeams;
|
|
71
|
+
resourceInputs["invitationIds"] = state?.invitationIds;
|
|
72
|
+
resourceInputs["repository"] = state?.repository;
|
|
73
|
+
resourceInputs["teams"] = state?.teams;
|
|
74
|
+
resourceInputs["users"] = state?.users;
|
|
96
75
|
}
|
|
97
76
|
else {
|
|
98
77
|
const args = argsOrState;
|
|
99
|
-
if (
|
|
78
|
+
if (args?.repository === undefined && !opts.urn) {
|
|
100
79
|
throw new Error("Missing required property 'repository'");
|
|
101
80
|
}
|
|
102
|
-
resourceInputs["
|
|
103
|
-
resourceInputs["
|
|
104
|
-
resourceInputs["
|
|
81
|
+
resourceInputs["ignoreTeams"] = args?.ignoreTeams;
|
|
82
|
+
resourceInputs["repository"] = args?.repository;
|
|
83
|
+
resourceInputs["teams"] = args?.teams;
|
|
84
|
+
resourceInputs["users"] = args?.users;
|
|
105
85
|
resourceInputs["invitationIds"] = undefined /*out*/;
|
|
106
86
|
}
|
|
107
87
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryCollaborators.js","sourceRoot":"","sources":["../repositoryCollaborators.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"repositoryCollaborators.js","sourceRoot":"","sources":["../repositoryCollaborators.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IAgCD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,EAAE,aAAa,CAAC;YACvD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;SAC1C;aAAM;YACH,MAAM,IAAI,GAAG,WAAsD,CAAC;YACpE,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAjFL,0DAkFC;AApEG,gBAAgB;AACO,oCAAY,GAAG,8DAA8D,CAAC"}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource allows you to create and manage a specific custom property for a GitHub repository.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* > Note that this assumes there already is a custom property defined on the org level called `my-cool-property` of type `string`
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as github from "@pulumi/github";
|
|
12
|
+
*
|
|
13
|
+
* const example = new github.Repository("example", {
|
|
14
|
+
* name: "example",
|
|
15
|
+
* description: "My awesome codebase",
|
|
16
|
+
* });
|
|
17
|
+
* const string = new github.RepositoryCustomProperty("string", {
|
|
18
|
+
* repository: example.name,
|
|
19
|
+
* propertyName: "my-cool-property",
|
|
20
|
+
* propertyType: "string",
|
|
21
|
+
* propertyValues: ["test"],
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* GitHub Repository Custom Property can be imported using an ID made up of a comibnation of the names of the organization, repository, custom property separated by a `:` character, e.g.
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import github:index/repositoryCustomProperty:RepositoryCustomProperty example organization-name:repo-name:custom-property-name
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare class RepositoryCustomProperty extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing RepositoryCustomProperty resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RepositoryCustomPropertyState, opts?: pulumi.CustomResourceOptions): RepositoryCustomProperty;
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of RepositoryCustomProperty. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj: any): obj is RepositoryCustomProperty;
|
|
49
|
+
/**
|
|
50
|
+
* Name of the custom property. Note that a pre-requisiste for this resource is that a custom property of this name has already been defined on the organization level
|
|
51
|
+
*/
|
|
52
|
+
readonly propertyName: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Type of the custom property. Can be one of `singleSelect`, `multiSelect`, `string`, or `trueFalse`
|
|
55
|
+
*/
|
|
56
|
+
readonly propertyType: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Value of the custom property in the form of an array. Properties of type `singleSelect`, `string`, and `trueFalse` are represented as a string array of length 1
|
|
59
|
+
*/
|
|
60
|
+
readonly propertyValues: pulumi.Output<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* The repository of the environment.
|
|
63
|
+
*/
|
|
64
|
+
readonly repository: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a RepositoryCustomProperty resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: RepositoryCustomPropertyArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering RepositoryCustomProperty resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface RepositoryCustomPropertyState {
|
|
78
|
+
/**
|
|
79
|
+
* Name of the custom property. Note that a pre-requisiste for this resource is that a custom property of this name has already been defined on the organization level
|
|
80
|
+
*/
|
|
81
|
+
propertyName?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Type of the custom property. Can be one of `singleSelect`, `multiSelect`, `string`, or `trueFalse`
|
|
84
|
+
*/
|
|
85
|
+
propertyType?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Value of the custom property in the form of an array. Properties of type `singleSelect`, `string`, and `trueFalse` are represented as a string array of length 1
|
|
88
|
+
*/
|
|
89
|
+
propertyValues?: pulumi.Input<pulumi.Input<string>[]>;
|
|
90
|
+
/**
|
|
91
|
+
* The repository of the environment.
|
|
92
|
+
*/
|
|
93
|
+
repository?: pulumi.Input<string>;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* The set of arguments for constructing a RepositoryCustomProperty resource.
|
|
97
|
+
*/
|
|
98
|
+
export interface RepositoryCustomPropertyArgs {
|
|
99
|
+
/**
|
|
100
|
+
* Name of the custom property. Note that a pre-requisiste for this resource is that a custom property of this name has already been defined on the organization level
|
|
101
|
+
*/
|
|
102
|
+
propertyName: pulumi.Input<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Type of the custom property. Can be one of `singleSelect`, `multiSelect`, `string`, or `trueFalse`
|
|
105
|
+
*/
|
|
106
|
+
propertyType: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Value of the custom property in the form of an array. Properties of type `singleSelect`, `string`, and `trueFalse` are represented as a string array of length 1
|
|
109
|
+
*/
|
|
110
|
+
propertyValues: pulumi.Input<pulumi.Input<string>[]>;
|
|
111
|
+
/**
|
|
112
|
+
* The repository of the environment.
|
|
113
|
+
*/
|
|
114
|
+
repository: pulumi.Input<string>;
|
|
115
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.RepositoryCustomProperty = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource allows you to create and manage a specific custom property for a GitHub repository.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* > Note that this assumes there already is a custom property defined on the org level called `my-cool-property` of type `string`
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as github from "@pulumi/github";
|
|
18
|
+
*
|
|
19
|
+
* const example = new github.Repository("example", {
|
|
20
|
+
* name: "example",
|
|
21
|
+
* description: "My awesome codebase",
|
|
22
|
+
* });
|
|
23
|
+
* const string = new github.RepositoryCustomProperty("string", {
|
|
24
|
+
* repository: example.name,
|
|
25
|
+
* propertyName: "my-cool-property",
|
|
26
|
+
* propertyType: "string",
|
|
27
|
+
* propertyValues: ["test"],
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* GitHub Repository Custom Property can be imported using an ID made up of a comibnation of the names of the organization, repository, custom property separated by a `:` character, e.g.
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import github:index/repositoryCustomProperty:RepositoryCustomProperty example organization-name:repo-name:custom-property-name
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
class RepositoryCustomProperty extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing RepositoryCustomProperty resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param state Any extra arguments used during the lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name, id, state, opts) {
|
|
50
|
+
return new RepositoryCustomProperty(name, state, { ...opts, id: id });
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of RepositoryCustomProperty. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj) {
|
|
57
|
+
if (obj === undefined || obj === null) {
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
return obj['__pulumiType'] === RepositoryCustomProperty.__pulumiType;
|
|
61
|
+
}
|
|
62
|
+
constructor(name, argsOrState, opts) {
|
|
63
|
+
let resourceInputs = {};
|
|
64
|
+
opts = opts || {};
|
|
65
|
+
if (opts.id) {
|
|
66
|
+
const state = argsOrState;
|
|
67
|
+
resourceInputs["propertyName"] = state?.propertyName;
|
|
68
|
+
resourceInputs["propertyType"] = state?.propertyType;
|
|
69
|
+
resourceInputs["propertyValues"] = state?.propertyValues;
|
|
70
|
+
resourceInputs["repository"] = state?.repository;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const args = argsOrState;
|
|
74
|
+
if (args?.propertyName === undefined && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'propertyName'");
|
|
76
|
+
}
|
|
77
|
+
if (args?.propertyType === undefined && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'propertyType'");
|
|
79
|
+
}
|
|
80
|
+
if (args?.propertyValues === undefined && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'propertyValues'");
|
|
82
|
+
}
|
|
83
|
+
if (args?.repository === undefined && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'repository'");
|
|
85
|
+
}
|
|
86
|
+
resourceInputs["propertyName"] = args?.propertyName;
|
|
87
|
+
resourceInputs["propertyType"] = args?.propertyType;
|
|
88
|
+
resourceInputs["propertyValues"] = args?.propertyValues;
|
|
89
|
+
resourceInputs["repository"] = args?.repository;
|
|
90
|
+
}
|
|
91
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
92
|
+
super(RepositoryCustomProperty.__pulumiType, name, resourceInputs, opts);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.RepositoryCustomProperty = RepositoryCustomProperty;
|
|
96
|
+
/** @internal */
|
|
97
|
+
RepositoryCustomProperty.__pulumiType = 'github:index/repositoryCustomProperty:RepositoryCustomProperty';
|
|
98
|
+
//# sourceMappingURL=repositoryCustomProperty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repositoryCustomProperty.js","sourceRoot":"","sources":["../repositoryCustomProperty.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;SACpD;aAAM;YACH,MAAM,IAAI,GAAG,WAAuD,CAAC;YACrE,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,cAAc,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AAnFL,4DAoFC;AAtEG,gBAAgB;AACO,qCAAY,GAAG,gEAAgE,CAAC"}
|
|
@@ -11,12 +11,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
* import * as github from "@pulumi/github";
|
|
12
12
|
*
|
|
13
13
|
* const repo = new github.Repository("repo", {
|
|
14
|
+
* name: "my-repo",
|
|
14
15
|
* description: "GitHub repo managed by Terraform",
|
|
15
16
|
* "private": false,
|
|
16
17
|
* vulnerabilityAlerts: true,
|
|
17
18
|
* });
|
|
18
19
|
* const example = new github.RepositoryDependabotSecurityUpdates("example", {
|
|
19
|
-
* repository:
|
|
20
|
+
* repository: test.name,
|
|
20
21
|
* enabled: true,
|
|
21
22
|
* });
|
|
22
23
|
* ```
|
|
@@ -50,7 +51,7 @@ export declare class RepositoryDependabotSecurityUpdates extends pulumi.CustomRe
|
|
|
50
51
|
*/
|
|
51
52
|
readonly enabled: pulumi.Output<boolean>;
|
|
52
53
|
/**
|
|
53
|
-
* The
|
|
54
|
+
* The name of the GitHub repository.
|
|
54
55
|
*/
|
|
55
56
|
readonly repository: pulumi.Output<string>;
|
|
56
57
|
/**
|
|
@@ -71,7 +72,7 @@ export interface RepositoryDependabotSecurityUpdatesState {
|
|
|
71
72
|
*/
|
|
72
73
|
enabled?: pulumi.Input<boolean>;
|
|
73
74
|
/**
|
|
74
|
-
* The
|
|
75
|
+
* The name of the GitHub repository.
|
|
75
76
|
*/
|
|
76
77
|
repository?: pulumi.Input<string>;
|
|
77
78
|
}
|
|
@@ -84,7 +85,7 @@ export interface RepositoryDependabotSecurityUpdatesArgs {
|
|
|
84
85
|
*/
|
|
85
86
|
enabled: pulumi.Input<boolean>;
|
|
86
87
|
/**
|
|
87
|
-
* The
|
|
88
|
+
* The name of the GitHub repository.
|
|
88
89
|
*/
|
|
89
90
|
repository: pulumi.Input<string>;
|
|
90
91
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.RepositoryDependabotSecurityUpdates = void 0;
|
|
@@ -17,12 +17,13 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* import * as github from "@pulumi/github";
|
|
18
18
|
*
|
|
19
19
|
* const repo = new github.Repository("repo", {
|
|
20
|
+
* name: "my-repo",
|
|
20
21
|
* description: "GitHub repo managed by Terraform",
|
|
21
22
|
* "private": false,
|
|
22
23
|
* vulnerabilityAlerts: true,
|
|
23
24
|
* });
|
|
24
25
|
* const example = new github.RepositoryDependabotSecurityUpdates("example", {
|
|
25
|
-
* repository:
|
|
26
|
+
* repository: test.name,
|
|
26
27
|
* enabled: true,
|
|
27
28
|
* });
|
|
28
29
|
* ```
|
|
@@ -46,7 +47,7 @@ class RepositoryDependabotSecurityUpdates extends pulumi.CustomResource {
|
|
|
46
47
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
48
|
*/
|
|
48
49
|
static get(name, id, state, opts) {
|
|
49
|
-
return new RepositoryDependabotSecurityUpdates(name, state,
|
|
50
|
+
return new RepositoryDependabotSecurityUpdates(name, state, { ...opts, id: id });
|
|
50
51
|
}
|
|
51
52
|
/**
|
|
52
53
|
* Returns true if the given object is an instance of RepositoryDependabotSecurityUpdates. This is designed to work even
|
|
@@ -63,19 +64,19 @@ class RepositoryDependabotSecurityUpdates extends pulumi.CustomResource {
|
|
|
63
64
|
opts = opts || {};
|
|
64
65
|
if (opts.id) {
|
|
65
66
|
const state = argsOrState;
|
|
66
|
-
resourceInputs["enabled"] = state
|
|
67
|
-
resourceInputs["repository"] = state
|
|
67
|
+
resourceInputs["enabled"] = state?.enabled;
|
|
68
|
+
resourceInputs["repository"] = state?.repository;
|
|
68
69
|
}
|
|
69
70
|
else {
|
|
70
71
|
const args = argsOrState;
|
|
71
|
-
if (
|
|
72
|
+
if (args?.enabled === undefined && !opts.urn) {
|
|
72
73
|
throw new Error("Missing required property 'enabled'");
|
|
73
74
|
}
|
|
74
|
-
if (
|
|
75
|
+
if (args?.repository === undefined && !opts.urn) {
|
|
75
76
|
throw new Error("Missing required property 'repository'");
|
|
76
77
|
}
|
|
77
|
-
resourceInputs["enabled"] = args
|
|
78
|
-
resourceInputs["repository"] = args
|
|
78
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
79
|
+
resourceInputs["repository"] = args?.repository;
|
|
79
80
|
}
|
|
80
81
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
82
|
super(RepositoryDependabotSecurityUpdates.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryDependabotSecurityUpdates.js","sourceRoot":"","sources":["../repositoryDependabotSecurityUpdates.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"repositoryDependabotSecurityUpdates.js","sourceRoot":"","sources":["../repositoryDependabotSecurityUpdates.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgD,EAAE,IAAmC;QAC9I,OAAO,IAAI,mCAAmC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1F,CAAC;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,mCAAmC,CAAC,YAAY,CAAC;IACpF,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAgG,EAAE,IAAmC;QAC3J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmE,CAAC;YAClF,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;SACpD;aAAM;YACH,MAAM,IAAI,GAAG,WAAkE,CAAC;YAChF,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;;AAjEL,kFAkEC;AApDG,gBAAgB;AACO,gDAAY,GAAG,sFAAsF,CAAC"}
|
package/repositoryDeployKey.d.ts
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* Provides a GitHub repository deploy key resource.
|
|
4
|
-
*
|
|
5
|
-
* A deploy key is an SSH key that is stored on your server and grants
|
|
6
|
-
* access to a single GitHub repository. This key is attached directly to the repository instead of to a personal user
|
|
7
|
-
* account.
|
|
8
|
-
*
|
|
9
|
-
* This resource allows you to add/remove repository deploy keys.
|
|
10
|
-
*
|
|
11
|
-
* Further documentation on GitHub repository deploy keys:
|
|
12
|
-
* - [About deploy keys](https://developer.github.com/guides/managing-deploy-keys/#deploy-keys)
|
|
13
|
-
*
|
|
14
3
|
* ## Example Usage
|
|
15
4
|
*
|
|
16
5
|
* ```typescript
|
|
@@ -19,22 +8,23 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
8
|
* import * as tls from "@pulumi/tls";
|
|
20
9
|
*
|
|
21
10
|
* // Generate an ssh key using provider "hashicorp/tls"
|
|
22
|
-
* const
|
|
11
|
+
* const exampleRepositoryDeployKey = new tls.PrivateKey("example_repository_deploy_key", {algorithm: "ED25519"});
|
|
23
12
|
* // Add the ssh key as a deploy key
|
|
24
|
-
* const exampleRepositoryDeployKeyRepositoryDeployKey = new github.RepositoryDeployKey("
|
|
13
|
+
* const exampleRepositoryDeployKeyRepositoryDeployKey = new github.RepositoryDeployKey("example_repository_deploy_key", {
|
|
25
14
|
* title: "Repository test key",
|
|
26
15
|
* repository: "test-repo",
|
|
27
|
-
* key:
|
|
16
|
+
* key: exampleRepositoryDeployKey.publicKeyOpenssh,
|
|
28
17
|
* readOnly: true,
|
|
29
18
|
* });
|
|
30
19
|
* ```
|
|
31
20
|
*
|
|
32
21
|
* ## Import
|
|
33
22
|
*
|
|
34
|
-
* Repository deploy keys can be imported using a colon-separated pair of repository name
|
|
23
|
+
* Repository deploy keys can be imported using a colon-separated pair of repository name
|
|
24
|
+
* and GitHub's key id. The latter can be obtained by GitHub's SDKs and API.
|
|
35
25
|
*
|
|
36
26
|
* ```sh
|
|
37
|
-
*
|
|
27
|
+
* $ pulumi import github:index/repositoryDeployKey:RepositoryDeployKey foo test-repo:23824728
|
|
38
28
|
* ```
|
|
39
29
|
*/
|
|
40
30
|
export declare class RepositoryDeployKey extends pulumi.CustomResource {
|