@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
package/release.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as github from "@pulumi/github";
|
|
11
11
|
*
|
|
12
12
|
* const repo = new github.Repository("repo", {
|
|
13
|
+
* name: "repo",
|
|
13
14
|
* description: "GitHub repo managed by Terraform",
|
|
14
15
|
* "private": false,
|
|
15
16
|
* });
|
|
@@ -18,20 +19,24 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
19
|
* tagName: "v1.0.0",
|
|
19
20
|
* });
|
|
20
21
|
* ```
|
|
22
|
+
*
|
|
21
23
|
* ### On Non-Default Branch
|
|
22
24
|
*
|
|
23
25
|
* ```typescript
|
|
24
26
|
* import * as pulumi from "@pulumi/pulumi";
|
|
25
27
|
* import * as github from "@pulumi/github";
|
|
26
28
|
*
|
|
27
|
-
* const
|
|
28
|
-
*
|
|
29
|
-
*
|
|
29
|
+
* const example = new github.Repository("example", {
|
|
30
|
+
* name: "repo",
|
|
31
|
+
* autoInit: true,
|
|
32
|
+
* });
|
|
33
|
+
* const exampleBranch = new github.Branch("example", {
|
|
34
|
+
* repository: example.name,
|
|
30
35
|
* branch: "branch_name",
|
|
31
|
-
* sourceBranch:
|
|
36
|
+
* sourceBranch: example.defaultBranch,
|
|
32
37
|
* });
|
|
33
|
-
* const exampleRelease = new github.Release("
|
|
34
|
-
* repository:
|
|
38
|
+
* const exampleRelease = new github.Release("example", {
|
|
39
|
+
* repository: example.name,
|
|
35
40
|
* tagName: "v1.0.0",
|
|
36
41
|
* targetCommitish: exampleBranch.branch,
|
|
37
42
|
* draft: false,
|
|
@@ -63,10 +68,18 @@ export declare class Release extends pulumi.CustomResource {
|
|
|
63
68
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
64
69
|
*/
|
|
65
70
|
static isInstance(obj: any): obj is Release;
|
|
71
|
+
/**
|
|
72
|
+
* URL that can be provided to API calls displaying the attached assets to this release.
|
|
73
|
+
*/
|
|
74
|
+
readonly assetsUrl: pulumi.Output<string>;
|
|
66
75
|
/**
|
|
67
76
|
* Text describing the contents of the tag.
|
|
68
77
|
*/
|
|
69
78
|
readonly body: pulumi.Output<string | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* This is the date of the commit used for the release, and not the date when the release was drafted or published.
|
|
81
|
+
*/
|
|
82
|
+
readonly createdAt: pulumi.Output<string>;
|
|
70
83
|
/**
|
|
71
84
|
* If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see [Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository).
|
|
72
85
|
*/
|
|
@@ -80,14 +93,30 @@ export declare class Release extends pulumi.CustomResource {
|
|
|
80
93
|
* Set to `true` to automatically generate the name and body for this release. If `name` is specified, the specified `name` will be used; otherwise, a name will be automatically generated. If `body` is specified, the `body` will be pre-pended to the automatically generated notes.
|
|
81
94
|
*/
|
|
82
95
|
readonly generateReleaseNotes: pulumi.Output<boolean | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* URL of the release in GitHub.
|
|
98
|
+
*/
|
|
99
|
+
readonly htmlUrl: pulumi.Output<string>;
|
|
83
100
|
/**
|
|
84
101
|
* The name of the release.
|
|
85
102
|
*/
|
|
86
103
|
readonly name: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* GraphQL global node id for use with v4 API
|
|
106
|
+
*/
|
|
107
|
+
readonly nodeId: pulumi.Output<string>;
|
|
87
108
|
/**
|
|
88
109
|
* Set to `false` to identify the release as a full release.
|
|
89
110
|
*/
|
|
90
111
|
readonly prerelease: pulumi.Output<boolean | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* This is the date when the release was published. This will be empty if the release is a draft.
|
|
114
|
+
*/
|
|
115
|
+
readonly publishedAt: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The ID of the release.
|
|
118
|
+
*/
|
|
119
|
+
readonly releaseId: pulumi.Output<number>;
|
|
91
120
|
/**
|
|
92
121
|
* The name of the repository.
|
|
93
122
|
*/
|
|
@@ -96,10 +125,26 @@ export declare class Release extends pulumi.CustomResource {
|
|
|
96
125
|
* The name of the tag.
|
|
97
126
|
*/
|
|
98
127
|
readonly tagName: pulumi.Output<string>;
|
|
128
|
+
/**
|
|
129
|
+
* URL that can be provided to API calls to fetch the release TAR archive.
|
|
130
|
+
*/
|
|
131
|
+
readonly tarballUrl: pulumi.Output<string>;
|
|
99
132
|
/**
|
|
100
133
|
* The branch name or commit SHA the tag is created from. Defaults to the default branch of the repository.
|
|
101
134
|
*/
|
|
102
135
|
readonly targetCommitish: pulumi.Output<string | undefined>;
|
|
136
|
+
/**
|
|
137
|
+
* URL that can be provided to API calls to upload assets.
|
|
138
|
+
*/
|
|
139
|
+
readonly uploadUrl: pulumi.Output<string>;
|
|
140
|
+
/**
|
|
141
|
+
* URL that can be provided to API calls that reference this release.
|
|
142
|
+
*/
|
|
143
|
+
readonly url: pulumi.Output<string>;
|
|
144
|
+
/**
|
|
145
|
+
* URL that can be provided to API calls to fetch the release ZIP archive.
|
|
146
|
+
*/
|
|
147
|
+
readonly zipballUrl: pulumi.Output<string>;
|
|
103
148
|
/**
|
|
104
149
|
* Create a Release resource with the given unique name, arguments, and options.
|
|
105
150
|
*
|
|
@@ -113,10 +158,18 @@ export declare class Release extends pulumi.CustomResource {
|
|
|
113
158
|
* Input properties used for looking up and filtering Release resources.
|
|
114
159
|
*/
|
|
115
160
|
export interface ReleaseState {
|
|
161
|
+
/**
|
|
162
|
+
* URL that can be provided to API calls displaying the attached assets to this release.
|
|
163
|
+
*/
|
|
164
|
+
assetsUrl?: pulumi.Input<string>;
|
|
116
165
|
/**
|
|
117
166
|
* Text describing the contents of the tag.
|
|
118
167
|
*/
|
|
119
168
|
body?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* This is the date of the commit used for the release, and not the date when the release was drafted or published.
|
|
171
|
+
*/
|
|
172
|
+
createdAt?: pulumi.Input<string>;
|
|
120
173
|
/**
|
|
121
174
|
* If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see [Managing categories for discussions in your repository](https://docs.github.com/discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository).
|
|
122
175
|
*/
|
|
@@ -130,14 +183,30 @@ export interface ReleaseState {
|
|
|
130
183
|
* Set to `true` to automatically generate the name and body for this release. If `name` is specified, the specified `name` will be used; otherwise, a name will be automatically generated. If `body` is specified, the `body` will be pre-pended to the automatically generated notes.
|
|
131
184
|
*/
|
|
132
185
|
generateReleaseNotes?: pulumi.Input<boolean>;
|
|
186
|
+
/**
|
|
187
|
+
* URL of the release in GitHub.
|
|
188
|
+
*/
|
|
189
|
+
htmlUrl?: pulumi.Input<string>;
|
|
133
190
|
/**
|
|
134
191
|
* The name of the release.
|
|
135
192
|
*/
|
|
136
193
|
name?: pulumi.Input<string>;
|
|
194
|
+
/**
|
|
195
|
+
* GraphQL global node id for use with v4 API
|
|
196
|
+
*/
|
|
197
|
+
nodeId?: pulumi.Input<string>;
|
|
137
198
|
/**
|
|
138
199
|
* Set to `false` to identify the release as a full release.
|
|
139
200
|
*/
|
|
140
201
|
prerelease?: pulumi.Input<boolean>;
|
|
202
|
+
/**
|
|
203
|
+
* This is the date when the release was published. This will be empty if the release is a draft.
|
|
204
|
+
*/
|
|
205
|
+
publishedAt?: pulumi.Input<string>;
|
|
206
|
+
/**
|
|
207
|
+
* The ID of the release.
|
|
208
|
+
*/
|
|
209
|
+
releaseId?: pulumi.Input<number>;
|
|
141
210
|
/**
|
|
142
211
|
* The name of the repository.
|
|
143
212
|
*/
|
|
@@ -146,10 +215,26 @@ export interface ReleaseState {
|
|
|
146
215
|
* The name of the tag.
|
|
147
216
|
*/
|
|
148
217
|
tagName?: pulumi.Input<string>;
|
|
218
|
+
/**
|
|
219
|
+
* URL that can be provided to API calls to fetch the release TAR archive.
|
|
220
|
+
*/
|
|
221
|
+
tarballUrl?: pulumi.Input<string>;
|
|
149
222
|
/**
|
|
150
223
|
* The branch name or commit SHA the tag is created from. Defaults to the default branch of the repository.
|
|
151
224
|
*/
|
|
152
225
|
targetCommitish?: pulumi.Input<string>;
|
|
226
|
+
/**
|
|
227
|
+
* URL that can be provided to API calls to upload assets.
|
|
228
|
+
*/
|
|
229
|
+
uploadUrl?: pulumi.Input<string>;
|
|
230
|
+
/**
|
|
231
|
+
* URL that can be provided to API calls that reference this release.
|
|
232
|
+
*/
|
|
233
|
+
url?: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* URL that can be provided to API calls to fetch the release ZIP archive.
|
|
236
|
+
*/
|
|
237
|
+
zipballUrl?: pulumi.Input<string>;
|
|
153
238
|
}
|
|
154
239
|
/**
|
|
155
240
|
* The set of arguments for constructing a Release resource.
|
package/release.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.Release = void 0;
|
|
@@ -16,6 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as github from "@pulumi/github";
|
|
17
17
|
*
|
|
18
18
|
* const repo = new github.Repository("repo", {
|
|
19
|
+
* name: "repo",
|
|
19
20
|
* description: "GitHub repo managed by Terraform",
|
|
20
21
|
* "private": false,
|
|
21
22
|
* });
|
|
@@ -24,20 +25,24 @@ const utilities = require("./utilities");
|
|
|
24
25
|
* tagName: "v1.0.0",
|
|
25
26
|
* });
|
|
26
27
|
* ```
|
|
28
|
+
*
|
|
27
29
|
* ### On Non-Default Branch
|
|
28
30
|
*
|
|
29
31
|
* ```typescript
|
|
30
32
|
* import * as pulumi from "@pulumi/pulumi";
|
|
31
33
|
* import * as github from "@pulumi/github";
|
|
32
34
|
*
|
|
33
|
-
* const
|
|
34
|
-
*
|
|
35
|
-
*
|
|
35
|
+
* const example = new github.Repository("example", {
|
|
36
|
+
* name: "repo",
|
|
37
|
+
* autoInit: true,
|
|
38
|
+
* });
|
|
39
|
+
* const exampleBranch = new github.Branch("example", {
|
|
40
|
+
* repository: example.name,
|
|
36
41
|
* branch: "branch_name",
|
|
37
|
-
* sourceBranch:
|
|
42
|
+
* sourceBranch: example.defaultBranch,
|
|
38
43
|
* });
|
|
39
|
-
* const exampleRelease = new github.Release("
|
|
40
|
-
* repository:
|
|
44
|
+
* const exampleRelease = new github.Release("example", {
|
|
45
|
+
* repository: example.name,
|
|
41
46
|
* tagName: "v1.0.0",
|
|
42
47
|
* targetCommitish: exampleBranch.branch,
|
|
43
48
|
* draft: false,
|
|
@@ -64,7 +69,7 @@ class Release extends pulumi.CustomResource {
|
|
|
64
69
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
65
70
|
*/
|
|
66
71
|
static get(name, id, state, opts) {
|
|
67
|
-
return new Release(name, state,
|
|
72
|
+
return new Release(name, state, { ...opts, id: id });
|
|
68
73
|
}
|
|
69
74
|
/**
|
|
70
75
|
* Returns true if the given object is an instance of Release. This is designed to work even
|
|
@@ -81,35 +86,55 @@ class Release extends pulumi.CustomResource {
|
|
|
81
86
|
opts = opts || {};
|
|
82
87
|
if (opts.id) {
|
|
83
88
|
const state = argsOrState;
|
|
84
|
-
resourceInputs["
|
|
85
|
-
resourceInputs["
|
|
86
|
-
resourceInputs["
|
|
87
|
-
resourceInputs["
|
|
88
|
-
resourceInputs["
|
|
89
|
-
resourceInputs["
|
|
90
|
-
resourceInputs["
|
|
91
|
-
resourceInputs["
|
|
92
|
-
resourceInputs["
|
|
93
|
-
resourceInputs["
|
|
89
|
+
resourceInputs["assetsUrl"] = state?.assetsUrl;
|
|
90
|
+
resourceInputs["body"] = state?.body;
|
|
91
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
92
|
+
resourceInputs["discussionCategoryName"] = state?.discussionCategoryName;
|
|
93
|
+
resourceInputs["draft"] = state?.draft;
|
|
94
|
+
resourceInputs["etag"] = state?.etag;
|
|
95
|
+
resourceInputs["generateReleaseNotes"] = state?.generateReleaseNotes;
|
|
96
|
+
resourceInputs["htmlUrl"] = state?.htmlUrl;
|
|
97
|
+
resourceInputs["name"] = state?.name;
|
|
98
|
+
resourceInputs["nodeId"] = state?.nodeId;
|
|
99
|
+
resourceInputs["prerelease"] = state?.prerelease;
|
|
100
|
+
resourceInputs["publishedAt"] = state?.publishedAt;
|
|
101
|
+
resourceInputs["releaseId"] = state?.releaseId;
|
|
102
|
+
resourceInputs["repository"] = state?.repository;
|
|
103
|
+
resourceInputs["tagName"] = state?.tagName;
|
|
104
|
+
resourceInputs["tarballUrl"] = state?.tarballUrl;
|
|
105
|
+
resourceInputs["targetCommitish"] = state?.targetCommitish;
|
|
106
|
+
resourceInputs["uploadUrl"] = state?.uploadUrl;
|
|
107
|
+
resourceInputs["url"] = state?.url;
|
|
108
|
+
resourceInputs["zipballUrl"] = state?.zipballUrl;
|
|
94
109
|
}
|
|
95
110
|
else {
|
|
96
111
|
const args = argsOrState;
|
|
97
|
-
if (
|
|
112
|
+
if (args?.repository === undefined && !opts.urn) {
|
|
98
113
|
throw new Error("Missing required property 'repository'");
|
|
99
114
|
}
|
|
100
|
-
if (
|
|
115
|
+
if (args?.tagName === undefined && !opts.urn) {
|
|
101
116
|
throw new Error("Missing required property 'tagName'");
|
|
102
117
|
}
|
|
103
|
-
resourceInputs["body"] = args
|
|
104
|
-
resourceInputs["discussionCategoryName"] = args
|
|
105
|
-
resourceInputs["draft"] = args
|
|
106
|
-
resourceInputs["generateReleaseNotes"] = args
|
|
107
|
-
resourceInputs["name"] = args
|
|
108
|
-
resourceInputs["prerelease"] = args
|
|
109
|
-
resourceInputs["repository"] = args
|
|
110
|
-
resourceInputs["tagName"] = args
|
|
111
|
-
resourceInputs["targetCommitish"] = args
|
|
118
|
+
resourceInputs["body"] = args?.body;
|
|
119
|
+
resourceInputs["discussionCategoryName"] = args?.discussionCategoryName;
|
|
120
|
+
resourceInputs["draft"] = args?.draft;
|
|
121
|
+
resourceInputs["generateReleaseNotes"] = args?.generateReleaseNotes;
|
|
122
|
+
resourceInputs["name"] = args?.name;
|
|
123
|
+
resourceInputs["prerelease"] = args?.prerelease;
|
|
124
|
+
resourceInputs["repository"] = args?.repository;
|
|
125
|
+
resourceInputs["tagName"] = args?.tagName;
|
|
126
|
+
resourceInputs["targetCommitish"] = args?.targetCommitish;
|
|
127
|
+
resourceInputs["assetsUrl"] = undefined /*out*/;
|
|
128
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
112
129
|
resourceInputs["etag"] = undefined /*out*/;
|
|
130
|
+
resourceInputs["htmlUrl"] = undefined /*out*/;
|
|
131
|
+
resourceInputs["nodeId"] = undefined /*out*/;
|
|
132
|
+
resourceInputs["publishedAt"] = undefined /*out*/;
|
|
133
|
+
resourceInputs["releaseId"] = undefined /*out*/;
|
|
134
|
+
resourceInputs["tarballUrl"] = undefined /*out*/;
|
|
135
|
+
resourceInputs["uploadUrl"] = undefined /*out*/;
|
|
136
|
+
resourceInputs["url"] = undefined /*out*/;
|
|
137
|
+
resourceInputs["zipballUrl"] = undefined /*out*/;
|
|
113
138
|
}
|
|
114
139
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
115
140
|
super(Release.__pulumiType, name, resourceInputs, opts);
|
package/release.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"release.js","sourceRoot":"","sources":["../release.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"release.js","sourceRoot":"","sources":["../release.ts"],"names":[],"mappings":"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"}
|
package/repository.d.ts
CHANGED
|
@@ -5,9 +5,7 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* This resource allows you to create and manage repositories within your
|
|
6
6
|
* GitHub organization or personal account.
|
|
7
7
|
*
|
|
8
|
-
* > Note
|
|
9
|
-
* the `contents:write` permission or else the `allowMergeCommit`, `allowRebaseMerge`,
|
|
10
|
-
* and `allowSquashMerge` attributes will be ignored, causing confusing diffs.
|
|
8
|
+
* > **Note** When used with GitHub App authentication, even GET requests must have the `contents:write` permission. Without it, the following arguments will be ignored, leading to unexpected behavior and confusing diffs: `allowMergeCommit`, `allowSquashMerge`, `allowRebaseMerge`, `mergeCommitTitle`, `mergeCommitMessage`, `squashMergeCommitTitle` and `squashMergeCommitMessage`.
|
|
11
9
|
*
|
|
12
10
|
* ## Example Usage
|
|
13
11
|
*
|
|
@@ -16,15 +14,17 @@ import * as outputs from "./types/output";
|
|
|
16
14
|
* import * as github from "@pulumi/github";
|
|
17
15
|
*
|
|
18
16
|
* const example = new github.Repository("example", {
|
|
17
|
+
* name: "example",
|
|
19
18
|
* description: "My awesome codebase",
|
|
19
|
+
* visibility: "public",
|
|
20
20
|
* template: {
|
|
21
|
-
* includeAllBranches: true,
|
|
22
21
|
* owner: "github",
|
|
23
22
|
* repository: "terraform-template-module",
|
|
23
|
+
* includeAllBranches: true,
|
|
24
24
|
* },
|
|
25
|
-
* visibility: "public",
|
|
26
25
|
* });
|
|
27
26
|
* ```
|
|
27
|
+
*
|
|
28
28
|
* ### With GitHub Pages Enabled
|
|
29
29
|
*
|
|
30
30
|
* ```typescript
|
|
@@ -32,14 +32,30 @@ import * as outputs from "./types/output";
|
|
|
32
32
|
* import * as github from "@pulumi/github";
|
|
33
33
|
*
|
|
34
34
|
* const example = new github.Repository("example", {
|
|
35
|
+
* name: "example",
|
|
35
36
|
* description: "My awesome web page",
|
|
37
|
+
* "private": false,
|
|
36
38
|
* pages: {
|
|
37
39
|
* source: {
|
|
38
40
|
* branch: "master",
|
|
39
41
|
* path: "/docs",
|
|
40
42
|
* },
|
|
41
43
|
* },
|
|
42
|
-
*
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ### With Repository Forking
|
|
48
|
+
*
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as github from "@pulumi/github";
|
|
52
|
+
*
|
|
53
|
+
* const forkedRepo = new github.Repository("forked_repo", {
|
|
54
|
+
* name: "forked-repository",
|
|
55
|
+
* description: "This is a fork of another repository",
|
|
56
|
+
* fork: "true",
|
|
57
|
+
* sourceOwner: "some-org",
|
|
58
|
+
* sourceRepo: "original-repository",
|
|
43
59
|
* });
|
|
44
60
|
* ```
|
|
45
61
|
*
|
|
@@ -48,7 +64,7 @@ import * as outputs from "./types/output";
|
|
|
48
64
|
* Repositories can be imported using the `name`, e.g.
|
|
49
65
|
*
|
|
50
66
|
* ```sh
|
|
51
|
-
*
|
|
67
|
+
* $ pulumi import github:index/repository:Repository terraform terraform
|
|
52
68
|
* ```
|
|
53
69
|
*/
|
|
54
70
|
export declare class Repository extends pulumi.CustomResource {
|
|
@@ -104,7 +120,7 @@ export declare class Repository extends pulumi.CustomResource {
|
|
|
104
120
|
* and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the
|
|
105
121
|
* initial repository creation and create the target branch inside of the repository prior to setting this attribute.
|
|
106
122
|
*
|
|
107
|
-
* @deprecated Use the
|
|
123
|
+
* @deprecated Use the github.BranchDefault resource instead
|
|
108
124
|
*/
|
|
109
125
|
readonly defaultBranch: pulumi.Output<string>;
|
|
110
126
|
/**
|
|
@@ -116,6 +132,10 @@ export declare class Repository extends pulumi.CustomResource {
|
|
|
116
132
|
*/
|
|
117
133
|
readonly description: pulumi.Output<string | undefined>;
|
|
118
134
|
readonly etag: pulumi.Output<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Set to `true` to create a fork of an existing repository. When set to `true`, both `sourceOwner` and `sourceRepo` must also be specified.
|
|
137
|
+
*/
|
|
138
|
+
readonly fork: pulumi.Output<string>;
|
|
119
139
|
/**
|
|
120
140
|
* A string of the form "orgname/reponame".
|
|
121
141
|
*/
|
|
@@ -213,6 +233,14 @@ export declare class Repository extends pulumi.CustomResource {
|
|
|
213
233
|
* The repository's [security and analysis](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository) configuration. See Security and Analysis Configuration below for details.
|
|
214
234
|
*/
|
|
215
235
|
readonly securityAndAnalysis: pulumi.Output<outputs.RepositorySecurityAndAnalysis>;
|
|
236
|
+
/**
|
|
237
|
+
* The GitHub username or organization that owns the repository being forked. Required when `fork` is `true`.
|
|
238
|
+
*/
|
|
239
|
+
readonly sourceOwner: pulumi.Output<string>;
|
|
240
|
+
/**
|
|
241
|
+
* The name of the repository to fork. Required when `fork` is `true`.
|
|
242
|
+
*/
|
|
243
|
+
readonly sourceRepo: pulumi.Output<string>;
|
|
216
244
|
/**
|
|
217
245
|
* Can be `PR_BODY`, `COMMIT_MESSAGES`, or `BLANK` for a default squash merge commit message. Applicable only if `allowSquashMerge` is `true`.
|
|
218
246
|
*/
|
|
@@ -244,7 +272,7 @@ export declare class Repository extends pulumi.CustomResource {
|
|
|
244
272
|
/**
|
|
245
273
|
* Set to `true` to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on public repos but disables them on private repos by default.) See [GitHub Documentation](https://help.github.com/en/github/managing-security-vulnerabilities/about-security-alerts-for-vulnerable-dependencies) for details. Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings.
|
|
246
274
|
*/
|
|
247
|
-
readonly vulnerabilityAlerts: pulumi.Output<boolean
|
|
275
|
+
readonly vulnerabilityAlerts: pulumi.Output<boolean>;
|
|
248
276
|
/**
|
|
249
277
|
* Require contributors to sign off on web-based commits. See more [here](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-commit-signoff-policy-for-your-repository). Defaults to `false`.
|
|
250
278
|
*/
|
|
@@ -299,7 +327,7 @@ export interface RepositoryState {
|
|
|
299
327
|
* and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the
|
|
300
328
|
* initial repository creation and create the target branch inside of the repository prior to setting this attribute.
|
|
301
329
|
*
|
|
302
|
-
* @deprecated Use the
|
|
330
|
+
* @deprecated Use the github.BranchDefault resource instead
|
|
303
331
|
*/
|
|
304
332
|
defaultBranch?: pulumi.Input<string>;
|
|
305
333
|
/**
|
|
@@ -311,6 +339,10 @@ export interface RepositoryState {
|
|
|
311
339
|
*/
|
|
312
340
|
description?: pulumi.Input<string>;
|
|
313
341
|
etag?: pulumi.Input<string>;
|
|
342
|
+
/**
|
|
343
|
+
* Set to `true` to create a fork of an existing repository. When set to `true`, both `sourceOwner` and `sourceRepo` must also be specified.
|
|
344
|
+
*/
|
|
345
|
+
fork?: pulumi.Input<string>;
|
|
314
346
|
/**
|
|
315
347
|
* A string of the form "orgname/reponame".
|
|
316
348
|
*/
|
|
@@ -408,6 +440,14 @@ export interface RepositoryState {
|
|
|
408
440
|
* The repository's [security and analysis](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository) configuration. See Security and Analysis Configuration below for details.
|
|
409
441
|
*/
|
|
410
442
|
securityAndAnalysis?: pulumi.Input<inputs.RepositorySecurityAndAnalysis>;
|
|
443
|
+
/**
|
|
444
|
+
* The GitHub username or organization that owns the repository being forked. Required when `fork` is `true`.
|
|
445
|
+
*/
|
|
446
|
+
sourceOwner?: pulumi.Input<string>;
|
|
447
|
+
/**
|
|
448
|
+
* The name of the repository to fork. Required when `fork` is `true`.
|
|
449
|
+
*/
|
|
450
|
+
sourceRepo?: pulumi.Input<string>;
|
|
411
451
|
/**
|
|
412
452
|
* Can be `PR_BODY`, `COMMIT_MESSAGES`, or `BLANK` for a default squash merge commit message. Applicable only if `allowSquashMerge` is `true`.
|
|
413
453
|
*/
|
|
@@ -486,7 +526,7 @@ export interface RepositoryArgs {
|
|
|
486
526
|
* and after a correct reference has been created for the target branch inside the repository. This means a user will have to omit this parameter from the
|
|
487
527
|
* initial repository creation and create the target branch inside of the repository prior to setting this attribute.
|
|
488
528
|
*
|
|
489
|
-
* @deprecated Use the
|
|
529
|
+
* @deprecated Use the github.BranchDefault resource instead
|
|
490
530
|
*/
|
|
491
531
|
defaultBranch?: pulumi.Input<string>;
|
|
492
532
|
/**
|
|
@@ -497,6 +537,11 @@ export interface RepositoryArgs {
|
|
|
497
537
|
* A description of the repository.
|
|
498
538
|
*/
|
|
499
539
|
description?: pulumi.Input<string>;
|
|
540
|
+
etag?: pulumi.Input<string>;
|
|
541
|
+
/**
|
|
542
|
+
* Set to `true` to create a fork of an existing repository. When set to `true`, both `sourceOwner` and `sourceRepo` must also be specified.
|
|
543
|
+
*/
|
|
544
|
+
fork?: pulumi.Input<string>;
|
|
500
545
|
/**
|
|
501
546
|
* Use the [name of the template](https://github.com/github/gitignore) without the extension. For example, "Haskell".
|
|
502
547
|
*/
|
|
@@ -566,6 +611,14 @@ export interface RepositoryArgs {
|
|
|
566
611
|
* The repository's [security and analysis](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository) configuration. See Security and Analysis Configuration below for details.
|
|
567
612
|
*/
|
|
568
613
|
securityAndAnalysis?: pulumi.Input<inputs.RepositorySecurityAndAnalysis>;
|
|
614
|
+
/**
|
|
615
|
+
* The GitHub username or organization that owns the repository being forked. Required when `fork` is `true`.
|
|
616
|
+
*/
|
|
617
|
+
sourceOwner?: pulumi.Input<string>;
|
|
618
|
+
/**
|
|
619
|
+
* The name of the repository to fork. Required when `fork` is `true`.
|
|
620
|
+
*/
|
|
621
|
+
sourceRepo?: pulumi.Input<string>;
|
|
569
622
|
/**
|
|
570
623
|
* Can be `PR_BODY`, `COMMIT_MESSAGES`, or `BLANK` for a default squash merge commit message. Applicable only if `allowSquashMerge` is `true`.
|
|
571
624
|
*/
|