@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
|
@@ -28,6 +28,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
28
|
* ```
|
|
29
29
|
*
|
|
30
30
|
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import github:index/repositoryDeploymentBranchPolicy:RepositoryDeploymentBranchPolicy foo repo:env:id
|
|
34
|
+
* ```
|
|
31
35
|
*/
|
|
32
36
|
export declare class RepositoryDeploymentBranchPolicy extends pulumi.CustomResource {
|
|
33
37
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryDeploymentBranchPolicy.d.ts","sourceRoot":"","sources":["../repositoryDeploymentBranchPolicy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"repositoryDeploymentBranchPolicy.d.ts","sourceRoot":"","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C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACjD;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -57,6 +57,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
57
57
|
* ```
|
|
58
58
|
*
|
|
59
59
|
* ## Import
|
|
60
|
+
*
|
|
61
|
+
* ```sh
|
|
62
|
+
* $ pulumi import github:index/repositoryDeploymentBranchPolicy:RepositoryDeploymentBranchPolicy foo repo:env:id
|
|
63
|
+
* ```
|
|
60
64
|
*/
|
|
61
65
|
class RepositoryDeploymentBranchPolicy extends pulumi.CustomResource {
|
|
62
66
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryDeploymentBranchPolicy.js","sourceRoot":"","sources":["../repositoryDeploymentBranchPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryDeploymentBranchPolicy.js","sourceRoot":"","sources":["../repositoryDeploymentBranchPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;G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AAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gCAAgC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrF,CAAC;;AA7EL,4EA8EC"}
|
|
@@ -4,6 +4,8 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* This resource allows you to create and manage environments for a GitHub repository.
|
|
6
6
|
*
|
|
7
|
+
* > Verify you have the correct permissions set up from the [GitHub API docs](https://docs.github.com/en/rest/deployments/environments?apiVersion=2022-11-28#create-or-update-an-environment)
|
|
8
|
+
*
|
|
7
9
|
* ## Example Usage
|
|
8
10
|
*
|
|
9
11
|
* ```typescript
|
|
@@ -35,6 +37,10 @@ import * as outputs from "./types/output";
|
|
|
35
37
|
*
|
|
36
38
|
* This resource can be imported using an ID made of the repository name and environment name (any `:` in the environment name need to be escaped as `??`) separated by a `:`.
|
|
37
39
|
*
|
|
40
|
+
* ### Import Block
|
|
41
|
+
*
|
|
42
|
+
* The following import block imports an environment called `myenv` for the repo `myrepo` to a `github.RepositoryEnvironment` resource named `example`.
|
|
43
|
+
*
|
|
38
44
|
* ### Import Command
|
|
39
45
|
*
|
|
40
46
|
* The following command imports an environment called `myenv` for the repo `myrepo` to a `github.RepositoryEnvironment` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryEnvironment.d.ts","sourceRoot":"","sources":["../repositoryEnvironment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"repositoryEnvironment.d.ts","sourceRoot":"","sources":["../repositoryEnvironment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,qBAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,qBAAqB;IAO5J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,qBAAqB;IAOhE;;OAEG;IACH,SAAwB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC5E;;OAEG;IACH,SAAwB,sBAAsB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,2CAA2C,GAAG,SAAS,CAAC,CAAC;IAC/H;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;I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;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,2CAA2C,GAAG,SAAS,CAAC,CAAC;IACtG;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,6BAA6B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC3F;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD"}
|
package/repositoryEnvironment.js
CHANGED
|
@@ -31,6 +31,8 @@ const utilities = __importStar(require("./utilities"));
|
|
|
31
31
|
/**
|
|
32
32
|
* This resource allows you to create and manage environments for a GitHub repository.
|
|
33
33
|
*
|
|
34
|
+
* > Verify you have the correct permissions set up from the [GitHub API docs](https://docs.github.com/en/rest/deployments/environments?apiVersion=2022-11-28#create-or-update-an-environment)
|
|
35
|
+
*
|
|
34
36
|
* ## Example Usage
|
|
35
37
|
*
|
|
36
38
|
* ```typescript
|
|
@@ -62,6 +64,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
62
64
|
*
|
|
63
65
|
* This resource can be imported using an ID made of the repository name and environment name (any `:` in the environment name need to be escaped as `??`) separated by a `:`.
|
|
64
66
|
*
|
|
67
|
+
* ### Import Block
|
|
68
|
+
*
|
|
69
|
+
* The following import block imports an environment called `myenv` for the repo `myrepo` to a `github.RepositoryEnvironment` resource named `example`.
|
|
70
|
+
*
|
|
65
71
|
* ### Import Command
|
|
66
72
|
*
|
|
67
73
|
* The following command imports an environment called `myenv` for the repo `myrepo` to a `github.RepositoryEnvironment` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryEnvironment.js","sourceRoot":"","sources":["../repositoryEnvironment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryEnvironment.js","sourceRoot":"","sources":["../repositoryEnvironment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0DAA0D,CAAC;IAEjG;;;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,q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WAAW,CAAC;YAClD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,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,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AArGL,sDAsGC"}
|
|
@@ -66,6 +66,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
66
66
|
*
|
|
67
67
|
* This resource can be imported using an ID made of the repository name, environment name (any `:` in the environment name need to be escaped as `??`), and deployment policy ID name all separated by a `:`.
|
|
68
68
|
*
|
|
69
|
+
* ### Import Block
|
|
70
|
+
*
|
|
71
|
+
* The following import block imports a deployment policy with the ID `123456` for the repo `myrepo` and environment `myenv` to a `github.RepositoryEnvironmentDeploymentPolicy` resource named `example`.
|
|
72
|
+
*
|
|
69
73
|
* ### Import Command
|
|
70
74
|
*
|
|
71
75
|
* The following command imports a deployment policy with the ID `123456` for the repo `myrepo` and environment `myenv` to a `github.RepositoryEnvironmentDeploymentPolicy` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryEnvironmentDeploymentPolicy.d.ts","sourceRoot":"","sources":["../repositoryEnvironmentDeploymentPolicy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"repositoryEnvironmentDeploymentPolicy.d.ts","sour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a,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACtD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD"}
|
|
@@ -95,6 +95,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
95
95
|
*
|
|
96
96
|
* This resource can be imported using an ID made of the repository name, environment name (any `:` in the environment name need to be escaped as `??`), and deployment policy ID name all separated by a `:`.
|
|
97
97
|
*
|
|
98
|
+
* ### Import Block
|
|
99
|
+
*
|
|
100
|
+
* The following import block imports a deployment policy with the ID `123456` for the repo `myrepo` and environment `myenv` to a `github.RepositoryEnvironmentDeploymentPolicy` resource named `example`.
|
|
101
|
+
*
|
|
98
102
|
* ### Import Command
|
|
99
103
|
*
|
|
100
104
|
* The following command imports a deployment policy with the ID `123456` for the repo `myrepo` and environment `myenv` to a `github.RepositoryEnvironmentDeploymentPolicy` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryEnvironmentDeploymentPolicy.js","sourceRoot":"","sources":["../repositoryEnvironmentDeploymentPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryEnvironmentDeploymentPolicy.js","sourceRoot":"","sources":["../repositoryEnvironmentDeploymentPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IAC5E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkD,EAAE,IAAmC;QAChJ,OAAO,IAAI,qCAAqC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0FAA0F,CAAC;IAEjI;;;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,qCAAqC,CAAC,YAAY,CAAC;IACtF,CAAC;IAmCD,YAAY,IAAY,EAAE,WAA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I,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qCAAqC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1F,CAAC;;AAzFL,sFA0FC"}
|
package/repositoryFile.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource allows you to create and manage files within a
|
|
4
|
-
* GitHub repository.
|
|
3
|
+
* This resource allows you to create and manage files within a GitHub repository.
|
|
5
4
|
*
|
|
6
5
|
* > **Note:** When a repository is archived, Terraform will skip deletion of repository files to avoid API errors, as archived repositories are read-only. The files will be removed from Terraform state without attempting to delete them from GitHub.
|
|
7
6
|
*
|
|
@@ -35,12 +34,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
35
34
|
* import * as pulumi from "@pulumi/pulumi";
|
|
36
35
|
* import * as github from "@pulumi/github";
|
|
37
36
|
*
|
|
38
|
-
* const
|
|
39
|
-
* name: "
|
|
37
|
+
* const bar = new github.Repository("bar", {
|
|
38
|
+
* name: "example2",
|
|
40
39
|
* autoInit: true,
|
|
41
40
|
* });
|
|
42
|
-
* const
|
|
43
|
-
*
|
|
41
|
+
* const barBranch = new github.Branch("bar", {
|
|
42
|
+
* branch: "does/not/exist",
|
|
43
|
+
* repository: bar.name,
|
|
44
|
+
* });
|
|
45
|
+
* const barRepositoryFile = new github.RepositoryFile("bar", {
|
|
46
|
+
* repository: bar.name,
|
|
44
47
|
* branch: "does/not/exist",
|
|
45
48
|
* file: ".gitignore",
|
|
46
49
|
* content: "**/*.tfstate",
|
|
@@ -48,13 +51,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
48
51
|
* commitAuthor: "Terraform User",
|
|
49
52
|
* commitEmail: "terraform@example.com",
|
|
50
53
|
* overwriteOnCreate: true,
|
|
51
|
-
* autocreateBranch: true,
|
|
52
54
|
* });
|
|
53
55
|
* ```
|
|
54
56
|
*
|
|
55
57
|
* ## Import
|
|
56
58
|
*
|
|
57
|
-
* Repository files can be imported using a combination of the `repo`, `file` and `branch` or empty branch for the default branch, e.g.
|
|
59
|
+
* Repository files can be imported using a combination of the `repo`, `file path` (any `:` in the file path need to be escaped as `??`) and `branch` or empty branch for the default branch, e.g.
|
|
58
60
|
*
|
|
59
61
|
* ```sh
|
|
60
62
|
* $ pulumi import github:index/repositoryFile:RepositoryFile gitignore example:.gitignore:feature-branch
|
|
@@ -101,8 +103,7 @@ export declare class RepositoryFile extends pulumi.CustomResource {
|
|
|
101
103
|
*/
|
|
102
104
|
readonly autocreateBranchSourceSha: pulumi.Output<string>;
|
|
103
105
|
/**
|
|
104
|
-
* Git branch (defaults to the repository's default branch).
|
|
105
|
-
* The branch must already exist, it will only be created automatically if 'autocreate_branch' is set true.
|
|
106
|
+
* Git branch (defaults to the repository's default branch). The branch must already exist, it will only be created automatically if 'autocreate_branch' is set true.
|
|
106
107
|
*/
|
|
107
108
|
readonly branch: pulumi.Output<string>;
|
|
108
109
|
/**
|
|
@@ -181,8 +182,7 @@ export interface RepositoryFileState {
|
|
|
181
182
|
*/
|
|
182
183
|
autocreateBranchSourceSha?: pulumi.Input<string | undefined>;
|
|
183
184
|
/**
|
|
184
|
-
* Git branch (defaults to the repository's default branch).
|
|
185
|
-
* The branch must already exist, it will only be created automatically if 'autocreate_branch' is set true.
|
|
185
|
+
* Git branch (defaults to the repository's default branch). The branch must already exist, it will only be created automatically if 'autocreate_branch' is set true.
|
|
186
186
|
*/
|
|
187
187
|
branch?: pulumi.Input<string | undefined>;
|
|
188
188
|
/**
|
|
@@ -253,8 +253,7 @@ export interface RepositoryFileArgs {
|
|
|
253
253
|
*/
|
|
254
254
|
autocreateBranchSourceSha?: pulumi.Input<string | undefined>;
|
|
255
255
|
/**
|
|
256
|
-
* Git branch (defaults to the repository's default branch).
|
|
257
|
-
* The branch must already exist, it will only be created automatically if 'autocreate_branch' is set true.
|
|
256
|
+
* Git branch (defaults to the repository's default branch). The branch must already exist, it will only be created automatically if 'autocreate_branch' is set true.
|
|
258
257
|
*/
|
|
259
258
|
branch?: pulumi.Input<string | undefined>;
|
|
260
259
|
/**
|
package/repositoryFile.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryFile.d.ts","sourceRoot":"","sources":["../repositoryFile.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"repositoryFile.d.ts","sourceRoot":"","sources":["../repositoryFile.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,qBAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,cAAc;IAO9I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,cAAc;IAOzD;;;;OAIG;IACH,SAAwB,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7E;;;;OAIG;IACH,SAAwB,4BAA4B,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxF;;;;OAIG;IACH,SAAwB,yBAAyB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzE;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,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G,SAAS,CAAC,CAAC;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACrD;;;;OAIG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChE;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7D;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
package/repositoryFile.js
CHANGED
|
@@ -29,8 +29,7 @@ exports.RepositoryFile = 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 create and manage files within a
|
|
33
|
-
* GitHub repository.
|
|
32
|
+
* This resource allows you to create and manage files within a GitHub repository.
|
|
34
33
|
*
|
|
35
34
|
* > **Note:** When a repository is archived, Terraform will skip deletion of repository files to avoid API errors, as archived repositories are read-only. The files will be removed from Terraform state without attempting to delete them from GitHub.
|
|
36
35
|
*
|
|
@@ -64,12 +63,16 @@ const utilities = __importStar(require("./utilities"));
|
|
|
64
63
|
* import * as pulumi from "@pulumi/pulumi";
|
|
65
64
|
* import * as github from "@pulumi/github";
|
|
66
65
|
*
|
|
67
|
-
* const
|
|
68
|
-
* name: "
|
|
66
|
+
* const bar = new github.Repository("bar", {
|
|
67
|
+
* name: "example2",
|
|
69
68
|
* autoInit: true,
|
|
70
69
|
* });
|
|
71
|
-
* const
|
|
72
|
-
*
|
|
70
|
+
* const barBranch = new github.Branch("bar", {
|
|
71
|
+
* branch: "does/not/exist",
|
|
72
|
+
* repository: bar.name,
|
|
73
|
+
* });
|
|
74
|
+
* const barRepositoryFile = new github.RepositoryFile("bar", {
|
|
75
|
+
* repository: bar.name,
|
|
73
76
|
* branch: "does/not/exist",
|
|
74
77
|
* file: ".gitignore",
|
|
75
78
|
* content: "**/*.tfstate",
|
|
@@ -77,13 +80,12 @@ const utilities = __importStar(require("./utilities"));
|
|
|
77
80
|
* commitAuthor: "Terraform User",
|
|
78
81
|
* commitEmail: "terraform@example.com",
|
|
79
82
|
* overwriteOnCreate: true,
|
|
80
|
-
* autocreateBranch: true,
|
|
81
83
|
* });
|
|
82
84
|
* ```
|
|
83
85
|
*
|
|
84
86
|
* ## Import
|
|
85
87
|
*
|
|
86
|
-
* Repository files can be imported using a combination of the `repo`, `file` and `branch` or empty branch for the default branch, e.g.
|
|
88
|
+
* Repository files can be imported using a combination of the `repo`, `file path` (any `:` in the file path need to be escaped as `??`) and `branch` or empty branch for the default branch, e.g.
|
|
87
89
|
*
|
|
88
90
|
* ```sh
|
|
89
91
|
* $ pulumi import github:index/repositoryFile:RepositoryFile gitignore example:.gitignore:feature-branch
|
package/repositoryFile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryFile.js","sourceRoot":"","sources":["../repositoryFile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryFile.js","sourceRoot":"","sources":["../repositoryFile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,4CAA4C,CAAC;IAEnF;;;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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IA6ED,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cA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c,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAxJL,wCAyJC"}
|
package/repositoryPages.d.ts
CHANGED
|
@@ -2,9 +2,7 @@ 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
|
-
* This resource allows you to manage GitHub Pages for a repository. See the
|
|
6
|
-
* [documentation](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages)
|
|
7
|
-
* for details on GitHub Pages.
|
|
5
|
+
* This resource allows you to manage GitHub Pages for a repository. See the [documentation](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages) for details on GitHub Pages.
|
|
8
6
|
*
|
|
9
7
|
* The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission. OAuth app tokens and personal access tokens (classic) need the repo scope to use this resource.
|
|
10
8
|
*
|
package/repositoryPages.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryPages.d.ts","sourceRoot":"","sources":["../repositoryPages.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"repositoryPages.d.ts","sourceRoot":"","sources":["../repositoryPages.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2EG;AACH,qBAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;WACW,GAAG,CAAC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,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;CACnE"}
|
package/repositoryPages.js
CHANGED
|
@@ -29,9 +29,7 @@ exports.RepositoryPages = 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 GitHub Pages for a repository. See the
|
|
33
|
-
* [documentation](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages)
|
|
34
|
-
* for details on GitHub Pages.
|
|
32
|
+
* This resource allows you to manage GitHub Pages for a repository. See the [documentation](https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages) for details on GitHub Pages.
|
|
35
33
|
*
|
|
36
34
|
* The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission. OAuth app tokens and personal access tokens (classic) need the repo scope to use this resource.
|
|
37
35
|
*
|
package/repositoryPages.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryPages.js","sourceRoot":"","sources":["../repositoryPages.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|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AC;YAC9C,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,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AApHL,0CAqHC"}
|
package/repositoryTopics.d.ts
CHANGED
|
@@ -2,8 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* This resource allows you to create and manage topics for repositories within your GitHub organization or personal account.
|
|
4
4
|
*
|
|
5
|
-
* > Note: This resource is not compatible with the `topic` attribute of the `github.Repository` Use either
|
|
6
|
-
* or ``topic`` in ``github.Repository``. `github.RepositoryTopics` is only meant to be used if the repository itself is not handled via terraform, for example if it's only read as a datasource (see issue #1845).
|
|
5
|
+
* > Note: This resource is not compatible with the `topic` attribute of the `github.Repository` Use either `github.RepositoryTopics` or `topic` in `github.Repository`. `github.RepositoryTopics` is only meant to be used if the repository itself is not handled via terraform, for example if it's only read as a datasource (see issue #1845).
|
|
7
6
|
*
|
|
8
7
|
* ## Example Usage
|
|
9
8
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryTopics.d.ts","sourceRoot":"","sources":["../repositoryTopics.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"repositoryTopics.d.ts","sourceRoot":"","sources":["../repositoryTopics.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,gBAAgB;IAOlJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,gBAAgB;IAO3D;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1D;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IAExD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAsB5F;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC7D;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;CAChD"}
|
package/repositoryTopics.js
CHANGED
|
@@ -31,8 +31,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
31
31
|
/**
|
|
32
32
|
* This resource allows you to create and manage topics for repositories within your GitHub organization or personal account.
|
|
33
33
|
*
|
|
34
|
-
* > Note: This resource is not compatible with the `topic` attribute of the `github.Repository` Use either
|
|
35
|
-
* or ``topic`` in ``github.Repository``. `github.RepositoryTopics` is only meant to be used if the repository itself is not handled via terraform, for example if it's only read as a datasource (see issue #1845).
|
|
34
|
+
* > Note: This resource is not compatible with the `topic` attribute of the `github.Repository` Use either `github.RepositoryTopics` or `topic` in `github.Repository`. `github.RepositoryTopics` is only meant to be used if the repository itself is not handled via terraform, for example if it's only read as a datasource (see issue #1845).
|
|
36
35
|
*
|
|
37
36
|
* ## Example Usage
|
|
38
37
|
*
|
package/repositoryTopics.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryTopics.js","sourceRoot":"","sources":["../repositoryTopics.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryTopics.js","sourceRoot":"","sources":["../repositoryTopics.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,gDAAgD,CAAC;IAEvF;;;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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAjEL,4CAkEC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* This resource allows you to manage vulnerability alerts for a GitHub repository. See the
|
|
4
|
-
* [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)
|
|
5
|
-
* for details of usage and how this will impact your repository.
|
|
3
|
+
* This resource allows you to manage vulnerability alerts for a GitHub repository. See the [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts) 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":"repositoryVulnerabilityAlerts.d.ts","sourceRoot":"","sources":["../repositoryVulnerabilityAlerts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC
|
|
1
|
+
{"version":3,"file":"repositoryVulnerabilityAlerts.d.ts","sourceRoot":"","sources":["../repositoryVulnerabilityAlerts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,qBAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,kCAAkC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,6BAA6B;IAO5K;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,6BAA6B;IAOxE;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1D;;OAEG;IACH,SAAgC,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEpE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,iCAAiC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAqBzG;AAED;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;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;IAC9C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnD;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -29,9 +29,7 @@ exports.RepositoryVulnerabilityAlerts = 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 vulnerability alerts for a GitHub repository. See the
|
|
33
|
-
* [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)
|
|
34
|
-
* for details of usage and how this will impact your repository.
|
|
32
|
+
* This resource allows you to manage vulnerability alerts for a GitHub repository. See the [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts) 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":"repositoryVulnerabilityAlerts.js","sourceRoot":"","sources":["../repositoryVulnerabilityAlerts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDA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,CAAC;YAC1E,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;YAChD,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,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AApEL,sEAqEC"}
|
package/repositoryWebhook.d.ts
CHANGED
|
@@ -2,8 +2,7 @@ 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
|
-
* This resource allows you to create and manage webhooks for repositories within your
|
|
6
|
-
* GitHub organization or personal account.
|
|
5
|
+
* This resource allows you to create and manage webhooks for repositories within your GitHub organization or personal account.
|
|
7
6
|
*
|
|
8
7
|
* > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing webhook 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.
|
|
9
8
|
*
|
|
@@ -33,8 +32,7 @@ import * as outputs from "./types/output";
|
|
|
33
32
|
*
|
|
34
33
|
* ## Import
|
|
35
34
|
*
|
|
36
|
-
* Repository webhooks can be imported using the `name` of the repository, combined with the `id` of the webhook, separated by a `/` character.
|
|
37
|
-
* The `id` of the webhook can be found in the URL of the webhook. For example: `"https://github.com/foo-org/foo-repo/settings/hooks/14711452"`.
|
|
35
|
+
* Repository webhooks can be imported using the `name` of the repository, combined with the `id` of the webhook, separated by a `/` character. The `id` of the webhook can be found in the URL of the webhook. For example: `"https://github.com/foo-org/foo-repo/settings/hooks/14711452"`.
|
|
38
36
|
*
|
|
39
37
|
* Importing uses the name of the repository, as well as the ID of the webhook, e.g.
|
|
40
38
|
*
|
|
@@ -78,7 +76,7 @@ export declare class RepositoryWebhook extends pulumi.CustomResource {
|
|
|
78
76
|
*/
|
|
79
77
|
readonly repository: pulumi.Output<string>;
|
|
80
78
|
/**
|
|
81
|
-
* URL of the webhook.
|
|
79
|
+
* URL of the webhook. This is a sensitive attribute because it may include basic auth credentials.
|
|
82
80
|
*/
|
|
83
81
|
readonly url: pulumi.Output<string>;
|
|
84
82
|
/**
|
|
@@ -112,7 +110,7 @@ export interface RepositoryWebhookState {
|
|
|
112
110
|
*/
|
|
113
111
|
repository?: pulumi.Input<string | undefined>;
|
|
114
112
|
/**
|
|
115
|
-
* URL of the webhook.
|
|
113
|
+
* URL of the webhook. This is a sensitive attribute because it may include basic auth credentials.
|
|
116
114
|
*/
|
|
117
115
|
url?: pulumi.Input<string | undefined>;
|
|
118
116
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryWebhook.d.ts","sourceRoot":"","sources":["../repositoryWebhook.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"repositoryWebhook.d.ts","sourceRoot":"","sources":["../repositoryWebhook.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC1D;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,8BAA8B,GAAG,SAAS,CAAC,CAAC;IAChF,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC7C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
package/repositoryWebhook.js
CHANGED
|
@@ -29,8 +29,7 @@ exports.RepositoryWebhook = 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 create and manage webhooks for repositories within your
|
|
33
|
-
* GitHub organization or personal account.
|
|
32
|
+
* This resource allows you to create and manage webhooks for repositories within your GitHub organization or personal account.
|
|
34
33
|
*
|
|
35
34
|
* > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing webhook 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.
|
|
36
35
|
*
|
|
@@ -60,8 +59,7 @@ const utilities = __importStar(require("./utilities"));
|
|
|
60
59
|
*
|
|
61
60
|
* ## Import
|
|
62
61
|
*
|
|
63
|
-
* Repository webhooks can be imported using the `name` of the repository, combined with the `id` of the webhook, separated by a `/` character.
|
|
64
|
-
* The `id` of the webhook can be found in the URL of the webhook. For example: `"https://github.com/foo-org/foo-repo/settings/hooks/14711452"`.
|
|
62
|
+
* Repository webhooks can be imported using the `name` of the repository, combined with the `id` of the webhook, separated by a `/` character. The `id` of the webhook can be found in the URL of the webhook. For example: `"https://github.com/foo-org/foo-repo/settings/hooks/14711452"`.
|
|
65
63
|
*
|
|
66
64
|
* Importing uses the name of the repository, as well as the ID of the webhook, e.g.
|
|
67
65
|
*
|
package/repositoryWebhook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryWebhook.js","sourceRoot":"","sources":["../repositoryWebhook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryWebhook.js","sourceRoot":"","sources":["../repositoryWebhook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE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