@pulumi/github 6.15.0-alpha.1786702465 → 6.15.0
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 +49 -11
- package/actionsEnvironmentSecret.d.ts.map +1 -1
- package/actionsEnvironmentSecret.js +49 -11
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsEnvironmentVariable.d.ts +5 -2
- package/actionsEnvironmentVariable.d.ts.map +1 -1
- package/actionsEnvironmentVariable.js +5 -2
- package/actionsEnvironmentVariable.js.map +1 -1
- package/actionsHostedRunner.d.ts +8 -9
- package/actionsHostedRunner.d.ts.map +1 -1
- package/actionsHostedRunner.js +8 -9
- package/actionsHostedRunner.js.map +1 -1
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +2 -4
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts.map +1 -1
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +2 -4
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +1 -2
- package/actionsOrganizationPermissions.d.ts.map +1 -1
- package/actionsOrganizationPermissions.js +1 -2
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +12 -14
- package/actionsOrganizationSecret.d.ts.map +1 -1
- package/actionsOrganizationSecret.js +12 -14
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +6 -3
- package/actionsOrganizationSecretRepositories.d.ts.map +1 -1
- package/actionsOrganizationSecretRepositories.js +6 -3
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsOrganizationSecretRepository.d.ts +6 -3
- package/actionsOrganizationSecretRepository.d.ts.map +1 -1
- package/actionsOrganizationSecretRepository.js +6 -3
- package/actionsOrganizationSecretRepository.js.map +1 -1
- package/actionsOrganizationVariable.d.ts +5 -2
- package/actionsOrganizationVariable.d.ts.map +1 -1
- package/actionsOrganizationVariable.js +5 -2
- package/actionsOrganizationVariable.js.map +1 -1
- package/actionsOrganizationVariableRepositories.d.ts +6 -3
- package/actionsOrganizationVariableRepositories.d.ts.map +1 -1
- package/actionsOrganizationVariableRepositories.js +6 -3
- package/actionsOrganizationVariableRepositories.js.map +1 -1
- package/actionsOrganizationVariableRepository.d.ts +6 -3
- package/actionsOrganizationVariableRepository.d.ts.map +1 -1
- package/actionsOrganizationVariableRepository.js +6 -3
- package/actionsOrganizationVariableRepository.js.map +1 -1
- package/actionsOrganizationWorkflowPermissions.d.ts +2 -2
- package/actionsOrganizationWorkflowPermissions.js +2 -2
- package/actionsRepositoryAccessLevel.d.ts +1 -2
- package/actionsRepositoryAccessLevel.d.ts.map +1 -1
- package/actionsRepositoryAccessLevel.js +1 -2
- package/actionsRepositoryAccessLevel.js.map +1 -1
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +5 -10
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts.map +1 -1
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +2 -4
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsRepositoryPermissions.d.ts +1 -2
- package/actionsRepositoryPermissions.d.ts.map +1 -1
- package/actionsRepositoryPermissions.js +1 -2
- package/actionsRepositoryPermissions.js.map +1 -1
- package/actionsRunnerGroup.d.ts +1 -2
- package/actionsRunnerGroup.d.ts.map +1 -1
- package/actionsRunnerGroup.js +1 -2
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +10 -12
- package/actionsSecret.d.ts.map +1 -1
- package/actionsSecret.js +10 -12
- package/actionsSecret.js.map +1 -1
- package/actionsVariable.d.ts +5 -2
- package/actionsVariable.d.ts.map +1 -1
- package/actionsVariable.js +5 -2
- package/actionsVariable.js.map +1 -1
- package/appInstallationRepositories.d.ts +21 -8
- package/appInstallationRepositories.d.ts.map +1 -1
- package/appInstallationRepositories.js +21 -8
- package/appInstallationRepositories.js.map +1 -1
- package/appInstallationRepository.d.ts +3 -8
- package/appInstallationRepository.d.ts.map +1 -1
- package/appInstallationRepository.js +3 -8
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +2 -4
- package/branch.d.ts.map +1 -1
- package/branch.js +2 -4
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +43 -18
- package/branchDefault.d.ts.map +1 -1
- package/branchDefault.js +9 -9
- package/branchDefault.js.map +1 -1
- package/codespacesOrganizationSecret.d.ts +6 -26
- package/codespacesOrganizationSecret.d.ts.map +1 -1
- package/codespacesOrganizationSecret.js +3 -20
- package/codespacesOrganizationSecret.js.map +1 -1
- package/codespacesSecret.d.ts +4 -11
- package/codespacesSecret.d.ts.map +1 -1
- package/codespacesSecret.js +4 -11
- package/codespacesSecret.js.map +1 -1
- package/codespacesUserSecret.d.ts +3 -20
- package/codespacesUserSecret.d.ts.map +1 -1
- package/codespacesUserSecret.js +3 -20
- package/codespacesUserSecret.js.map +1 -1
- package/config/vars.d.ts +21 -13
- package/config/vars.d.ts.map +1 -1
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/dependabotOrganizationSecret.d.ts +32 -13
- package/dependabotOrganizationSecret.d.ts.map +1 -1
- package/dependabotOrganizationSecret.js +32 -13
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.d.ts +6 -3
- package/dependabotOrganizationSecretRepositories.d.ts.map +1 -1
- package/dependabotOrganizationSecretRepositories.js +6 -3
- package/dependabotOrganizationSecretRepositories.js.map +1 -1
- package/dependabotOrganizationSecretRepository.d.ts +6 -3
- package/dependabotOrganizationSecretRepository.d.ts.map +1 -1
- package/dependabotOrganizationSecretRepository.js +6 -3
- package/dependabotOrganizationSecretRepository.js.map +1 -1
- package/dependabotSecret.d.ts +10 -12
- package/dependabotSecret.d.ts.map +1 -1
- package/dependabotSecret.js +10 -12
- package/dependabotSecret.js.map +1 -1
- package/enterpriseActionsPermissions.d.ts +1 -2
- package/enterpriseActionsPermissions.d.ts.map +1 -1
- package/enterpriseActionsPermissions.js +1 -2
- package/enterpriseActionsPermissions.js.map +1 -1
- package/enterpriseActionsRunnerGroup.d.ts +1 -2
- package/enterpriseActionsRunnerGroup.d.ts.map +1 -1
- package/enterpriseActionsRunnerGroup.js +1 -2
- package/enterpriseActionsRunnerGroup.js.map +1 -1
- package/enterpriseActionsWorkflowPermissions.d.ts +1 -8
- package/enterpriseActionsWorkflowPermissions.d.ts.map +1 -1
- package/enterpriseActionsWorkflowPermissions.js +1 -8
- package/enterpriseActionsWorkflowPermissions.js.map +1 -1
- package/enterpriseSecurityAnalysisSettings.d.ts +0 -8
- package/enterpriseSecurityAnalysisSettings.d.ts.map +1 -1
- package/enterpriseSecurityAnalysisSettings.js +0 -8
- package/enterpriseSecurityAnalysisSettings.js.map +1 -1
- package/getActionsEnvironmentPublicKey.d.ts +2 -4
- package/getActionsEnvironmentPublicKey.d.ts.map +1 -1
- package/getActionsEnvironmentPublicKey.js +2 -4
- package/getActionsEnvironmentPublicKey.js.map +1 -1
- package/getActionsOrganizationPublicKey.d.ts +2 -4
- package/getActionsOrganizationPublicKey.d.ts.map +1 -1
- package/getActionsOrganizationPublicKey.js +2 -4
- package/getActionsOrganizationPublicKey.js.map +1 -1
- package/getActionsPublicKey.d.ts +2 -4
- package/getActionsPublicKey.d.ts.map +1 -1
- package/getActionsPublicKey.js +2 -4
- package/getActionsPublicKey.js.map +1 -1
- package/getAppToken.d.ts +10 -10
- package/getAppToken.js +10 -10
- package/getCodespacesOrganizationPublicKey.d.ts +2 -4
- package/getCodespacesOrganizationPublicKey.d.ts.map +1 -1
- package/getCodespacesOrganizationPublicKey.js +2 -4
- package/getCodespacesOrganizationPublicKey.js.map +1 -1
- package/getCodespacesPublicKey.d.ts +2 -4
- package/getCodespacesPublicKey.d.ts.map +1 -1
- package/getCodespacesPublicKey.js +2 -4
- package/getCodespacesPublicKey.js.map +1 -1
- package/getCodespacesUserPublicKey.d.ts +2 -4
- package/getCodespacesUserPublicKey.d.ts.map +1 -1
- package/getCodespacesUserPublicKey.js +2 -4
- package/getCodespacesUserPublicKey.js.map +1 -1
- package/getCollaborators.d.ts +5 -5
- package/getDependabotOrganizationPublicKey.d.ts +2 -4
- package/getDependabotOrganizationPublicKey.d.ts.map +1 -1
- package/getDependabotOrganizationPublicKey.js +2 -4
- package/getDependabotOrganizationPublicKey.js.map +1 -1
- package/getDependabotPublicKey.d.ts +2 -4
- package/getDependabotPublicKey.d.ts.map +1 -1
- package/getDependabotPublicKey.js +2 -4
- package/getDependabotPublicKey.js.map +1 -1
- package/getGithubApp.d.ts +6 -3
- package/getGithubApp.d.ts.map +1 -1
- package/getGithubApp.js +2 -2
- package/getGithubApp.js.map +1 -1
- package/getMembership.d.ts +3 -9
- package/getMembership.d.ts.map +1 -1
- package/getMembership.js +2 -8
- package/getMembership.js.map +1 -1
- package/getOrganizationExternalIdentities.d.ts +2 -4
- package/getOrganizationExternalIdentities.d.ts.map +1 -1
- package/getOrganizationExternalIdentities.js +2 -4
- package/getOrganizationExternalIdentities.js.map +1 -1
- package/getOrganizationIpAllowList.d.ts +2 -7
- package/getOrganizationIpAllowList.d.ts.map +1 -1
- package/getOrganizationIpAllowList.js +2 -6
- package/getOrganizationIpAllowList.js.map +1 -1
- package/getOrganizationSecurityManagers.d.ts +1 -1
- package/getOrganizationTeamSyncGroups.d.ts +1 -1
- package/getOrganizationTeams.d.ts +3 -3
- package/getOrganizationTeams.js +2 -2
- package/getOrganizationWebhooks.d.ts +3 -4
- package/getOrganizationWebhooks.d.ts.map +1 -1
- package/getOrganizationWebhooks.js +2 -2
- package/getOrganizationWebhooks.js.map +1 -1
- package/getReleaseAsset.d.ts +2 -4
- package/getReleaseAsset.d.ts.map +1 -1
- package/getReleaseAsset.js +2 -4
- package/getReleaseAsset.js.map +1 -1
- package/getRepositories.d.ts +2 -4
- package/getRepositories.d.ts.map +1 -1
- package/getRepositories.js +2 -4
- package/getRepositories.js.map +1 -1
- package/getRepositoryDeploymentBranchPolicies.d.ts +2 -2
- package/getRepositoryEnvironments.d.ts +4 -0
- package/getRepositoryEnvironments.d.ts.map +1 -1
- package/getRepositoryEnvironments.js +4 -0
- package/getRepositoryEnvironments.js.map +1 -1
- package/getRepositoryFile.d.ts +2 -4
- package/getRepositoryFile.d.ts.map +1 -1
- package/getRepositoryFile.js +2 -4
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryWebhooks.d.ts +1 -2
- package/getRepositoryWebhooks.d.ts.map +1 -1
- package/getRepositoryWebhooks.js.map +1 -1
- package/getTeam.d.ts +4 -4
- package/getUserExternalIdentity.d.ts +4 -8
- package/getUserExternalIdentity.d.ts.map +1 -1
- package/getUserExternalIdentity.js +2 -4
- package/getUserExternalIdentity.js.map +1 -1
- package/issue.d.ts +3 -4
- package/issue.d.ts.map +1 -1
- package/issue.js +3 -4
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +4 -9
- package/issueLabel.d.ts.map +1 -1
- package/issueLabel.js +4 -9
- package/issueLabel.js.map +1 -1
- package/issueLabels.d.ts +1 -2
- package/issueLabels.d.ts.map +1 -1
- package/issueLabels.js +1 -2
- package/issueLabels.js.map +1 -1
- package/membership.d.ts +7 -24
- package/membership.d.ts.map +1 -1
- package/membership.js +1 -3
- package/membership.js.map +1 -1
- package/organizationCustomProperties.d.ts +0 -8
- package/organizationCustomProperties.d.ts.map +1 -1
- package/organizationCustomProperties.js +0 -8
- package/organizationCustomProperties.js.map +1 -1
- package/organizationCustomRole.d.ts +1 -2
- package/organizationCustomRole.d.ts.map +1 -1
- package/organizationCustomRole.js +1 -2
- package/organizationCustomRole.js.map +1 -1
- package/organizationRoleTeamAssignment.d.ts +6 -4
- package/organizationRoleTeamAssignment.d.ts.map +1 -1
- package/organizationRoleTeamAssignment.js +6 -4
- package/organizationRoleTeamAssignment.js.map +1 -1
- package/organizationRuleset.d.ts +0 -38
- package/organizationRuleset.d.ts.map +1 -1
- package/organizationRuleset.js +0 -38
- package/organizationRuleset.js.map +1 -1
- package/organizationSecurityManager.d.ts +4 -0
- package/organizationSecurityManager.d.ts.map +1 -1
- package/organizationSecurityManager.js +4 -0
- package/organizationSecurityManager.js.map +1 -1
- package/organizationSettings.d.ts +1 -2
- package/organizationSettings.d.ts.map +1 -1
- package/organizationSettings.js +1 -2
- package/organizationSettings.js.map +1 -1
- package/organizationWebhook.d.ts +1 -2
- package/organizationWebhook.d.ts.map +1 -1
- package/organizationWebhook.js +1 -2
- package/organizationWebhook.js.map +1 -1
- package/package.json +2 -2
- package/projectCard.d.ts +3 -6
- package/projectCard.d.ts.map +1 -1
- package/projectCard.js.map +1 -1
- package/provider.d.ts +33 -19
- package/provider.d.ts.map +1 -1
- package/provider.js +2 -0
- package/provider.js.map +1 -1
- package/release.d.ts +1 -2
- package/release.d.ts.map +1 -1
- package/release.js +1 -2
- package/release.js.map +1 -1
- package/repository.d.ts +13 -29
- package/repository.d.ts.map +1 -1
- package/repository.js +1 -2
- package/repository.js.map +1 -1
- package/repositoryCollaborator.d.ts +15 -30
- package/repositoryCollaborator.d.ts.map +1 -1
- package/repositoryCollaborator.js +4 -13
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryCollaborators.d.ts +51 -32
- package/repositoryCollaborators.d.ts.map +1 -1
- package/repositoryCollaborators.js +31 -16
- package/repositoryCollaborators.js.map +1 -1
- package/repositoryCustomProperty.d.ts +26 -18
- package/repositoryCustomProperty.d.ts.map +1 -1
- package/repositoryCustomProperty.js +8 -6
- package/repositoryCustomProperty.js.map +1 -1
- package/repositoryDependabotSecurityUpdates.d.ts +1 -3
- package/repositoryDependabotSecurityUpdates.d.ts.map +1 -1
- package/repositoryDependabotSecurityUpdates.js +1 -3
- package/repositoryDependabotSecurityUpdates.js.map +1 -1
- package/repositoryDeployKey.d.ts +3 -5
- package/repositoryDeployKey.d.ts.map +1 -1
- package/repositoryDeployKey.js +3 -5
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryDeploymentBranchPolicy.d.ts +4 -0
- package/repositoryDeploymentBranchPolicy.d.ts.map +1 -1
- package/repositoryDeploymentBranchPolicy.js +4 -0
- package/repositoryDeploymentBranchPolicy.js.map +1 -1
- package/repositoryEnvironment.d.ts +6 -0
- package/repositoryEnvironment.d.ts.map +1 -1
- package/repositoryEnvironment.js +6 -0
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryEnvironmentDeploymentPolicy.d.ts +4 -0
- package/repositoryEnvironmentDeploymentPolicy.d.ts.map +1 -1
- package/repositoryEnvironmentDeploymentPolicy.js +4 -0
- package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
- package/repositoryFile.d.ts +13 -14
- package/repositoryFile.d.ts.map +1 -1
- package/repositoryFile.js +10 -8
- package/repositoryFile.js.map +1 -1
- package/repositoryPages.d.ts +1 -3
- package/repositoryPages.d.ts.map +1 -1
- package/repositoryPages.js +1 -3
- package/repositoryPages.js.map +1 -1
- package/repositoryTopics.d.ts +1 -2
- package/repositoryTopics.d.ts.map +1 -1
- package/repositoryTopics.js +1 -2
- package/repositoryTopics.js.map +1 -1
- package/repositoryVulnerabilityAlerts.d.ts +1 -3
- package/repositoryVulnerabilityAlerts.d.ts.map +1 -1
- package/repositoryVulnerabilityAlerts.js +1 -3
- package/repositoryVulnerabilityAlerts.js.map +1 -1
- package/repositoryWebhook.d.ts +4 -6
- package/repositoryWebhook.d.ts.map +1 -1
- package/repositoryWebhook.js +2 -4
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +9 -14
- package/team.d.ts.map +1 -1
- package/team.js +1 -2
- package/team.js.map +1 -1
- package/teamMembers.d.ts +32 -39
- package/teamMembers.d.ts.map +1 -1
- package/teamMembers.js +12 -32
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +4 -10
- package/teamMembership.d.ts.map +1 -1
- package/teamMembership.js +1 -4
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +8 -17
- package/teamRepository.d.ts.map +1 -1
- package/teamRepository.js +5 -11
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +6 -7
- package/teamSettings.d.ts.map +1 -1
- package/teamSettings.js +6 -7
- package/teamSettings.js.map +1 -1
- package/teamSyncGroupMapping.d.ts +5 -16
- package/teamSyncGroupMapping.d.ts.map +1 -1
- package/teamSyncGroupMapping.js +2 -4
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/input.d.ts +23 -39
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +26 -44
- package/types/output.d.ts.map +1 -1
- package/userGpgKey.d.ts +4 -8
- package/userGpgKey.d.ts.map +1 -1
- package/userGpgKey.js +1 -2
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.d.ts +2 -4
- package/userInvitationAccepter.d.ts.map +1 -1
- package/userInvitationAccepter.js +2 -4
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.d.ts +1 -1
- package/userSshKey.js +1 -1
- package/workflowRepositoryPermissions.d.ts +1 -2
- package/workflowRepositoryPermissions.d.ts.map +1 -1
- package/workflowRepositoryPermissions.js +1 -2
- package/workflowRepositoryPermissions.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryCollaborator.js","sourceRoot":"","sources":["../repositoryCollaborator.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryCollaborator.js","sourceRoot":"","sources":["../repositoryCollaborator.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAA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C,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AArFL,wDAsFC"}
|
|
@@ -2,28 +2,33 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Manage the complete set of collaborators (users and teams) for a GitHub repository.
|
|
6
6
|
*
|
|
7
|
-
* >
|
|
8
|
-
* github.TeamRepository or they will fight over what your policy should be.
|
|
7
|
+
* > This resource (`github.RepositoryCollaborators`) cannot be used in conjunction with `github.RepositoryCollaborator` or `github.TeamRepository` as they will conflict over the management of collaborators.
|
|
9
8
|
*
|
|
10
|
-
* This resource
|
|
11
|
-
* organization or personal account. For organization repositories, collaborators can
|
|
12
|
-
* have explicit (and differing levels of) read, write, or administrator access to
|
|
13
|
-
* specific repositories, without giving the user full organization membership.
|
|
14
|
-
* For personal repositories, collaborators can only be granted write
|
|
15
|
-
* (implicitly includes read) permission.
|
|
9
|
+
* This resource manages the complete set of collaborators for a repository, which includes both users and teams, in an authoritative manner. When applied, the provider will ensure that the set of collaborators for the repository matches the set defined in Terraform configuration. This means that if a collaborator is removed from the configuration, it will be removed from the repository, and if a collaborator is added to the configuration, it will be added to the repository.
|
|
16
10
|
*
|
|
17
|
-
* When
|
|
18
|
-
* on a repository. When destroyed, either the invitation will be cancelled or the
|
|
19
|
-
* collaborators will be removed from the repository.
|
|
11
|
+
* > **Archived Repositories** When a repository is archived, GitHub makes it read-only, preventing collaborator modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
|
|
20
12
|
*
|
|
21
|
-
*
|
|
13
|
+
* ## Organization Repositories
|
|
22
14
|
*
|
|
23
|
-
*
|
|
24
|
-
* github.RepositoryCollaborator instead.
|
|
15
|
+
* For repositories owned by an organization, collaborators can have explicit (and differing levels of) read, write, or administrator access to specific repositories, without giving the user full organization membership.
|
|
25
16
|
*
|
|
26
|
-
*
|
|
17
|
+
* ### Teams
|
|
18
|
+
*
|
|
19
|
+
* Teams will be added to the repository on apply, and removed if removed from the configuration or on destroy. Teams added to the repository outside of Terraform can be managed by adding them to the configuration, or ignored by using the `ignoreTeam` argument. This is particularly important for organization/enterprise teams, which either need to be added to the configuration or ignored, as otherwise they will cause perpetual drift.
|
|
20
|
+
*
|
|
21
|
+
* ## Personal Repositories
|
|
22
|
+
*
|
|
23
|
+
* For personal repositories, non-owner collaborators can only be granted [write](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/repository-access-and-collaboration/permission-levels-for-a-personal-account-repository#collaborator-access-for-a-repository-owned-by-a-personal-account) permission. Owners will be ignored unless they are explicitly added, in which case they must be granted `admin` permission.
|
|
24
|
+
*
|
|
25
|
+
* ## Users
|
|
26
|
+
*
|
|
27
|
+
* When applied, an invitation will be sent to the user to become a collaborators on a repository. When destroyed, either the invitation will be cancelled or the collaborators will be removed from the repository.
|
|
28
|
+
*
|
|
29
|
+
* ## Documentation
|
|
30
|
+
*
|
|
31
|
+
* Further documentation on GitHub collaborators.
|
|
27
32
|
*
|
|
28
33
|
* - [Adding outside collaborators to your personal repositories](https://help.github.com/en/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories)
|
|
29
34
|
* - [Adding outside collaborators to repositories in your organization](https://help.github.com/articles/adding-outside-collaborators-to-repositories-in-your-organization/)
|
|
@@ -53,6 +58,14 @@ import * as outputs from "./types/output";
|
|
|
53
58
|
* }],
|
|
54
59
|
* });
|
|
55
60
|
* ```
|
|
61
|
+
*
|
|
62
|
+
* ## Import
|
|
63
|
+
*
|
|
64
|
+
* The `pulumi import` command can be used, for example:
|
|
65
|
+
*
|
|
66
|
+
* ```sh
|
|
67
|
+
* $ pulumi import github:index/repositoryCollaborators:RepositoryCollaborators collaborators example-repo
|
|
68
|
+
* ```
|
|
56
69
|
*/
|
|
57
70
|
export declare class RepositoryCollaborators extends pulumi.CustomResource {
|
|
58
71
|
/**
|
|
@@ -71,18 +84,21 @@ export declare class RepositoryCollaborators extends pulumi.CustomResource {
|
|
|
71
84
|
*/
|
|
72
85
|
static isInstance(obj: any): obj is RepositoryCollaborators;
|
|
73
86
|
/**
|
|
74
|
-
*
|
|
87
|
+
* Teams to ignore when managing repository collaborators.
|
|
75
88
|
*/
|
|
76
89
|
readonly ignoreTeams: pulumi.Output<outputs.RepositoryCollaboratorsIgnoreTeam[] | undefined>;
|
|
77
90
|
/**
|
|
78
|
-
* Map of usernames to invitation ID for
|
|
79
|
-
* be used in `github.UserInvitationAccepter`.
|
|
91
|
+
* Map of usernames to invitation ID for users that haven't yet accepted their invitation to become a collaborator. This is only set on read, and is used internally to track pending invitations for users that aren't yet collaborators.
|
|
80
92
|
*/
|
|
81
93
|
readonly invitationIds: pulumi.Output<{
|
|
82
94
|
[key: string]: string;
|
|
83
95
|
}>;
|
|
84
96
|
/**
|
|
85
|
-
*
|
|
97
|
+
* Indicates whether the owner of a personal repository is configured as a collaborator.
|
|
98
|
+
*/
|
|
99
|
+
readonly ownerConfigured: pulumi.Output<boolean>;
|
|
100
|
+
/**
|
|
101
|
+
* Name of the repository.
|
|
86
102
|
*/
|
|
87
103
|
readonly repository: pulumi.Output<string>;
|
|
88
104
|
/**
|
|
@@ -90,11 +106,11 @@ export declare class RepositoryCollaborators extends pulumi.CustomResource {
|
|
|
90
106
|
*/
|
|
91
107
|
readonly repositoryId: pulumi.Output<number>;
|
|
92
108
|
/**
|
|
93
|
-
*
|
|
109
|
+
* Teams to grant access to the repository.
|
|
94
110
|
*/
|
|
95
111
|
readonly teams: pulumi.Output<outputs.RepositoryCollaboratorsTeam[] | undefined>;
|
|
96
112
|
/**
|
|
97
|
-
*
|
|
113
|
+
* Users to grant access to the repository.
|
|
98
114
|
*/
|
|
99
115
|
readonly users: pulumi.Output<outputs.RepositoryCollaboratorsUser[] | undefined>;
|
|
100
116
|
/**
|
|
@@ -111,18 +127,21 @@ export declare class RepositoryCollaborators extends pulumi.CustomResource {
|
|
|
111
127
|
*/
|
|
112
128
|
export interface RepositoryCollaboratorsState {
|
|
113
129
|
/**
|
|
114
|
-
*
|
|
130
|
+
* Teams to ignore when managing repository collaborators.
|
|
115
131
|
*/
|
|
116
132
|
ignoreTeams?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsIgnoreTeam>[] | undefined>;
|
|
117
133
|
/**
|
|
118
|
-
* Map of usernames to invitation ID for
|
|
119
|
-
* be used in `github.UserInvitationAccepter`.
|
|
134
|
+
* Map of usernames to invitation ID for users that haven't yet accepted their invitation to become a collaborator. This is only set on read, and is used internally to track pending invitations for users that aren't yet collaborators.
|
|
120
135
|
*/
|
|
121
136
|
invitationIds?: pulumi.Input<{
|
|
122
137
|
[key: string]: pulumi.Input<string>;
|
|
123
138
|
} | undefined>;
|
|
124
139
|
/**
|
|
125
|
-
*
|
|
140
|
+
* Indicates whether the owner of a personal repository is configured as a collaborator.
|
|
141
|
+
*/
|
|
142
|
+
ownerConfigured?: pulumi.Input<boolean | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* Name of the repository.
|
|
126
145
|
*/
|
|
127
146
|
repository?: pulumi.Input<string | undefined>;
|
|
128
147
|
/**
|
|
@@ -130,11 +149,11 @@ export interface RepositoryCollaboratorsState {
|
|
|
130
149
|
*/
|
|
131
150
|
repositoryId?: pulumi.Input<number | undefined>;
|
|
132
151
|
/**
|
|
133
|
-
*
|
|
152
|
+
* Teams to grant access to the repository.
|
|
134
153
|
*/
|
|
135
154
|
teams?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsTeam>[] | undefined>;
|
|
136
155
|
/**
|
|
137
|
-
*
|
|
156
|
+
* Users to grant access to the repository.
|
|
138
157
|
*/
|
|
139
158
|
users?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsUser>[] | undefined>;
|
|
140
159
|
}
|
|
@@ -143,19 +162,19 @@ export interface RepositoryCollaboratorsState {
|
|
|
143
162
|
*/
|
|
144
163
|
export interface RepositoryCollaboratorsArgs {
|
|
145
164
|
/**
|
|
146
|
-
*
|
|
165
|
+
* Teams to ignore when managing repository collaborators.
|
|
147
166
|
*/
|
|
148
167
|
ignoreTeams?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsIgnoreTeam>[] | undefined>;
|
|
149
168
|
/**
|
|
150
|
-
*
|
|
169
|
+
* Name of the repository.
|
|
151
170
|
*/
|
|
152
171
|
repository: pulumi.Input<string>;
|
|
153
172
|
/**
|
|
154
|
-
*
|
|
173
|
+
* Teams to grant access to the repository.
|
|
155
174
|
*/
|
|
156
175
|
teams?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsTeam>[] | undefined>;
|
|
157
176
|
/**
|
|
158
|
-
*
|
|
177
|
+
* Users to grant access to the repository.
|
|
159
178
|
*/
|
|
160
179
|
users?: pulumi.Input<pulumi.Input<inputs.RepositoryCollaboratorsUser>[] | undefined>;
|
|
161
180
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryCollaborators.d.ts","sourceRoot":"","sources":["../repositoryCollaborators.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAg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S,CAAC,CAAC;CACxF;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,iCAAiC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACjG;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,2BAA2B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACrF;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,2BAA2B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACxF"}
|
|
@@ -29,28 +29,33 @@ exports.RepositoryCollaborators = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Manage the complete set of collaborators (users and teams) for a GitHub repository.
|
|
33
33
|
*
|
|
34
|
-
* >
|
|
35
|
-
* github.TeamRepository or they will fight over what your policy should be.
|
|
34
|
+
* > This resource (`github.RepositoryCollaborators`) cannot be used in conjunction with `github.RepositoryCollaborator` or `github.TeamRepository` as they will conflict over the management of collaborators.
|
|
36
35
|
*
|
|
37
|
-
* This resource
|
|
38
|
-
* organization or personal account. For organization repositories, collaborators can
|
|
39
|
-
* have explicit (and differing levels of) read, write, or administrator access to
|
|
40
|
-
* specific repositories, without giving the user full organization membership.
|
|
41
|
-
* For personal repositories, collaborators can only be granted write
|
|
42
|
-
* (implicitly includes read) permission.
|
|
36
|
+
* This resource manages the complete set of collaborators for a repository, which includes both users and teams, in an authoritative manner. When applied, the provider will ensure that the set of collaborators for the repository matches the set defined in Terraform configuration. This means that if a collaborator is removed from the configuration, it will be removed from the repository, and if a collaborator is added to the configuration, it will be added to the repository.
|
|
43
37
|
*
|
|
44
|
-
* When
|
|
45
|
-
* on a repository. When destroyed, either the invitation will be cancelled or the
|
|
46
|
-
* collaborators will be removed from the repository.
|
|
38
|
+
* > **Archived Repositories** When a repository is archived, GitHub makes it read-only, preventing collaborator modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
|
|
47
39
|
*
|
|
48
|
-
*
|
|
40
|
+
* ## Organization Repositories
|
|
49
41
|
*
|
|
50
|
-
*
|
|
51
|
-
* github.RepositoryCollaborator instead.
|
|
42
|
+
* For repositories owned by an organization, collaborators can have explicit (and differing levels of) read, write, or administrator access to specific repositories, without giving the user full organization membership.
|
|
52
43
|
*
|
|
53
|
-
*
|
|
44
|
+
* ### Teams
|
|
45
|
+
*
|
|
46
|
+
* Teams will be added to the repository on apply, and removed if removed from the configuration or on destroy. Teams added to the repository outside of Terraform can be managed by adding them to the configuration, or ignored by using the `ignoreTeam` argument. This is particularly important for organization/enterprise teams, which either need to be added to the configuration or ignored, as otherwise they will cause perpetual drift.
|
|
47
|
+
*
|
|
48
|
+
* ## Personal Repositories
|
|
49
|
+
*
|
|
50
|
+
* For personal repositories, non-owner collaborators can only be granted [write](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/repository-access-and-collaboration/permission-levels-for-a-personal-account-repository#collaborator-access-for-a-repository-owned-by-a-personal-account) permission. Owners will be ignored unless they are explicitly added, in which case they must be granted `admin` permission.
|
|
51
|
+
*
|
|
52
|
+
* ## Users
|
|
53
|
+
*
|
|
54
|
+
* When applied, an invitation will be sent to the user to become a collaborators on a repository. When destroyed, either the invitation will be cancelled or the collaborators will be removed from the repository.
|
|
55
|
+
*
|
|
56
|
+
* ## Documentation
|
|
57
|
+
*
|
|
58
|
+
* Further documentation on GitHub collaborators.
|
|
54
59
|
*
|
|
55
60
|
* - [Adding outside collaborators to your personal repositories](https://help.github.com/en/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories)
|
|
56
61
|
* - [Adding outside collaborators to repositories in your organization](https://help.github.com/articles/adding-outside-collaborators-to-repositories-in-your-organization/)
|
|
@@ -80,6 +85,14 @@ const utilities = __importStar(require("./utilities"));
|
|
|
80
85
|
* }],
|
|
81
86
|
* });
|
|
82
87
|
* ```
|
|
88
|
+
*
|
|
89
|
+
* ## Import
|
|
90
|
+
*
|
|
91
|
+
* The `pulumi import` command can be used, for example:
|
|
92
|
+
*
|
|
93
|
+
* ```sh
|
|
94
|
+
* $ pulumi import github:index/repositoryCollaborators:RepositoryCollaborators collaborators example-repo
|
|
95
|
+
* ```
|
|
83
96
|
*/
|
|
84
97
|
class RepositoryCollaborators extends pulumi.CustomResource {
|
|
85
98
|
/**
|
|
@@ -113,6 +126,7 @@ class RepositoryCollaborators extends pulumi.CustomResource {
|
|
|
113
126
|
const state = argsOrState;
|
|
114
127
|
resourceInputs["ignoreTeams"] = state?.ignoreTeams;
|
|
115
128
|
resourceInputs["invitationIds"] = state?.invitationIds;
|
|
129
|
+
resourceInputs["ownerConfigured"] = state?.ownerConfigured;
|
|
116
130
|
resourceInputs["repository"] = state?.repository;
|
|
117
131
|
resourceInputs["repositoryId"] = state?.repositoryId;
|
|
118
132
|
resourceInputs["teams"] = state?.teams;
|
|
@@ -128,6 +142,7 @@ class RepositoryCollaborators extends pulumi.CustomResource {
|
|
|
128
142
|
resourceInputs["teams"] = args?.teams;
|
|
129
143
|
resourceInputs["users"] = args?.users;
|
|
130
144
|
resourceInputs["invitationIds"] = undefined /*out*/;
|
|
145
|
+
resourceInputs["ownerConfigured"] = undefined /*out*/;
|
|
131
146
|
resourceInputs["repositoryId"] = undefined /*out*/;
|
|
132
147
|
}
|
|
133
148
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryCollaborators.js","sourceRoot":"","sources":["../repositoryCollaborators.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryCollaborators.js","sourceRoot":"","sources":["../repositoryCollaborators.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8DAA8D,CAAC;IAErG;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IAuCD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;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as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Resource to manage GitHub repository custom properties.
|
|
4
|
+
* For more information, see the [GitHub API documentation](https://docs.github.com/rest/metadata/custom-properties#create-or-update-repository-custom-property).
|
|
4
5
|
*
|
|
5
6
|
* ## Example Usage
|
|
6
7
|
*
|
|
7
|
-
* > Note that this assumes there already is a custom property defined on the org level called `my-cool-property` of type `string`
|
|
8
|
-
*
|
|
9
8
|
* ```typescript
|
|
10
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
10
|
* import * as github from "@pulumi/github";
|
|
12
11
|
*
|
|
12
|
+
* // NOTE: This assumes there already is a custom property defined on the org level called `my-cool-string` of type `string`
|
|
13
13
|
* const example = new github.Repository("example", {
|
|
14
14
|
* name: "example",
|
|
15
15
|
* description: "My awesome codebase",
|
|
16
16
|
* });
|
|
17
|
-
* const
|
|
17
|
+
* const exampleRepositoryCustomProperty = new github.RepositoryCustomProperty("example", {
|
|
18
18
|
* repository: example.name,
|
|
19
|
-
* propertyName: "my-cool-
|
|
19
|
+
* propertyName: "my-cool-string",
|
|
20
20
|
* propertyType: "string",
|
|
21
21
|
* propertyValues: ["test"],
|
|
22
22
|
* });
|
|
@@ -24,7 +24,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
24
24
|
*
|
|
25
25
|
* ## Import
|
|
26
26
|
*
|
|
27
|
-
*
|
|
27
|
+
* The `pulumi import` command can be used, for example:
|
|
28
28
|
*
|
|
29
29
|
* ```sh
|
|
30
30
|
* $ pulumi import github:index/repositoryCustomProperty:RepositoryCustomProperty example organization-name:repo-name:custom-property-name
|
|
@@ -47,21 +47,25 @@ export declare class RepositoryCustomProperty extends pulumi.CustomResource {
|
|
|
47
47
|
*/
|
|
48
48
|
static isInstance(obj: any): obj is RepositoryCustomProperty;
|
|
49
49
|
/**
|
|
50
|
-
* Name of the custom property.
|
|
50
|
+
* Name of the custom property.
|
|
51
51
|
*/
|
|
52
52
|
readonly propertyName: pulumi.Output<string>;
|
|
53
53
|
/**
|
|
54
|
-
* Type of the custom property.
|
|
54
|
+
* Type of the custom property. Valid values are `string`, `singleSelect`, `multiSelect`, `trueFalse`, and `url`.
|
|
55
55
|
*/
|
|
56
56
|
readonly propertyType: pulumi.Output<string>;
|
|
57
57
|
/**
|
|
58
|
-
* Value of the custom property
|
|
58
|
+
* Value of the custom property. For `string`, `singleSelect`, `trueFalse`, and `url` property types, this should be a single value. For `multiSelect` property types, this can be multiple values.
|
|
59
59
|
*/
|
|
60
60
|
readonly propertyValues: pulumi.Output<string[]>;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Name of the repository.
|
|
63
63
|
*/
|
|
64
64
|
readonly repository: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* ID of the repository.
|
|
67
|
+
*/
|
|
68
|
+
readonly repositoryId: pulumi.Output<number>;
|
|
65
69
|
/**
|
|
66
70
|
* Create a RepositoryCustomProperty resource with the given unique name, arguments, and options.
|
|
67
71
|
*
|
|
@@ -76,40 +80,44 @@ export declare class RepositoryCustomProperty extends pulumi.CustomResource {
|
|
|
76
80
|
*/
|
|
77
81
|
export interface RepositoryCustomPropertyState {
|
|
78
82
|
/**
|
|
79
|
-
* Name of the custom property.
|
|
83
|
+
* Name of the custom property.
|
|
80
84
|
*/
|
|
81
85
|
propertyName?: pulumi.Input<string | undefined>;
|
|
82
86
|
/**
|
|
83
|
-
* Type of the custom property.
|
|
87
|
+
* Type of the custom property. Valid values are `string`, `singleSelect`, `multiSelect`, `trueFalse`, and `url`.
|
|
84
88
|
*/
|
|
85
89
|
propertyType?: pulumi.Input<string | undefined>;
|
|
86
90
|
/**
|
|
87
|
-
* Value of the custom property
|
|
91
|
+
* Value of the custom property. For `string`, `singleSelect`, `trueFalse`, and `url` property types, this should be a single value. For `multiSelect` property types, this can be multiple values.
|
|
88
92
|
*/
|
|
89
93
|
propertyValues?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
90
94
|
/**
|
|
91
|
-
*
|
|
95
|
+
* Name of the repository.
|
|
92
96
|
*/
|
|
93
97
|
repository?: pulumi.Input<string | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* ID of the repository.
|
|
100
|
+
*/
|
|
101
|
+
repositoryId?: pulumi.Input<number | undefined>;
|
|
94
102
|
}
|
|
95
103
|
/**
|
|
96
104
|
* The set of arguments for constructing a RepositoryCustomProperty resource.
|
|
97
105
|
*/
|
|
98
106
|
export interface RepositoryCustomPropertyArgs {
|
|
99
107
|
/**
|
|
100
|
-
* Name of the custom property.
|
|
108
|
+
* Name of the custom property.
|
|
101
109
|
*/
|
|
102
110
|
propertyName: pulumi.Input<string>;
|
|
103
111
|
/**
|
|
104
|
-
* Type of the custom property.
|
|
112
|
+
* Type of the custom property. Valid values are `string`, `singleSelect`, `multiSelect`, `trueFalse`, and `url`.
|
|
105
113
|
*/
|
|
106
114
|
propertyType: pulumi.Input<string>;
|
|
107
115
|
/**
|
|
108
|
-
* Value of the custom property
|
|
116
|
+
* Value of the custom property. For `string`, `singleSelect`, `trueFalse`, and `url` property types, this should be a single value. For `multiSelect` property types, this can be multiple values.
|
|
109
117
|
*/
|
|
110
118
|
propertyValues: pulumi.Input<pulumi.Input<string>[]>;
|
|
111
119
|
/**
|
|
112
|
-
*
|
|
120
|
+
* Name of the repository.
|
|
113
121
|
*/
|
|
114
122
|
repository: pulumi.Input<string>;
|
|
115
123
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryCustomProperty.d.ts","sourceRoot":"","sources":["../repositoryCustomProperty.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,C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AC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -29,23 +29,23 @@ exports.RepositoryCustomProperty = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Resource to manage GitHub repository custom properties.
|
|
33
|
+
* For more information, see the [GitHub API documentation](https://docs.github.com/rest/metadata/custom-properties#create-or-update-repository-custom-property).
|
|
33
34
|
*
|
|
34
35
|
* ## Example Usage
|
|
35
36
|
*
|
|
36
|
-
* > Note that this assumes there already is a custom property defined on the org level called `my-cool-property` of type `string`
|
|
37
|
-
*
|
|
38
37
|
* ```typescript
|
|
39
38
|
* import * as pulumi from "@pulumi/pulumi";
|
|
40
39
|
* import * as github from "@pulumi/github";
|
|
41
40
|
*
|
|
41
|
+
* // NOTE: This assumes there already is a custom property defined on the org level called `my-cool-string` of type `string`
|
|
42
42
|
* const example = new github.Repository("example", {
|
|
43
43
|
* name: "example",
|
|
44
44
|
* description: "My awesome codebase",
|
|
45
45
|
* });
|
|
46
|
-
* const
|
|
46
|
+
* const exampleRepositoryCustomProperty = new github.RepositoryCustomProperty("example", {
|
|
47
47
|
* repository: example.name,
|
|
48
|
-
* propertyName: "my-cool-
|
|
48
|
+
* propertyName: "my-cool-string",
|
|
49
49
|
* propertyType: "string",
|
|
50
50
|
* propertyValues: ["test"],
|
|
51
51
|
* });
|
|
@@ -53,7 +53,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
53
53
|
*
|
|
54
54
|
* ## Import
|
|
55
55
|
*
|
|
56
|
-
*
|
|
56
|
+
* The `pulumi import` command can be used, for example:
|
|
57
57
|
*
|
|
58
58
|
* ```sh
|
|
59
59
|
* $ pulumi import github:index/repositoryCustomProperty:RepositoryCustomProperty example organization-name:repo-name:custom-property-name
|
|
@@ -93,6 +93,7 @@ class RepositoryCustomProperty extends pulumi.CustomResource {
|
|
|
93
93
|
resourceInputs["propertyType"] = state?.propertyType;
|
|
94
94
|
resourceInputs["propertyValues"] = state?.propertyValues;
|
|
95
95
|
resourceInputs["repository"] = state?.repository;
|
|
96
|
+
resourceInputs["repositoryId"] = state?.repositoryId;
|
|
96
97
|
}
|
|
97
98
|
else {
|
|
98
99
|
const args = argsOrState;
|
|
@@ -112,6 +113,7 @@ class RepositoryCustomProperty extends pulumi.CustomResource {
|
|
|
112
113
|
resourceInputs["propertyType"] = args?.propertyType;
|
|
113
114
|
resourceInputs["propertyValues"] = args?.propertyValues;
|
|
114
115
|
resourceInputs["repository"] = args?.repository;
|
|
116
|
+
resourceInputs["repositoryId"] = undefined /*out*/;
|
|
115
117
|
}
|
|
116
118
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
117
119
|
super(RepositoryCustomProperty.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryCustomProperty.js","sourceRoot":"","sources":["../repositoryCustomProperty.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,gEAAgE,CAAC;IAEvG;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,K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AAC;;AAzFL,4DA0FC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource allows you to manage dependabot automated security fixes for a single repository. See the
|
|
4
|
-
* [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates)
|
|
5
|
-
* for details of usage and how this will impact your repository
|
|
3
|
+
* This resource allows you to manage dependabot automated security fixes for a single repository. See the [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates) for details of usage and how this will impact your repository
|
|
6
4
|
*
|
|
7
5
|
* ## Example Usage
|
|
8
6
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryDependabotSecurityUpdates.d.ts","sourceRoot":"","sources":["../repositoryDependabotSecurityUpdates.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"repositoryDependabotSecurityUpdates.d.ts","sourceRoot":"","sources":["../repositoryDependabotSecurityUpdates.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,wCAAwC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mCAAmC;IAOxL;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mCAAmC;IAO9E;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACxD;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE1D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,uCAAuC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsB/G;AAED;;GAEG;AACH,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -29,9 +29,7 @@ exports.RepositoryDependabotSecurityUpdates = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("./utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* This resource allows you to manage dependabot automated security fixes for a single repository. See the
|
|
33
|
-
* [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates)
|
|
34
|
-
* for details of usage and how this will impact your repository
|
|
32
|
+
* This resource allows you to manage dependabot automated security fixes for a single repository. See the [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates) for details of usage and how this will impact your repository
|
|
35
33
|
*
|
|
36
34
|
* ## Example Usage
|
|
37
35
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryDependabotSecurityUpdates.js","sourceRoot":"","sources":["../repositoryDependabotSecurityUpdates.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF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F,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;;AAjEL,kFAkEC"}
|
package/repositoryDeployKey.d.ts
CHANGED
|
@@ -2,15 +2,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Provides a GitHub repository deploy key resource.
|
|
4
4
|
*
|
|
5
|
-
* A deploy key is an SSH key that is stored on your server and grants
|
|
6
|
-
* access to a single GitHub repository. This key is attached directly to the repository instead of to a personal user
|
|
7
|
-
* account.
|
|
5
|
+
* A deploy key is an SSH key that is stored on your server and grants access to a single GitHub repository. This key is attached directly to the repository instead of to a personal user account.
|
|
8
6
|
*
|
|
9
7
|
* This resource allows you to add/remove repository deploy keys.
|
|
10
8
|
*
|
|
11
9
|
* > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing deploy key modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
|
|
12
10
|
*
|
|
13
11
|
* Further documentation on GitHub repository deploy keys:
|
|
12
|
+
*
|
|
14
13
|
* - [About deploy keys](https://developer.github.com/guides/managing-deploy-keys/#deploy-keys)
|
|
15
14
|
*
|
|
16
15
|
* ## Example Usage
|
|
@@ -33,8 +32,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
33
32
|
*
|
|
34
33
|
* ## Import
|
|
35
34
|
*
|
|
36
|
-
* Repository deploy keys can be imported using a colon-separated pair of repository name
|
|
37
|
-
* and GitHub's key id. The latter can be obtained by GitHub's SDKs and API.
|
|
35
|
+
* Repository deploy keys can be imported using a colon-separated pair of repository name and GitHub's key id. The latter can be obtained by GitHub's SDKs and API.
|
|
38
36
|
*
|
|
39
37
|
* ```sh
|
|
40
38
|
* $ pulumi import github:index/repositoryDeployKey:RepositoryDeployKey foo test-repo:23824728
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryDeployKey.d.ts","sourceRoot":"","sources":["../repositoryDeployKey.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"repositoryDeployKey.d.ts","sourceRoot":"","sources":["../repositoryDeployKey.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,qBAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mBAAmB;IAOxJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mBAAmB;IAO9D,SAAgC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5D;;OAEG;IAC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EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B"}
|
package/repositoryDeployKey.js
CHANGED
|
@@ -31,15 +31,14 @@ const utilities = __importStar(require("./utilities"));
|
|
|
31
31
|
/**
|
|
32
32
|
* Provides a GitHub repository deploy key resource.
|
|
33
33
|
*
|
|
34
|
-
* A deploy key is an SSH key that is stored on your server and grants
|
|
35
|
-
* access to a single GitHub repository. This key is attached directly to the repository instead of to a personal user
|
|
36
|
-
* account.
|
|
34
|
+
* A deploy key is an SSH key that is stored on your server and grants access to a single GitHub repository. This key is attached directly to the repository instead of to a personal user account.
|
|
37
35
|
*
|
|
38
36
|
* This resource allows you to add/remove repository deploy keys.
|
|
39
37
|
*
|
|
40
38
|
* > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing deploy key modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
|
|
41
39
|
*
|
|
42
40
|
* Further documentation on GitHub repository deploy keys:
|
|
41
|
+
*
|
|
43
42
|
* - [About deploy keys](https://developer.github.com/guides/managing-deploy-keys/#deploy-keys)
|
|
44
43
|
*
|
|
45
44
|
* ## Example Usage
|
|
@@ -62,8 +61,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
62
61
|
*
|
|
63
62
|
* ## Import
|
|
64
63
|
*
|
|
65
|
-
* Repository deploy keys can be imported using a colon-separated pair of repository name
|
|
66
|
-
* and GitHub's key id. The latter can be obtained by GitHub's SDKs and API.
|
|
64
|
+
* Repository deploy keys can be imported using a colon-separated pair of repository name and GitHub's key id. The latter can be obtained by GitHub's SDKs and API.
|
|
67
65
|
*
|
|
68
66
|
* ```sh
|
|
69
67
|
* $ pulumi import github:index/repositoryDeployKey:RepositoryDeployKey foo test-repo:23824728
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryDeployKey.js","sourceRoot":"","sources":["../repositoryDeployKey.ts"],"names":[],"mappings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