@pulumi/github 6.2.0 → 6.2.2-alpha.1718750571
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionsEnvironmentSecret.d.ts +0 -43
- package/actionsEnvironmentSecret.js +0 -43
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsEnvironmentVariable.d.ts +4 -8
- package/actionsEnvironmentVariable.js +4 -8
- package/actionsEnvironmentVariable.js.map +1 -1
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +1 -3
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +1 -3
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +1 -3
- package/actionsOrganizationPermissions.js +1 -3
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +0 -41
- package/actionsOrganizationSecret.js +0 -41
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +1 -3
- package/actionsOrganizationSecretRepositories.js +1 -3
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsOrganizationVariable.d.ts +3 -7
- package/actionsOrganizationVariable.js +3 -7
- package/actionsOrganizationVariable.js.map +1 -1
- package/actionsRepositoryAccessLevel.d.ts +4 -3
- package/actionsRepositoryAccessLevel.js +4 -3
- package/actionsRepositoryAccessLevel.js.map +1 -1
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +2 -4
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +2 -4
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsRepositoryPermissions.d.ts +1 -3
- package/actionsRepositoryPermissions.js +1 -3
- package/actionsRepositoryPermissions.js.map +1 -1
- package/actionsRunnerGroup.d.ts +4 -5
- package/actionsRunnerGroup.js +4 -5
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +0 -21
- package/actionsSecret.js +0 -21
- package/actionsSecret.js.map +1 -1
- package/actionsVariable.d.ts +2 -4
- package/actionsVariable.js +2 -4
- package/actionsVariable.js.map +1 -1
- package/appInstallationRepository.d.ts +2 -4
- package/appInstallationRepository.js +2 -4
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +1 -3
- package/branch.js +1 -3
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +2 -4
- package/branchDefault.js +2 -4
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +8 -10
- package/branchProtection.js +8 -10
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.d.ts +1 -3
- package/branchProtectionV3.js +1 -3
- package/branchProtectionV3.js.map +1 -1
- package/codespacesOrganizationSecret.d.ts +0 -41
- package/codespacesOrganizationSecret.js +0 -41
- package/codespacesOrganizationSecret.js.map +1 -1
- package/codespacesOrganizationSecretRepositories.d.ts +1 -3
- package/codespacesOrganizationSecretRepositories.js +1 -3
- package/codespacesOrganizationSecretRepositories.js.map +1 -1
- package/codespacesSecret.d.ts +0 -21
- package/codespacesSecret.js +0 -21
- package/codespacesSecret.js.map +1 -1
- package/codespacesUserSecret.d.ts +0 -21
- package/codespacesUserSecret.js +0 -21
- package/codespacesUserSecret.js.map +1 -1
- package/dependabotOrganizationSecret.d.ts +0 -41
- package/dependabotOrganizationSecret.js +0 -41
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.d.ts +3 -5
- package/dependabotOrganizationSecretRepositories.js +3 -5
- package/dependabotOrganizationSecretRepositories.js.map +1 -1
- package/dependabotSecret.d.ts +0 -21
- package/dependabotSecret.js +0 -21
- package/dependabotSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +2 -5
- package/emuGroupMapping.js +2 -5
- package/emuGroupMapping.js.map +1 -1
- package/enterpriseActionsPermissions.d.ts +0 -2
- package/enterpriseActionsPermissions.js +0 -2
- package/enterpriseActionsPermissions.js.map +1 -1
- package/enterpriseActionsRunnerGroup.d.ts +3 -3
- package/enterpriseActionsRunnerGroup.js +3 -3
- package/enterpriseOrganization.d.ts +2 -3
- package/enterpriseOrganization.js +2 -3
- package/enterpriseOrganization.js.map +1 -1
- package/getActionsEnvironmentSecrets.d.ts +2 -6
- package/getActionsEnvironmentSecrets.js +2 -6
- package/getActionsEnvironmentSecrets.js.map +1 -1
- package/getActionsEnvironmentVariables.d.ts +2 -6
- package/getActionsEnvironmentVariables.js +2 -6
- package/getActionsEnvironmentVariables.js.map +1 -1
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +0 -4
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js +0 -4
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsOrganizationPublicKey.d.ts +0 -4
- package/getActionsOrganizationPublicKey.js +0 -4
- package/getActionsOrganizationPublicKey.js.map +1 -1
- package/getActionsOrganizationRegistrationToken.d.ts +0 -4
- package/getActionsOrganizationRegistrationToken.js +0 -4
- package/getActionsOrganizationRegistrationToken.js.map +1 -1
- package/getActionsOrganizationSecrets.d.ts +0 -4
- package/getActionsOrganizationSecrets.js +0 -4
- package/getActionsOrganizationSecrets.js.map +1 -1
- package/getActionsOrganizationVariables.d.ts +0 -4
- package/getActionsOrganizationVariables.js +0 -4
- package/getActionsOrganizationVariables.js.map +1 -1
- package/getActionsPublicKey.d.ts +0 -4
- package/getActionsPublicKey.js +0 -4
- package/getActionsPublicKey.js.map +1 -1
- package/getActionsRegistrationToken.d.ts +0 -4
- package/getActionsRegistrationToken.js +0 -4
- package/getActionsRegistrationToken.js.map +1 -1
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +0 -4
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js +0 -4
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsSecrets.d.ts +0 -4
- package/getActionsSecrets.js +0 -4
- package/getActionsSecrets.js.map +1 -1
- package/getActionsVariables.d.ts +0 -4
- package/getActionsVariables.js +0 -4
- package/getActionsVariables.js.map +1 -1
- package/getAppToken.d.ts +12 -12
- package/getAppToken.js +12 -12
- package/getBranch.d.ts +2 -6
- package/getBranch.js +2 -6
- package/getBranch.js.map +1 -1
- package/getBranchProtectionRules.d.ts +0 -4
- package/getBranchProtectionRules.js +0 -4
- package/getBranchProtectionRules.js.map +1 -1
- package/getCodespacesOrganizationPublicKey.d.ts +0 -4
- package/getCodespacesOrganizationPublicKey.js +0 -4
- package/getCodespacesOrganizationPublicKey.js.map +1 -1
- package/getCodespacesOrganizationSecrets.d.ts +0 -4
- package/getCodespacesOrganizationSecrets.js +0 -4
- package/getCodespacesOrganizationSecrets.js.map +1 -1
- package/getCodespacesPublicKey.d.ts +0 -4
- package/getCodespacesPublicKey.js +0 -4
- package/getCodespacesPublicKey.js.map +1 -1
- package/getCodespacesSecrets.d.ts +0 -4
- package/getCodespacesSecrets.js +0 -4
- package/getCodespacesSecrets.js.map +1 -1
- package/getCodespacesUserPublicKey.d.ts +0 -4
- package/getCodespacesUserPublicKey.js +0 -4
- package/getCodespacesUserPublicKey.js.map +1 -1
- package/getCodespacesUserSecrets.d.ts +0 -4
- package/getCodespacesUserSecrets.js +0 -4
- package/getCodespacesUserSecrets.js.map +1 -1
- package/getCollaborators.d.ts +0 -4
- package/getCollaborators.js +0 -4
- package/getCollaborators.js.map +1 -1
- package/getDependabotOrganizationPublicKey.d.ts +0 -4
- package/getDependabotOrganizationPublicKey.js +0 -4
- package/getDependabotOrganizationPublicKey.js.map +1 -1
- package/getDependabotOrganizationSecrets.d.ts +0 -4
- package/getDependabotOrganizationSecrets.js +0 -4
- package/getDependabotOrganizationSecrets.js.map +1 -1
- package/getDependabotPublicKey.d.ts +0 -4
- package/getDependabotPublicKey.js +0 -4
- package/getDependabotPublicKey.js.map +1 -1
- package/getDependabotSecrets.d.ts +0 -4
- package/getDependabotSecrets.js +0 -4
- package/getDependabotSecrets.js.map +1 -1
- package/getEnterprise.d.ts +0 -4
- package/getEnterprise.js +0 -4
- package/getEnterprise.js.map +1 -1
- package/getExternalGroups.d.ts +0 -4
- package/getExternalGroups.js +0 -4
- package/getExternalGroups.js.map +1 -1
- package/getGithubApp.d.ts +0 -4
- package/getGithubApp.js +0 -4
- package/getGithubApp.js.map +1 -1
- package/getIpRanges.d.ts +0 -4
- package/getIpRanges.js +0 -4
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +0 -4
- package/getMembership.js +0 -4
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +0 -4
- package/getOrganization.js +0 -4
- package/getOrganization.js.map +1 -1
- package/getOrganizationCustomRole.d.ts +0 -4
- package/getOrganizationCustomRole.js +0 -4
- package/getOrganizationCustomRole.js.map +1 -1
- package/getOrganizationExternalIdentities.d.ts +0 -4
- package/getOrganizationExternalIdentities.js +0 -4
- package/getOrganizationExternalIdentities.js.map +1 -1
- package/getOrganizationIpAllowList.d.ts +0 -4
- package/getOrganizationIpAllowList.js +0 -4
- package/getOrganizationIpAllowList.js.map +1 -1
- package/getOrganizationTeamSyncGroups.d.ts +0 -4
- package/getOrganizationTeamSyncGroups.js +0 -4
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +0 -8
- package/getOrganizationTeams.js +0 -8
- package/getOrganizationTeams.js.map +1 -1
- package/getOrganizationWebhooks.d.ts +0 -4
- package/getOrganizationWebhooks.js +0 -4
- package/getOrganizationWebhooks.js.map +1 -1
- package/getRef.d.ts +2 -6
- package/getRef.js +2 -6
- package/getRef.js.map +1 -1
- package/getRelease.d.ts +2 -6
- package/getRelease.js +2 -6
- package/getRelease.js.map +1 -1
- package/getRepositories.d.ts +2 -6
- package/getRepositories.js +2 -6
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +0 -4
- package/getRepository.js +0 -4
- package/getRepository.js.map +1 -1
- package/getRepositoryAutolinkReferences.d.ts +0 -4
- package/getRepositoryAutolinkReferences.js +0 -4
- package/getRepositoryAutolinkReferences.js.map +1 -1
- package/getRepositoryBranches.d.ts +0 -4
- package/getRepositoryBranches.js +0 -4
- package/getRepositoryBranches.js.map +1 -1
- package/getRepositoryDeployKeys.d.ts +0 -4
- package/getRepositoryDeployKeys.js +0 -4
- package/getRepositoryDeployKeys.js.map +1 -1
- package/getRepositoryDeploymentBranchPolicies.d.ts +2 -6
- package/getRepositoryDeploymentBranchPolicies.js +2 -6
- package/getRepositoryDeploymentBranchPolicies.js.map +1 -1
- package/getRepositoryEnvironments.d.ts +0 -4
- package/getRepositoryEnvironments.js +0 -4
- package/getRepositoryEnvironments.js.map +1 -1
- package/getRepositoryFile.d.ts +2 -6
- package/getRepositoryFile.js +2 -6
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +2 -6
- package/getRepositoryMilestone.js +2 -6
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +0 -4
- package/getRepositoryPullRequest.js +0 -4
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +2 -6
- package/getRepositoryPullRequests.js +2 -6
- package/getRepositoryPullRequests.js.map +1 -1
- package/getRepositoryTeams.d.ts +0 -4
- package/getRepositoryTeams.js +0 -4
- package/getRepositoryTeams.js.map +1 -1
- package/getRepositoryWebhooks.d.ts +0 -4
- package/getRepositoryWebhooks.js +0 -4
- package/getRepositoryWebhooks.js.map +1 -1
- package/getRestApi.d.ts +0 -4
- package/getRestApi.js +0 -4
- package/getRestApi.js.map +1 -1
- package/getSshKeys.d.ts +0 -4
- package/getSshKeys.js +0 -4
- package/getSshKeys.js.map +1 -1
- package/getTeam.d.ts +0 -4
- package/getTeam.js +0 -4
- package/getTeam.js.map +1 -1
- package/getTree.d.ts +16 -20
- package/getTree.js +16 -20
- package/getTree.js.map +1 -1
- package/getUser.d.ts +4 -4
- package/getUser.js +4 -4
- package/getUserExternalIdentity.d.ts +0 -4
- package/getUserExternalIdentity.js +0 -4
- package/getUserExternalIdentity.js.map +1 -1
- package/getUsers.d.ts +2 -4
- package/getUsers.js +2 -4
- package/getUsers.js.map +1 -1
- package/issue.d.ts +15 -13
- package/issue.js +15 -13
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +3 -4
- package/issueLabel.js +3 -4
- package/issueLabel.js.map +1 -1
- package/issueLabels.d.ts +4 -6
- package/issueLabels.js +4 -6
- package/issueLabels.js.map +1 -1
- package/membership.d.ts +2 -4
- package/membership.js +2 -4
- package/membership.js.map +1 -1
- package/organizationBlock.d.ts +0 -2
- package/organizationBlock.js +0 -2
- package/organizationBlock.js.map +1 -1
- package/organizationCustomRole.d.ts +2 -3
- package/organizationCustomRole.js +2 -3
- package/organizationCustomRole.js.map +1 -1
- package/organizationProject.d.ts +4 -3
- package/organizationProject.js +4 -3
- package/organizationProject.js.map +1 -1
- package/organizationRuleset.d.ts +37 -0
- package/organizationRuleset.js +37 -0
- package/organizationRuleset.js.map +1 -1
- package/organizationSecurityManager.d.ts +5 -4
- package/organizationSecurityManager.js +5 -4
- package/organizationSecurityManager.js.map +1 -1
- package/organizationSettings.d.ts +15 -16
- package/organizationSettings.js +15 -16
- package/organizationSettings.js.map +1 -1
- package/package.json +3 -2
- package/projectCard.d.ts +20 -13
- package/projectCard.js +20 -13
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +8 -4
- package/projectColumn.js +8 -4
- package/projectColumn.js.map +1 -1
- package/provider.d.ts +5 -5
- package/release.d.ts +10 -10
- package/release.js +10 -10
- package/repository.d.ts +10 -10
- package/repository.js +10 -10
- package/repositoryAutolinkReference.d.ts +1 -2
- package/repositoryAutolinkReference.js +1 -2
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +2 -4
- package/repositoryCollaborator.js +2 -4
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryCollaborators.d.ts +6 -5
- package/repositoryCollaborators.js +6 -5
- package/repositoryCollaborators.js.map +1 -1
- package/repositoryDependabotSecurityUpdates.d.ts +2 -3
- package/repositoryDependabotSecurityUpdates.js +2 -3
- package/repositoryDependabotSecurityUpdates.js.map +1 -1
- package/repositoryDeployKey.d.ts +3 -5
- package/repositoryDeployKey.js +3 -5
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryDeploymentBranchPolicy.d.ts +1 -2
- package/repositoryDeploymentBranchPolicy.js +1 -2
- package/repositoryDeploymentBranchPolicy.js.map +1 -1
- package/repositoryEnvironment.d.ts +6 -5
- package/repositoryEnvironment.js +6 -5
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryEnvironmentDeploymentPolicy.d.ts +5 -7
- package/repositoryEnvironmentDeploymentPolicy.js +5 -7
- package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
- package/repositoryFile.d.ts +6 -5
- package/repositoryFile.js +6 -5
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.d.ts +0 -2
- package/repositoryMilestone.js +0 -2
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.d.ts +3 -3
- package/repositoryProject.js +3 -3
- package/repositoryPullRequest.d.ts +2 -4
- package/repositoryPullRequest.js +2 -4
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryRuleset.d.ts +7 -5
- package/repositoryRuleset.js +7 -5
- package/repositoryRuleset.js.map +1 -1
- package/repositoryTagProtection.d.ts +1 -3
- package/repositoryTagProtection.js +1 -3
- package/repositoryTagProtection.js.map +1 -1
- package/repositoryTopics.d.ts +3 -5
- package/repositoryTopics.js +3 -5
- package/repositoryTopics.js.map +1 -1
- package/repositoryWebhook.d.ts +3 -4
- package/repositoryWebhook.js +1 -2
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +2 -3
- package/team.js +2 -3
- package/team.js.map +1 -1
- package/teamMembers.d.ts +7 -6
- package/teamMembers.js +7 -6
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +6 -5
- package/teamMembership.js +6 -5
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +6 -5
- package/teamRepository.js +6 -5
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +5 -4
- package/teamSettings.js +5 -4
- package/teamSettings.js.map +1 -1
- package/teamSyncGroupMapping.d.ts +17 -0
- package/teamSyncGroupMapping.js +17 -0
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/input.d.ts +70 -65
- package/types/output.d.ts +70 -65
- package/userGpgKey.d.ts +1 -4
- package/userGpgKey.js +1 -4
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.d.ts +4 -9
- package/userInvitationAccepter.js +4 -9
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.d.ts +4 -4
- package/userSshKey.js +4 -4
- package/package.json.bak +0 -27
package/projectColumn.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectColumn.js","sourceRoot":"","sources":["../projectColumn.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectColumn.js","sourceRoot":"","sources":["../projectColumn.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CA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,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAvEL,sCAwEC;AA1DG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
package/provider.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
27
27
|
*/
|
|
28
28
|
readonly owner: pulumi.Output<string | undefined>;
|
|
29
29
|
/**
|
|
30
|
-
* The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `
|
|
30
|
+
* The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `appAuth` are not set.
|
|
31
31
|
*/
|
|
32
32
|
readonly token: pulumi.Output<string | undefined>;
|
|
33
33
|
/**
|
|
@@ -45,7 +45,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
45
45
|
export interface ProviderArgs {
|
|
46
46
|
/**
|
|
47
47
|
* The GitHub App credentials used to connect to GitHub. Conflicts with `token`. Anonymous mode is enabled if both `token`
|
|
48
|
-
* and `
|
|
48
|
+
* and `appAuth` are not set.
|
|
49
49
|
*/
|
|
50
50
|
appAuth?: pulumi.Input<inputs.ProviderAppAuth>;
|
|
51
51
|
/**
|
|
@@ -82,16 +82,16 @@ export interface ProviderArgs {
|
|
|
82
82
|
readDelayMs?: pulumi.Input<number>;
|
|
83
83
|
/**
|
|
84
84
|
* Amount of time in milliseconds to sleep in between requests to GitHub API after an error response. Defaults to 1000ms or
|
|
85
|
-
* 1s if not set, the
|
|
85
|
+
* 1s if not set, the maxRetries must be set to greater than zero.
|
|
86
86
|
*/
|
|
87
87
|
retryDelayMs?: pulumi.Input<number>;
|
|
88
88
|
/**
|
|
89
|
-
* Allow the provider to retry after receiving an error status code, the
|
|
89
|
+
* Allow the provider to retry after receiving an error status code, the maxRetries should be set for this to workDefaults
|
|
90
90
|
* to [500, 502, 503, 504]
|
|
91
91
|
*/
|
|
92
92
|
retryableErrors?: pulumi.Input<pulumi.Input<number>[]>;
|
|
93
93
|
/**
|
|
94
|
-
* The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `
|
|
94
|
+
* The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `appAuth` are not set.
|
|
95
95
|
*/
|
|
96
96
|
token?: pulumi.Input<string>;
|
|
97
97
|
/**
|
package/release.d.ts
CHANGED
|
@@ -5,12 +5,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
7
|
*
|
|
8
|
-
* <!--Start PulumiCodeChooser -->
|
|
9
8
|
* ```typescript
|
|
10
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
10
|
* import * as github from "@pulumi/github";
|
|
12
11
|
*
|
|
13
12
|
* const repo = new github.Repository("repo", {
|
|
13
|
+
* name: "repo",
|
|
14
14
|
* description: "GitHub repo managed by Terraform",
|
|
15
15
|
* "private": false,
|
|
16
16
|
* });
|
|
@@ -19,30 +19,30 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
* tagName: "v1.0.0",
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
|
-
* <!--End PulumiCodeChooser -->
|
|
23
22
|
*
|
|
24
23
|
* ### On Non-Default Branch
|
|
25
24
|
*
|
|
26
|
-
* <!--Start PulumiCodeChooser -->
|
|
27
25
|
* ```typescript
|
|
28
26
|
* import * as pulumi from "@pulumi/pulumi";
|
|
29
27
|
* import * as github from "@pulumi/github";
|
|
30
28
|
*
|
|
31
|
-
* const
|
|
32
|
-
*
|
|
33
|
-
*
|
|
29
|
+
* const example = new github.Repository("example", {
|
|
30
|
+
* name: "repo",
|
|
31
|
+
* autoInit: true,
|
|
32
|
+
* });
|
|
33
|
+
* const exampleBranch = new github.Branch("example", {
|
|
34
|
+
* repository: example.name,
|
|
34
35
|
* branch: "branch_name",
|
|
35
|
-
* sourceBranch:
|
|
36
|
+
* sourceBranch: example.defaultBranch,
|
|
36
37
|
* });
|
|
37
|
-
* const exampleRelease = new github.Release("
|
|
38
|
-
* repository:
|
|
38
|
+
* const exampleRelease = new github.Release("example", {
|
|
39
|
+
* repository: example.name,
|
|
39
40
|
* tagName: "v1.0.0",
|
|
40
41
|
* targetCommitish: exampleBranch.branch,
|
|
41
42
|
* draft: false,
|
|
42
43
|
* prerelease: false,
|
|
43
44
|
* });
|
|
44
45
|
* ```
|
|
45
|
-
* <!--End PulumiCodeChooser -->
|
|
46
46
|
*
|
|
47
47
|
* ## Import
|
|
48
48
|
*
|
package/release.js
CHANGED
|
@@ -11,12 +11,12 @@ const utilities = require("./utilities");
|
|
|
11
11
|
*
|
|
12
12
|
* ## Example Usage
|
|
13
13
|
*
|
|
14
|
-
* <!--Start PulumiCodeChooser -->
|
|
15
14
|
* ```typescript
|
|
16
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
16
|
* import * as github from "@pulumi/github";
|
|
18
17
|
*
|
|
19
18
|
* const repo = new github.Repository("repo", {
|
|
19
|
+
* name: "repo",
|
|
20
20
|
* description: "GitHub repo managed by Terraform",
|
|
21
21
|
* "private": false,
|
|
22
22
|
* });
|
|
@@ -25,30 +25,30 @@ const utilities = require("./utilities");
|
|
|
25
25
|
* tagName: "v1.0.0",
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
|
-
* <!--End PulumiCodeChooser -->
|
|
29
28
|
*
|
|
30
29
|
* ### On Non-Default Branch
|
|
31
30
|
*
|
|
32
|
-
* <!--Start PulumiCodeChooser -->
|
|
33
31
|
* ```typescript
|
|
34
32
|
* import * as pulumi from "@pulumi/pulumi";
|
|
35
33
|
* import * as github from "@pulumi/github";
|
|
36
34
|
*
|
|
37
|
-
* const
|
|
38
|
-
*
|
|
39
|
-
*
|
|
35
|
+
* const example = new github.Repository("example", {
|
|
36
|
+
* name: "repo",
|
|
37
|
+
* autoInit: true,
|
|
38
|
+
* });
|
|
39
|
+
* const exampleBranch = new github.Branch("example", {
|
|
40
|
+
* repository: example.name,
|
|
40
41
|
* branch: "branch_name",
|
|
41
|
-
* sourceBranch:
|
|
42
|
+
* sourceBranch: example.defaultBranch,
|
|
42
43
|
* });
|
|
43
|
-
* const exampleRelease = new github.Release("
|
|
44
|
-
* repository:
|
|
44
|
+
* const exampleRelease = new github.Release("example", {
|
|
45
|
+
* repository: example.name,
|
|
45
46
|
* tagName: "v1.0.0",
|
|
46
47
|
* targetCommitish: exampleBranch.branch,
|
|
47
48
|
* draft: false,
|
|
48
49
|
* prerelease: false,
|
|
49
50
|
* });
|
|
50
51
|
* ```
|
|
51
|
-
* <!--End PulumiCodeChooser -->
|
|
52
52
|
*
|
|
53
53
|
* ## Import
|
|
54
54
|
*
|
package/repository.d.ts
CHANGED
|
@@ -5,48 +5,48 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* This resource allows you to create and manage repositories within your
|
|
6
6
|
* GitHub organization or personal account.
|
|
7
7
|
*
|
|
8
|
-
* > Note: When used with GitHub App authentication, even GET requests must have
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* > Note: When used with GitHub App authentication, even GET requests must have the `contents:write` permission. Without it, the following attributes will be ignored, leading to unexpected behavior and confusing diffs:
|
|
9
|
+
*
|
|
10
|
+
* - `allowMergeCommit` (including the related `mergeCommitTitle` and `mergeCommitMessage`)
|
|
11
|
+
* - `allowSquashMerge` (including the related `squashMergeCommitTitle` and `squashMergeCommitMessage`)
|
|
12
|
+
* - `allowRebaseMerge`
|
|
11
13
|
*
|
|
12
14
|
* ## Example Usage
|
|
13
15
|
*
|
|
14
|
-
* <!--Start PulumiCodeChooser -->
|
|
15
16
|
* ```typescript
|
|
16
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
18
|
* import * as github from "@pulumi/github";
|
|
18
19
|
*
|
|
19
20
|
* const example = new github.Repository("example", {
|
|
21
|
+
* name: "example",
|
|
20
22
|
* description: "My awesome codebase",
|
|
23
|
+
* visibility: "public",
|
|
21
24
|
* template: {
|
|
22
|
-
* includeAllBranches: true,
|
|
23
25
|
* owner: "github",
|
|
24
26
|
* repository: "terraform-template-module",
|
|
27
|
+
* includeAllBranches: true,
|
|
25
28
|
* },
|
|
26
|
-
* visibility: "public",
|
|
27
29
|
* });
|
|
28
30
|
* ```
|
|
29
|
-
* <!--End PulumiCodeChooser -->
|
|
30
31
|
*
|
|
31
32
|
* ### With GitHub Pages Enabled
|
|
32
33
|
*
|
|
33
|
-
* <!--Start PulumiCodeChooser -->
|
|
34
34
|
* ```typescript
|
|
35
35
|
* import * as pulumi from "@pulumi/pulumi";
|
|
36
36
|
* import * as github from "@pulumi/github";
|
|
37
37
|
*
|
|
38
38
|
* const example = new github.Repository("example", {
|
|
39
|
+
* name: "example",
|
|
39
40
|
* description: "My awesome web page",
|
|
41
|
+
* "private": false,
|
|
40
42
|
* pages: {
|
|
41
43
|
* source: {
|
|
42
44
|
* branch: "master",
|
|
43
45
|
* path: "/docs",
|
|
44
46
|
* },
|
|
45
47
|
* },
|
|
46
|
-
* "private": false,
|
|
47
48
|
* });
|
|
48
49
|
* ```
|
|
49
|
-
* <!--End PulumiCodeChooser -->
|
|
50
50
|
*
|
|
51
51
|
* ## Import
|
|
52
52
|
*
|
package/repository.js
CHANGED
|
@@ -9,48 +9,48 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* This resource allows you to create and manage repositories within your
|
|
10
10
|
* GitHub organization or personal account.
|
|
11
11
|
*
|
|
12
|
-
* > Note: When used with GitHub App authentication, even GET requests must have
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* > Note: When used with GitHub App authentication, even GET requests must have the `contents:write` permission. Without it, the following attributes will be ignored, leading to unexpected behavior and confusing diffs:
|
|
13
|
+
*
|
|
14
|
+
* - `allowMergeCommit` (including the related `mergeCommitTitle` and `mergeCommitMessage`)
|
|
15
|
+
* - `allowSquashMerge` (including the related `squashMergeCommitTitle` and `squashMergeCommitMessage`)
|
|
16
|
+
* - `allowRebaseMerge`
|
|
15
17
|
*
|
|
16
18
|
* ## Example Usage
|
|
17
19
|
*
|
|
18
|
-
* <!--Start PulumiCodeChooser -->
|
|
19
20
|
* ```typescript
|
|
20
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
22
|
* import * as github from "@pulumi/github";
|
|
22
23
|
*
|
|
23
24
|
* const example = new github.Repository("example", {
|
|
25
|
+
* name: "example",
|
|
24
26
|
* description: "My awesome codebase",
|
|
27
|
+
* visibility: "public",
|
|
25
28
|
* template: {
|
|
26
|
-
* includeAllBranches: true,
|
|
27
29
|
* owner: "github",
|
|
28
30
|
* repository: "terraform-template-module",
|
|
31
|
+
* includeAllBranches: true,
|
|
29
32
|
* },
|
|
30
|
-
* visibility: "public",
|
|
31
33
|
* });
|
|
32
34
|
* ```
|
|
33
|
-
* <!--End PulumiCodeChooser -->
|
|
34
35
|
*
|
|
35
36
|
* ### With GitHub Pages Enabled
|
|
36
37
|
*
|
|
37
|
-
* <!--Start PulumiCodeChooser -->
|
|
38
38
|
* ```typescript
|
|
39
39
|
* import * as pulumi from "@pulumi/pulumi";
|
|
40
40
|
* import * as github from "@pulumi/github";
|
|
41
41
|
*
|
|
42
42
|
* const example = new github.Repository("example", {
|
|
43
|
+
* name: "example",
|
|
43
44
|
* description: "My awesome web page",
|
|
45
|
+
* "private": false,
|
|
44
46
|
* pages: {
|
|
45
47
|
* source: {
|
|
46
48
|
* branch: "master",
|
|
47
49
|
* path: "/docs",
|
|
48
50
|
* },
|
|
49
51
|
* },
|
|
50
|
-
* "private": false,
|
|
51
52
|
* });
|
|
52
53
|
* ```
|
|
53
|
-
* <!--End PulumiCodeChooser -->
|
|
54
54
|
*
|
|
55
55
|
* ## Import
|
|
56
56
|
*
|
|
@@ -4,12 +4,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
-
* <!--Start PulumiCodeChooser -->
|
|
8
7
|
* ```typescript
|
|
9
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
9
|
* import * as github from "@pulumi/github";
|
|
11
10
|
*
|
|
12
11
|
* const repo = new github.Repository("repo", {
|
|
12
|
+
* name: "my-repo",
|
|
13
13
|
* description: "GitHub repo managed by Terraform",
|
|
14
14
|
* "private": false,
|
|
15
15
|
* });
|
|
@@ -19,7 +19,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
* targetUrlTemplate: "https://example.com/TICKET?query=<num>",
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
|
-
* <!--End PulumiCodeChooser -->
|
|
23
22
|
*
|
|
24
23
|
* ## Import
|
|
25
24
|
*
|
|
@@ -10,12 +10,12 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
-
* <!--Start PulumiCodeChooser -->
|
|
14
13
|
* ```typescript
|
|
15
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
15
|
* import * as github from "@pulumi/github";
|
|
17
16
|
*
|
|
18
17
|
* const repo = new github.Repository("repo", {
|
|
18
|
+
* name: "my-repo",
|
|
19
19
|
* description: "GitHub repo managed by Terraform",
|
|
20
20
|
* "private": false,
|
|
21
21
|
* });
|
|
@@ -25,7 +25,6 @@ const utilities = require("./utilities");
|
|
|
25
25
|
* targetUrlTemplate: "https://example.com/TICKET?query=<num>",
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
|
-
* <!--End PulumiCodeChooser -->
|
|
29
28
|
*
|
|
30
29
|
* ## Import
|
|
31
30
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryAutolinkReference.js","sourceRoot":"","sources":["../repositoryAutolinkReference.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repository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AG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AAtFL,kEAuFC;AAzEG,gBAAgB;AACO,wCAAY,GAAG,sEAAsE,CAAC"}
|
|
@@ -27,19 +27,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
27
27
|
*
|
|
28
28
|
* ## Example Usage
|
|
29
29
|
*
|
|
30
|
-
* <!--Start PulumiCodeChooser -->
|
|
31
30
|
* ```typescript
|
|
32
31
|
* import * as pulumi from "@pulumi/pulumi";
|
|
33
32
|
* import * as github from "@pulumi/github";
|
|
34
33
|
*
|
|
35
34
|
* // Add a collaborator to a repository
|
|
36
|
-
* const aRepoCollaborator = new github.RepositoryCollaborator("
|
|
37
|
-
* permission: "admin",
|
|
35
|
+
* const aRepoCollaborator = new github.RepositoryCollaborator("a_repo_collaborator", {
|
|
38
36
|
* repository: "our-cool-repo",
|
|
39
37
|
* username: "SomeUser",
|
|
38
|
+
* permission: "admin",
|
|
40
39
|
* });
|
|
41
40
|
* ```
|
|
42
|
-
* <!--End PulumiCodeChooser -->
|
|
43
41
|
*
|
|
44
42
|
* ## Import
|
|
45
43
|
*
|
|
@@ -33,19 +33,17 @@ const utilities = require("./utilities");
|
|
|
33
33
|
*
|
|
34
34
|
* ## Example Usage
|
|
35
35
|
*
|
|
36
|
-
* <!--Start PulumiCodeChooser -->
|
|
37
36
|
* ```typescript
|
|
38
37
|
* import * as pulumi from "@pulumi/pulumi";
|
|
39
38
|
* import * as github from "@pulumi/github";
|
|
40
39
|
*
|
|
41
40
|
* // Add a collaborator to a repository
|
|
42
|
-
* const aRepoCollaborator = new github.RepositoryCollaborator("
|
|
43
|
-
* permission: "admin",
|
|
41
|
+
* const aRepoCollaborator = new github.RepositoryCollaborator("a_repo_collaborator", {
|
|
44
42
|
* repository: "our-cool-repo",
|
|
45
43
|
* username: "SomeUser",
|
|
44
|
+
* permission: "admin",
|
|
46
45
|
* });
|
|
47
46
|
* ```
|
|
48
|
-
* <!--End PulumiCodeChooser -->
|
|
49
47
|
*
|
|
50
48
|
* ## Import
|
|
51
49
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryCollaborator.js","sourceRoot":"","sources":["../repositoryCollaborator.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryCollaborator.js","sourceRoot":"","sources":["../repositoryCollaborator.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,W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C,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,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;;AAvFL,wDAwFC;AA1EG,gBAAgB;AACO,mCAAY,GAAG,4DAA4D,CAAC"}
|
|
@@ -29,15 +29,17 @@ import * as outputs from "./types/output";
|
|
|
29
29
|
*
|
|
30
30
|
* ## Example Usage
|
|
31
31
|
*
|
|
32
|
-
* <!--Start PulumiCodeChooser -->
|
|
33
32
|
* ```typescript
|
|
34
33
|
* import * as pulumi from "@pulumi/pulumi";
|
|
35
34
|
* import * as github from "@pulumi/github";
|
|
36
35
|
*
|
|
37
36
|
* // Add collaborators to a repository
|
|
38
|
-
* const someTeam = new github.Team("
|
|
39
|
-
*
|
|
40
|
-
*
|
|
37
|
+
* const someTeam = new github.Team("some_team", {
|
|
38
|
+
* name: "SomeTeam",
|
|
39
|
+
* description: "Some cool team",
|
|
40
|
+
* });
|
|
41
|
+
* const someRepo = new github.Repository("some_repo", {name: "some-repo"});
|
|
42
|
+
* const someRepoCollaborators = new github.RepositoryCollaborators("some_repo_collaborators", {
|
|
41
43
|
* repository: someRepo.name,
|
|
42
44
|
* users: [{
|
|
43
45
|
* permission: "admin",
|
|
@@ -49,7 +51,6 @@ import * as outputs from "./types/output";
|
|
|
49
51
|
* }],
|
|
50
52
|
* });
|
|
51
53
|
* ```
|
|
52
|
-
* <!--End PulumiCodeChooser -->
|
|
53
54
|
*
|
|
54
55
|
* ## Import
|
|
55
56
|
*
|
|
@@ -33,15 +33,17 @@ const utilities = require("./utilities");
|
|
|
33
33
|
*
|
|
34
34
|
* ## Example Usage
|
|
35
35
|
*
|
|
36
|
-
* <!--Start PulumiCodeChooser -->
|
|
37
36
|
* ```typescript
|
|
38
37
|
* import * as pulumi from "@pulumi/pulumi";
|
|
39
38
|
* import * as github from "@pulumi/github";
|
|
40
39
|
*
|
|
41
40
|
* // Add collaborators to a repository
|
|
42
|
-
* const someTeam = new github.Team("
|
|
43
|
-
*
|
|
44
|
-
*
|
|
41
|
+
* const someTeam = new github.Team("some_team", {
|
|
42
|
+
* name: "SomeTeam",
|
|
43
|
+
* description: "Some cool team",
|
|
44
|
+
* });
|
|
45
|
+
* const someRepo = new github.Repository("some_repo", {name: "some-repo"});
|
|
46
|
+
* const someRepoCollaborators = new github.RepositoryCollaborators("some_repo_collaborators", {
|
|
45
47
|
* repository: someRepo.name,
|
|
46
48
|
* users: [{
|
|
47
49
|
* permission: "admin",
|
|
@@ -53,7 +55,6 @@ const utilities = require("./utilities");
|
|
|
53
55
|
* }],
|
|
54
56
|
* });
|
|
55
57
|
* ```
|
|
56
|
-
* <!--End PulumiCodeChooser -->
|
|
57
58
|
*
|
|
58
59
|
* ## Import
|
|
59
60
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryCollaborators.js","sourceRoot":"","sources":["../repositoryCollaborators.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryCollaborators.js","sourceRoot":"","sources":["../repositoryCollaborators.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAA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AAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA3EL,0DA4EC;AA9DG,gBAAgB;AACO,oCAAY,GAAG,8DAA8D,CAAC"}
|
|
@@ -6,22 +6,21 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
-
* <!--Start PulumiCodeChooser -->
|
|
10
9
|
* ```typescript
|
|
11
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
11
|
* import * as github from "@pulumi/github";
|
|
13
12
|
*
|
|
14
13
|
* const repo = new github.Repository("repo", {
|
|
14
|
+
* name: "my-repo",
|
|
15
15
|
* description: "GitHub repo managed by Terraform",
|
|
16
16
|
* "private": false,
|
|
17
17
|
* vulnerabilityAlerts: true,
|
|
18
18
|
* });
|
|
19
19
|
* const example = new github.RepositoryDependabotSecurityUpdates("example", {
|
|
20
|
-
* repository:
|
|
20
|
+
* repository: test.id,
|
|
21
21
|
* enabled: true,
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
|
-
* <!--End PulumiCodeChooser -->
|
|
25
24
|
*
|
|
26
25
|
* ## Import
|
|
27
26
|
*
|
|
@@ -12,22 +12,21 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
-
* <!--Start PulumiCodeChooser -->
|
|
16
15
|
* ```typescript
|
|
17
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
17
|
* import * as github from "@pulumi/github";
|
|
19
18
|
*
|
|
20
19
|
* const repo = new github.Repository("repo", {
|
|
20
|
+
* name: "my-repo",
|
|
21
21
|
* description: "GitHub repo managed by Terraform",
|
|
22
22
|
* "private": false,
|
|
23
23
|
* vulnerabilityAlerts: true,
|
|
24
24
|
* });
|
|
25
25
|
* const example = new github.RepositoryDependabotSecurityUpdates("example", {
|
|
26
|
-
* repository:
|
|
26
|
+
* repository: test.id,
|
|
27
27
|
* enabled: true,
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
|
-
* <!--End PulumiCodeChooser -->
|
|
31
30
|
*
|
|
32
31
|
* ## Import
|
|
33
32
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryDependabotSecurityUpdates.js","sourceRoot":"","sources":["../repositoryDependabotSecurityUpdates.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryDependabotSecurityUpdates.js","sourceRoot":"","sources":["../repositoryDependabotSecurityUpdates.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAA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,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mCAAmC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxF,CAAC;;AAjEL,kFAkEC;AApDG,gBAAgB;AACO,gDAAY,GAAG,sFAAsF,CAAC"}
|
package/repositoryDeployKey.d.ts
CHANGED
|
@@ -13,23 +13,21 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
*
|
|
14
14
|
* ## Example Usage
|
|
15
15
|
*
|
|
16
|
-
* <!--Start PulumiCodeChooser -->
|
|
17
16
|
* ```typescript
|
|
18
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
18
|
* import * as github from "@pulumi/github";
|
|
20
19
|
* import * as tls from "@pulumi/tls";
|
|
21
20
|
*
|
|
22
21
|
* // Generate an ssh key using provider "hashicorp/tls"
|
|
23
|
-
* const
|
|
22
|
+
* const exampleRepositoryDeployKey = new tls.PrivateKey("example_repository_deploy_key", {algorithm: "ED25519"});
|
|
24
23
|
* // Add the ssh key as a deploy key
|
|
25
|
-
* const exampleRepositoryDeployKeyRepositoryDeployKey = new github.RepositoryDeployKey("
|
|
24
|
+
* const exampleRepositoryDeployKeyRepositoryDeployKey = new github.RepositoryDeployKey("example_repository_deploy_key", {
|
|
26
25
|
* title: "Repository test key",
|
|
27
26
|
* repository: "test-repo",
|
|
28
|
-
* key:
|
|
27
|
+
* key: exampleRepositoryDeployKey.publicKeyOpenssh,
|
|
29
28
|
* readOnly: true,
|
|
30
29
|
* });
|
|
31
30
|
* ```
|
|
32
|
-
* <!--End PulumiCodeChooser -->
|
|
33
31
|
*
|
|
34
32
|
* ## Import
|
|
35
33
|
*
|
package/repositoryDeployKey.js
CHANGED
|
@@ -19,23 +19,21 @@ const utilities = require("./utilities");
|
|
|
19
19
|
*
|
|
20
20
|
* ## Example Usage
|
|
21
21
|
*
|
|
22
|
-
* <!--Start PulumiCodeChooser -->
|
|
23
22
|
* ```typescript
|
|
24
23
|
* import * as pulumi from "@pulumi/pulumi";
|
|
25
24
|
* import * as github from "@pulumi/github";
|
|
26
25
|
* import * as tls from "@pulumi/tls";
|
|
27
26
|
*
|
|
28
27
|
* // Generate an ssh key using provider "hashicorp/tls"
|
|
29
|
-
* const
|
|
28
|
+
* const exampleRepositoryDeployKey = new tls.PrivateKey("example_repository_deploy_key", {algorithm: "ED25519"});
|
|
30
29
|
* // Add the ssh key as a deploy key
|
|
31
|
-
* const exampleRepositoryDeployKeyRepositoryDeployKey = new github.RepositoryDeployKey("
|
|
30
|
+
* const exampleRepositoryDeployKeyRepositoryDeployKey = new github.RepositoryDeployKey("example_repository_deploy_key", {
|
|
32
31
|
* title: "Repository test key",
|
|
33
32
|
* repository: "test-repo",
|
|
34
|
-
* key:
|
|
33
|
+
* key: exampleRepositoryDeployKey.publicKeyOpenssh,
|
|
35
34
|
* readOnly: true,
|
|
36
35
|
* });
|
|
37
36
|
* ```
|
|
38
|
-
* <!--End PulumiCodeChooser -->
|
|
39
37
|
*
|
|
40
38
|
* ## Import
|
|
41
39
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryDeployKey.js","sourceRoot":"","sources":["../repositoryDeployKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryDeployKey.js","sourceRoot":"","sources":["../repositoryDeployKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;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C;IACxE,CAAC;;AArFL,kDAsFC;AAxEG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -4,7 +4,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* ## Example Usage
|
|
6
6
|
*
|
|
7
|
-
* <!--Start PulumiCodeChooser -->
|
|
8
7
|
* ```typescript
|
|
9
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
10
9
|
* import * as github from "@pulumi/github";
|
|
@@ -20,11 +19,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
19
|
* const foo = new github.RepositoryDeploymentBranchPolicy("foo", {
|
|
21
20
|
* repository: "my_repo",
|
|
22
21
|
* environmentName: "my_env",
|
|
22
|
+
* name: "foo",
|
|
23
23
|
* }, {
|
|
24
24
|
* dependsOn: [env],
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
|
-
* <!--End PulumiCodeChooser -->
|
|
28
27
|
*
|
|
29
28
|
* ## Import
|
|
30
29
|
*
|
|
@@ -10,7 +10,6 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
-
* <!--Start PulumiCodeChooser -->
|
|
14
13
|
* ```typescript
|
|
15
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
15
|
* import * as github from "@pulumi/github";
|
|
@@ -26,11 +25,11 @@ const utilities = require("./utilities");
|
|
|
26
25
|
* const foo = new github.RepositoryDeploymentBranchPolicy("foo", {
|
|
27
26
|
* repository: "my_repo",
|
|
28
27
|
* environmentName: "my_env",
|
|
28
|
+
* name: "foo",
|
|
29
29
|
* }, {
|
|
30
30
|
* dependsOn: [env],
|
|
31
31
|
* });
|
|
32
32
|
* ```
|
|
33
|
-
* <!--End PulumiCodeChooser -->
|
|
34
33
|
*
|
|
35
34
|
* ## Import
|
|
36
35
|
*
|