@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryEnvironmentDeploymentPolicy.js","sourceRoot":"","sources":["../repositoryEnvironmentDeploymentPolicy.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"repositoryEnvironmentDeploymentPolicy.js","sourceRoot":"","sources":["../repositoryEnvironmentDeploymentPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,MAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IAC5E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA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C,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,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,qCAAqC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1F,CAAC;;AA7EL,sFA8EC;AAhEG,gBAAgB;AACO,kDAAY,GAAG,0FAA0F,CAAC"}
|
package/repositoryFile.d.ts
CHANGED
|
@@ -1,38 +1,61 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource allows you to create and manage files within a
|
|
4
|
-
* GitHub repository.
|
|
5
|
-
*
|
|
6
3
|
* ## Example Usage
|
|
7
4
|
*
|
|
5
|
+
* ### Existing Branch
|
|
8
6
|
* ```typescript
|
|
9
7
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
8
|
* import * as github from "@pulumi/github";
|
|
11
9
|
*
|
|
12
|
-
* const
|
|
13
|
-
*
|
|
14
|
-
*
|
|
10
|
+
* const foo = new github.Repository("foo", {
|
|
11
|
+
* name: "tf-acc-test-%s",
|
|
12
|
+
* autoInit: true,
|
|
13
|
+
* });
|
|
14
|
+
* const fooRepositoryFile = new github.RepositoryFile("foo", {
|
|
15
|
+
* repository: foo.name,
|
|
15
16
|
* branch: "main",
|
|
16
17
|
* file: ".gitignore",
|
|
17
18
|
* content: "**/*.tfstate",
|
|
18
|
-
* commitMessage: "Managed by
|
|
19
|
+
* commitMessage: "Managed by Pulumi",
|
|
19
20
|
* commitAuthor: "Terraform User",
|
|
20
21
|
* commitEmail: "terraform@example.com",
|
|
21
22
|
* overwriteOnCreate: true,
|
|
22
23
|
* });
|
|
23
24
|
* ```
|
|
24
25
|
*
|
|
26
|
+
* ### Auto Created Branch
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as github from "@pulumi/github";
|
|
30
|
+
*
|
|
31
|
+
* const foo = new github.Repository("foo", {
|
|
32
|
+
* name: "tf-acc-test-%s",
|
|
33
|
+
* autoInit: true,
|
|
34
|
+
* });
|
|
35
|
+
* const fooRepositoryFile = new github.RepositoryFile("foo", {
|
|
36
|
+
* repository: foo.name,
|
|
37
|
+
* branch: "does/not/exist",
|
|
38
|
+
* file: ".gitignore",
|
|
39
|
+
* content: "**/*.tfstate",
|
|
40
|
+
* commitMessage: "Managed by Pulumi",
|
|
41
|
+
* commitAuthor: "Terraform User",
|
|
42
|
+
* commitEmail: "terraform@example.com",
|
|
43
|
+
* overwriteOnCreate: true,
|
|
44
|
+
* autocreateBranch: true,
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
25
48
|
* ## Import
|
|
26
49
|
*
|
|
27
50
|
* Repository files can be imported using a combination of the `repo` and `file`, e.g.
|
|
28
51
|
*
|
|
29
52
|
* ```sh
|
|
30
|
-
*
|
|
53
|
+
* $ pulumi import github:index/repositoryFile:RepositoryFile gitignore example/.gitignore
|
|
31
54
|
* ```
|
|
32
|
-
*
|
|
55
|
+
* To import a file from a branch other than the default branch, append `:` and the branch name, e.g.
|
|
33
56
|
*
|
|
34
57
|
* ```sh
|
|
35
|
-
*
|
|
58
|
+
* $ pulumi import github:index/repositoryFile:RepositoryFile gitignore example/.gitignore:dev
|
|
36
59
|
* ```
|
|
37
60
|
*/
|
|
38
61
|
export declare class RepositoryFile extends pulumi.CustomResource {
|
|
@@ -51,9 +74,21 @@ export declare class RepositoryFile extends pulumi.CustomResource {
|
|
|
51
74
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
75
|
*/
|
|
53
76
|
static isInstance(obj: any): obj is RepositoryFile;
|
|
77
|
+
/**
|
|
78
|
+
* Automatically create the branch if it could not be found. Defaults to false. Subsequent reads if the branch is deleted will occur from 'autocreate_branch_source_branch'.
|
|
79
|
+
*/
|
|
80
|
+
readonly autocreateBranch: pulumi.Output<boolean | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* The branch name to start from, if 'autocreate_branch' is set. Defaults to 'main'.
|
|
83
|
+
*/
|
|
84
|
+
readonly autocreateBranchSourceBranch: pulumi.Output<string | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* The commit hash to start from, if 'autocreate_branch' is set. Defaults to the tip of 'autocreate_branch_source_branch'. If provided, 'autocreate_branch_source_branch' is ignored.
|
|
87
|
+
*/
|
|
88
|
+
readonly autocreateBranchSourceSha: pulumi.Output<string>;
|
|
54
89
|
/**
|
|
55
90
|
* Git branch (defaults to the repository's default branch).
|
|
56
|
-
* The branch must already exist, it will
|
|
91
|
+
* The branch must already exist, it will only be created automatically if 'autocreate_branch' is set true.
|
|
57
92
|
*/
|
|
58
93
|
readonly branch: pulumi.Output<string | undefined>;
|
|
59
94
|
/**
|
|
@@ -109,9 +144,21 @@ export declare class RepositoryFile extends pulumi.CustomResource {
|
|
|
109
144
|
* Input properties used for looking up and filtering RepositoryFile resources.
|
|
110
145
|
*/
|
|
111
146
|
export interface RepositoryFileState {
|
|
147
|
+
/**
|
|
148
|
+
* Automatically create the branch if it could not be found. Defaults to false. Subsequent reads if the branch is deleted will occur from 'autocreate_branch_source_branch'.
|
|
149
|
+
*/
|
|
150
|
+
autocreateBranch?: pulumi.Input<boolean>;
|
|
151
|
+
/**
|
|
152
|
+
* The branch name to start from, if 'autocreate_branch' is set. Defaults to 'main'.
|
|
153
|
+
*/
|
|
154
|
+
autocreateBranchSourceBranch?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The commit hash to start from, if 'autocreate_branch' is set. Defaults to the tip of 'autocreate_branch_source_branch'. If provided, 'autocreate_branch_source_branch' is ignored.
|
|
157
|
+
*/
|
|
158
|
+
autocreateBranchSourceSha?: pulumi.Input<string>;
|
|
112
159
|
/**
|
|
113
160
|
* Git branch (defaults to the repository's default branch).
|
|
114
|
-
* The branch must already exist, it will
|
|
161
|
+
* The branch must already exist, it will only be created automatically if 'autocreate_branch' is set true.
|
|
115
162
|
*/
|
|
116
163
|
branch?: pulumi.Input<string>;
|
|
117
164
|
/**
|
|
@@ -159,9 +206,21 @@ export interface RepositoryFileState {
|
|
|
159
206
|
* The set of arguments for constructing a RepositoryFile resource.
|
|
160
207
|
*/
|
|
161
208
|
export interface RepositoryFileArgs {
|
|
209
|
+
/**
|
|
210
|
+
* Automatically create the branch if it could not be found. Defaults to false. Subsequent reads if the branch is deleted will occur from 'autocreate_branch_source_branch'.
|
|
211
|
+
*/
|
|
212
|
+
autocreateBranch?: pulumi.Input<boolean>;
|
|
213
|
+
/**
|
|
214
|
+
* The branch name to start from, if 'autocreate_branch' is set. Defaults to 'main'.
|
|
215
|
+
*/
|
|
216
|
+
autocreateBranchSourceBranch?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* The commit hash to start from, if 'autocreate_branch' is set. Defaults to the tip of 'autocreate_branch_source_branch'. If provided, 'autocreate_branch_source_branch' is ignored.
|
|
219
|
+
*/
|
|
220
|
+
autocreateBranchSourceSha?: pulumi.Input<string>;
|
|
162
221
|
/**
|
|
163
222
|
* Git branch (defaults to the repository's default branch).
|
|
164
|
-
* The branch must already exist, it will
|
|
223
|
+
* The branch must already exist, it will only be created automatically if 'autocreate_branch' is set true.
|
|
165
224
|
*/
|
|
166
225
|
branch?: pulumi.Input<string>;
|
|
167
226
|
/**
|
package/repositoryFile.js
CHANGED
|
@@ -1,30 +1,53 @@
|
|
|
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.RepositoryFile = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* This resource allows you to create and manage files within a
|
|
10
|
-
* GitHub repository.
|
|
11
|
-
*
|
|
12
9
|
* ## Example Usage
|
|
13
10
|
*
|
|
11
|
+
* ### Existing Branch
|
|
14
12
|
* ```typescript
|
|
15
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
14
|
* import * as github from "@pulumi/github";
|
|
17
15
|
*
|
|
18
|
-
* const
|
|
19
|
-
*
|
|
20
|
-
*
|
|
16
|
+
* const foo = new github.Repository("foo", {
|
|
17
|
+
* name: "tf-acc-test-%s",
|
|
18
|
+
* autoInit: true,
|
|
19
|
+
* });
|
|
20
|
+
* const fooRepositoryFile = new github.RepositoryFile("foo", {
|
|
21
|
+
* repository: foo.name,
|
|
21
22
|
* branch: "main",
|
|
22
23
|
* file: ".gitignore",
|
|
23
24
|
* content: "**/*.tfstate",
|
|
24
|
-
* commitMessage: "Managed by
|
|
25
|
+
* commitMessage: "Managed by Pulumi",
|
|
26
|
+
* commitAuthor: "Terraform User",
|
|
27
|
+
* commitEmail: "terraform@example.com",
|
|
28
|
+
* overwriteOnCreate: true,
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ### Auto Created Branch
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as github from "@pulumi/github";
|
|
36
|
+
*
|
|
37
|
+
* const foo = new github.Repository("foo", {
|
|
38
|
+
* name: "tf-acc-test-%s",
|
|
39
|
+
* autoInit: true,
|
|
40
|
+
* });
|
|
41
|
+
* const fooRepositoryFile = new github.RepositoryFile("foo", {
|
|
42
|
+
* repository: foo.name,
|
|
43
|
+
* branch: "does/not/exist",
|
|
44
|
+
* file: ".gitignore",
|
|
45
|
+
* content: "**/*.tfstate",
|
|
46
|
+
* commitMessage: "Managed by Pulumi",
|
|
25
47
|
* commitAuthor: "Terraform User",
|
|
26
48
|
* commitEmail: "terraform@example.com",
|
|
27
49
|
* overwriteOnCreate: true,
|
|
50
|
+
* autocreateBranch: true,
|
|
28
51
|
* });
|
|
29
52
|
* ```
|
|
30
53
|
*
|
|
@@ -33,12 +56,12 @@ const utilities = require("./utilities");
|
|
|
33
56
|
* Repository files can be imported using a combination of the `repo` and `file`, e.g.
|
|
34
57
|
*
|
|
35
58
|
* ```sh
|
|
36
|
-
*
|
|
59
|
+
* $ pulumi import github:index/repositoryFile:RepositoryFile gitignore example/.gitignore
|
|
37
60
|
* ```
|
|
38
|
-
*
|
|
61
|
+
* To import a file from a branch other than the default branch, append `:` and the branch name, e.g.
|
|
39
62
|
*
|
|
40
63
|
* ```sh
|
|
41
|
-
*
|
|
64
|
+
* $ pulumi import github:index/repositoryFile:RepositoryFile gitignore example/.gitignore:dev
|
|
42
65
|
* ```
|
|
43
66
|
*/
|
|
44
67
|
class RepositoryFile extends pulumi.CustomResource {
|
|
@@ -52,7 +75,7 @@ class RepositoryFile extends pulumi.CustomResource {
|
|
|
52
75
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
76
|
*/
|
|
54
77
|
static get(name, id, state, opts) {
|
|
55
|
-
return new RepositoryFile(name, state,
|
|
78
|
+
return new RepositoryFile(name, state, { ...opts, id: id });
|
|
56
79
|
}
|
|
57
80
|
/**
|
|
58
81
|
* Returns true if the given object is an instance of RepositoryFile. This is designed to work even
|
|
@@ -69,37 +92,43 @@ class RepositoryFile extends pulumi.CustomResource {
|
|
|
69
92
|
opts = opts || {};
|
|
70
93
|
if (opts.id) {
|
|
71
94
|
const state = argsOrState;
|
|
72
|
-
resourceInputs["
|
|
73
|
-
resourceInputs["
|
|
74
|
-
resourceInputs["
|
|
75
|
-
resourceInputs["
|
|
76
|
-
resourceInputs["
|
|
77
|
-
resourceInputs["
|
|
78
|
-
resourceInputs["
|
|
79
|
-
resourceInputs["
|
|
80
|
-
resourceInputs["
|
|
81
|
-
resourceInputs["
|
|
82
|
-
resourceInputs["
|
|
95
|
+
resourceInputs["autocreateBranch"] = state?.autocreateBranch;
|
|
96
|
+
resourceInputs["autocreateBranchSourceBranch"] = state?.autocreateBranchSourceBranch;
|
|
97
|
+
resourceInputs["autocreateBranchSourceSha"] = state?.autocreateBranchSourceSha;
|
|
98
|
+
resourceInputs["branch"] = state?.branch;
|
|
99
|
+
resourceInputs["commitAuthor"] = state?.commitAuthor;
|
|
100
|
+
resourceInputs["commitEmail"] = state?.commitEmail;
|
|
101
|
+
resourceInputs["commitMessage"] = state?.commitMessage;
|
|
102
|
+
resourceInputs["commitSha"] = state?.commitSha;
|
|
103
|
+
resourceInputs["content"] = state?.content;
|
|
104
|
+
resourceInputs["file"] = state?.file;
|
|
105
|
+
resourceInputs["overwriteOnCreate"] = state?.overwriteOnCreate;
|
|
106
|
+
resourceInputs["ref"] = state?.ref;
|
|
107
|
+
resourceInputs["repository"] = state?.repository;
|
|
108
|
+
resourceInputs["sha"] = state?.sha;
|
|
83
109
|
}
|
|
84
110
|
else {
|
|
85
111
|
const args = argsOrState;
|
|
86
|
-
if (
|
|
112
|
+
if (args?.content === undefined && !opts.urn) {
|
|
87
113
|
throw new Error("Missing required property 'content'");
|
|
88
114
|
}
|
|
89
|
-
if (
|
|
115
|
+
if (args?.file === undefined && !opts.urn) {
|
|
90
116
|
throw new Error("Missing required property 'file'");
|
|
91
117
|
}
|
|
92
|
-
if (
|
|
118
|
+
if (args?.repository === undefined && !opts.urn) {
|
|
93
119
|
throw new Error("Missing required property 'repository'");
|
|
94
120
|
}
|
|
95
|
-
resourceInputs["
|
|
96
|
-
resourceInputs["
|
|
97
|
-
resourceInputs["
|
|
98
|
-
resourceInputs["
|
|
99
|
-
resourceInputs["
|
|
100
|
-
resourceInputs["
|
|
101
|
-
resourceInputs["
|
|
102
|
-
resourceInputs["
|
|
121
|
+
resourceInputs["autocreateBranch"] = args?.autocreateBranch;
|
|
122
|
+
resourceInputs["autocreateBranchSourceBranch"] = args?.autocreateBranchSourceBranch;
|
|
123
|
+
resourceInputs["autocreateBranchSourceSha"] = args?.autocreateBranchSourceSha;
|
|
124
|
+
resourceInputs["branch"] = args?.branch;
|
|
125
|
+
resourceInputs["commitAuthor"] = args?.commitAuthor;
|
|
126
|
+
resourceInputs["commitEmail"] = args?.commitEmail;
|
|
127
|
+
resourceInputs["commitMessage"] = args?.commitMessage;
|
|
128
|
+
resourceInputs["content"] = args?.content;
|
|
129
|
+
resourceInputs["file"] = args?.file;
|
|
130
|
+
resourceInputs["overwriteOnCreate"] = args?.overwriteOnCreate;
|
|
131
|
+
resourceInputs["repository"] = args?.repository;
|
|
103
132
|
resourceInputs["commitSha"] = undefined /*out*/;
|
|
104
133
|
resourceInputs["ref"] = undefined /*out*/;
|
|
105
134
|
resourceInputs["sha"] = undefined /*out*/;
|
package/repositoryFile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryFile.js","sourceRoot":"","sources":["../repositoryFile.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"repositoryFile.js","sourceRoot":"","sources":["../repositoryFile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KA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AC,OAAO,CAAC;YAC1C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA7IL,wCA8IC;AAhIG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/repositoryMilestone.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
23
23
|
* A GitHub Repository Milestone can be imported using an ID made up of `owner/repository/number`, e.g.
|
|
24
24
|
*
|
|
25
25
|
* ```sh
|
|
26
|
-
*
|
|
26
|
+
* $ pulumi import github:index/repositoryMilestone:RepositoryMilestone example example-owner/example-repository/1
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
29
|
export declare class RepositoryMilestone extends pulumi.CustomResource {
|
package/repositoryMilestone.js
CHANGED
|
@@ -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.RepositoryMilestone = void 0;
|
|
@@ -29,7 +29,7 @@ const utilities = require("./utilities");
|
|
|
29
29
|
* A GitHub Repository Milestone can be imported using an ID made up of `owner/repository/number`, e.g.
|
|
30
30
|
*
|
|
31
31
|
* ```sh
|
|
32
|
-
*
|
|
32
|
+
* $ pulumi import github:index/repositoryMilestone:RepositoryMilestone example example-owner/example-repository/1
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
35
|
class RepositoryMilestone extends pulumi.CustomResource {
|
|
@@ -43,7 +43,7 @@ class RepositoryMilestone extends pulumi.CustomResource {
|
|
|
43
43
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
44
|
*/
|
|
45
45
|
static get(name, id, state, opts) {
|
|
46
|
-
return new RepositoryMilestone(name, state,
|
|
46
|
+
return new RepositoryMilestone(name, state, { ...opts, id: id });
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* Returns true if the given object is an instance of RepositoryMilestone. This is designed to work even
|
|
@@ -60,31 +60,31 @@ class RepositoryMilestone extends pulumi.CustomResource {
|
|
|
60
60
|
opts = opts || {};
|
|
61
61
|
if (opts.id) {
|
|
62
62
|
const state = argsOrState;
|
|
63
|
-
resourceInputs["description"] = state
|
|
64
|
-
resourceInputs["dueDate"] = state
|
|
65
|
-
resourceInputs["number"] = state
|
|
66
|
-
resourceInputs["owner"] = state
|
|
67
|
-
resourceInputs["repository"] = state
|
|
68
|
-
resourceInputs["state"] = state
|
|
69
|
-
resourceInputs["title"] = state
|
|
63
|
+
resourceInputs["description"] = state?.description;
|
|
64
|
+
resourceInputs["dueDate"] = state?.dueDate;
|
|
65
|
+
resourceInputs["number"] = state?.number;
|
|
66
|
+
resourceInputs["owner"] = state?.owner;
|
|
67
|
+
resourceInputs["repository"] = state?.repository;
|
|
68
|
+
resourceInputs["state"] = state?.state;
|
|
69
|
+
resourceInputs["title"] = state?.title;
|
|
70
70
|
}
|
|
71
71
|
else {
|
|
72
72
|
const args = argsOrState;
|
|
73
|
-
if (
|
|
73
|
+
if (args?.owner === undefined && !opts.urn) {
|
|
74
74
|
throw new Error("Missing required property 'owner'");
|
|
75
75
|
}
|
|
76
|
-
if (
|
|
76
|
+
if (args?.repository === undefined && !opts.urn) {
|
|
77
77
|
throw new Error("Missing required property 'repository'");
|
|
78
78
|
}
|
|
79
|
-
if (
|
|
79
|
+
if (args?.title === undefined && !opts.urn) {
|
|
80
80
|
throw new Error("Missing required property 'title'");
|
|
81
81
|
}
|
|
82
|
-
resourceInputs["description"] = args
|
|
83
|
-
resourceInputs["dueDate"] = args
|
|
84
|
-
resourceInputs["owner"] = args
|
|
85
|
-
resourceInputs["repository"] = args
|
|
86
|
-
resourceInputs["state"] = args
|
|
87
|
-
resourceInputs["title"] = args
|
|
82
|
+
resourceInputs["description"] = args?.description;
|
|
83
|
+
resourceInputs["dueDate"] = args?.dueDate;
|
|
84
|
+
resourceInputs["owner"] = args?.owner;
|
|
85
|
+
resourceInputs["repository"] = args?.repository;
|
|
86
|
+
resourceInputs["state"] = args?.state;
|
|
87
|
+
resourceInputs["title"] = args?.title;
|
|
88
88
|
resourceInputs["number"] = undefined /*out*/;
|
|
89
89
|
}
|
|
90
90
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryMilestone.js","sourceRoot":"","sources":["../repositoryMilestone.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"repositoryMilestone.js","sourceRoot":"","sources":["../repositoryMilestone.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY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AAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,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,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAlGL,kDAmGC;AArFG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
package/repositoryProject.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* !> **Warning:** This resource no longer works as the [Projects (classic) REST API](https://docs.github.com/en/rest/projects/projects?apiVersion=2022-11-28) has been [removed](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) and as such has been deprecated. It will be removed in a future release.
|
|
4
|
+
*
|
|
3
5
|
* This resource allows you to create and manage projects for GitHub repository.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
|
@@ -9,12 +11,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
11
|
* import * as github from "@pulumi/github";
|
|
10
12
|
*
|
|
11
13
|
* const example = new github.Repository("example", {
|
|
14
|
+
* name: "example",
|
|
12
15
|
* description: "My awesome codebase",
|
|
13
16
|
* hasProjects: true,
|
|
14
17
|
* });
|
|
15
18
|
* const project = new github.RepositoryProject("project", {
|
|
16
|
-
*
|
|
19
|
+
* name: "A Repository Project",
|
|
17
20
|
* repository: example.name,
|
|
21
|
+
* body: "This is a repository project.",
|
|
18
22
|
* });
|
|
19
23
|
* ```
|
|
20
24
|
*/
|
|
@@ -90,6 +94,7 @@ export interface RepositoryProjectArgs {
|
|
|
90
94
|
* The body of the project.
|
|
91
95
|
*/
|
|
92
96
|
body?: pulumi.Input<string>;
|
|
97
|
+
etag?: pulumi.Input<string>;
|
|
93
98
|
/**
|
|
94
99
|
* The name of the project.
|
|
95
100
|
*/
|
package/repositoryProject.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
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.RepositoryProject = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* !> **Warning:** This resource no longer works as the [Projects (classic) REST API](https://docs.github.com/en/rest/projects/projects?apiVersion=2022-11-28) has been [removed](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) and as such has been deprecated. It will be removed in a future release.
|
|
10
|
+
*
|
|
9
11
|
* This resource allows you to create and manage projects for GitHub repository.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
|
@@ -15,12 +17,14 @@ const utilities = require("./utilities");
|
|
|
15
17
|
* import * as github from "@pulumi/github";
|
|
16
18
|
*
|
|
17
19
|
* const example = new github.Repository("example", {
|
|
20
|
+
* name: "example",
|
|
18
21
|
* description: "My awesome codebase",
|
|
19
22
|
* hasProjects: true,
|
|
20
23
|
* });
|
|
21
24
|
* const project = new github.RepositoryProject("project", {
|
|
22
|
-
*
|
|
25
|
+
* name: "A Repository Project",
|
|
23
26
|
* repository: example.name,
|
|
27
|
+
* body: "This is a repository project.",
|
|
24
28
|
* });
|
|
25
29
|
* ```
|
|
26
30
|
*/
|
|
@@ -35,7 +39,7 @@ class RepositoryProject extends pulumi.CustomResource {
|
|
|
35
39
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
40
|
*/
|
|
37
41
|
static get(name, id, state, opts) {
|
|
38
|
-
return new RepositoryProject(name, state,
|
|
42
|
+
return new RepositoryProject(name, state, { ...opts, id: id });
|
|
39
43
|
}
|
|
40
44
|
/**
|
|
41
45
|
* Returns true if the given object is an instance of RepositoryProject. This is designed to work even
|
|
@@ -52,21 +56,21 @@ class RepositoryProject extends pulumi.CustomResource {
|
|
|
52
56
|
opts = opts || {};
|
|
53
57
|
if (opts.id) {
|
|
54
58
|
const state = argsOrState;
|
|
55
|
-
resourceInputs["body"] = state
|
|
56
|
-
resourceInputs["etag"] = state
|
|
57
|
-
resourceInputs["name"] = state
|
|
58
|
-
resourceInputs["repository"] = state
|
|
59
|
-
resourceInputs["url"] = state
|
|
59
|
+
resourceInputs["body"] = state?.body;
|
|
60
|
+
resourceInputs["etag"] = state?.etag;
|
|
61
|
+
resourceInputs["name"] = state?.name;
|
|
62
|
+
resourceInputs["repository"] = state?.repository;
|
|
63
|
+
resourceInputs["url"] = state?.url;
|
|
60
64
|
}
|
|
61
65
|
else {
|
|
62
66
|
const args = argsOrState;
|
|
63
|
-
if (
|
|
67
|
+
if (args?.repository === undefined && !opts.urn) {
|
|
64
68
|
throw new Error("Missing required property 'repository'");
|
|
65
69
|
}
|
|
66
|
-
resourceInputs["body"] = args
|
|
67
|
-
resourceInputs["
|
|
68
|
-
resourceInputs["
|
|
69
|
-
resourceInputs["
|
|
70
|
+
resourceInputs["body"] = args?.body;
|
|
71
|
+
resourceInputs["etag"] = args?.etag;
|
|
72
|
+
resourceInputs["name"] = args?.name;
|
|
73
|
+
resourceInputs["repository"] = args?.repository;
|
|
70
74
|
resourceInputs["url"] = undefined /*out*/;
|
|
71
75
|
}
|
|
72
76
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/repositoryProject.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryProject.js","sourceRoot":"","sources":["../repositoryProject.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"repositoryProject.js","sourceRoot":"","sources":["../repositoryProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IA4BD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE,GAAG,CAAC;SACtC;aAAM;YACH,MAAM,IAAI,GAAG,WAAgD,CAAC;YAC9D,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA7EL,8CA8EC;AAhEG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -9,11 +9,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as github from "@pulumi/github";
|
|
10
10
|
*
|
|
11
11
|
* const example = new github.RepositoryPullRequest("example", {
|
|
12
|
-
* baseRef: "main",
|
|
13
12
|
* baseRepository: "example-repository",
|
|
14
|
-
*
|
|
13
|
+
* baseRef: "main",
|
|
15
14
|
* headRef: "feature-branch",
|
|
16
15
|
* title: "My newest feature",
|
|
16
|
+
* body: "This will change everything",
|
|
17
17
|
* });
|
|
18
18
|
* ```
|
|
19
19
|
*/
|