@pulumi/github 6.3.0-alpha.1713332421 → 6.3.0-alpha.1713897837
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 +1 -1
- 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/release.d.ts +10 -10
- package/release.js +10 -10
- package/repository.d.ts +5 -7
- package/repository.js +5 -7
- package/repository.js.map +1 -1
- 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 +65 -65
- package/types/output.d.ts +65 -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/types/output.d.ts
CHANGED
|
@@ -1011,21 +1011,21 @@ export interface OrganizationRulesetConditions {
|
|
|
1011
1011
|
}
|
|
1012
1012
|
export interface OrganizationRulesetConditionsRefName {
|
|
1013
1013
|
/**
|
|
1014
|
-
*
|
|
1014
|
+
* Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
|
|
1015
1015
|
*/
|
|
1016
1016
|
excludes: string[];
|
|
1017
1017
|
/**
|
|
1018
|
-
*
|
|
1018
|
+
* Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.
|
|
1019
1019
|
*/
|
|
1020
1020
|
includes: string[];
|
|
1021
1021
|
}
|
|
1022
1022
|
export interface OrganizationRulesetConditionsRepositoryName {
|
|
1023
1023
|
/**
|
|
1024
|
-
*
|
|
1024
|
+
* Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
|
|
1025
1025
|
*/
|
|
1026
1026
|
excludes: string[];
|
|
1027
1027
|
/**
|
|
1028
|
-
*
|
|
1028
|
+
* Array of repository names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~ALL` to include all repositories.
|
|
1029
1029
|
*/
|
|
1030
1030
|
includes: string[];
|
|
1031
1031
|
/**
|
|
@@ -1097,15 +1097,15 @@ export interface OrganizationRulesetRulesBranchNamePattern {
|
|
|
1097
1097
|
*/
|
|
1098
1098
|
name?: string;
|
|
1099
1099
|
/**
|
|
1100
|
-
*
|
|
1100
|
+
* If true, the rule will fail if the pattern matches.
|
|
1101
1101
|
*/
|
|
1102
1102
|
negate?: boolean;
|
|
1103
1103
|
/**
|
|
1104
|
-
*
|
|
1104
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1105
1105
|
*/
|
|
1106
1106
|
operator: string;
|
|
1107
1107
|
/**
|
|
1108
|
-
*
|
|
1108
|
+
* The pattern to match with.
|
|
1109
1109
|
*/
|
|
1110
1110
|
pattern: string;
|
|
1111
1111
|
}
|
|
@@ -1115,15 +1115,15 @@ export interface OrganizationRulesetRulesCommitAuthorEmailPattern {
|
|
|
1115
1115
|
*/
|
|
1116
1116
|
name?: string;
|
|
1117
1117
|
/**
|
|
1118
|
-
*
|
|
1118
|
+
* If true, the rule will fail if the pattern matches.
|
|
1119
1119
|
*/
|
|
1120
1120
|
negate?: boolean;
|
|
1121
1121
|
/**
|
|
1122
|
-
*
|
|
1122
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1123
1123
|
*/
|
|
1124
1124
|
operator: string;
|
|
1125
1125
|
/**
|
|
1126
|
-
*
|
|
1126
|
+
* The pattern to match with.
|
|
1127
1127
|
*/
|
|
1128
1128
|
pattern: string;
|
|
1129
1129
|
}
|
|
@@ -1133,15 +1133,15 @@ export interface OrganizationRulesetRulesCommitMessagePattern {
|
|
|
1133
1133
|
*/
|
|
1134
1134
|
name?: string;
|
|
1135
1135
|
/**
|
|
1136
|
-
*
|
|
1136
|
+
* If true, the rule will fail if the pattern matches.
|
|
1137
1137
|
*/
|
|
1138
1138
|
negate?: boolean;
|
|
1139
1139
|
/**
|
|
1140
|
-
*
|
|
1140
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1141
1141
|
*/
|
|
1142
1142
|
operator: string;
|
|
1143
1143
|
/**
|
|
1144
|
-
*
|
|
1144
|
+
* The pattern to match with.
|
|
1145
1145
|
*/
|
|
1146
1146
|
pattern: string;
|
|
1147
1147
|
}
|
|
@@ -1151,77 +1151,77 @@ export interface OrganizationRulesetRulesCommitterEmailPattern {
|
|
|
1151
1151
|
*/
|
|
1152
1152
|
name?: string;
|
|
1153
1153
|
/**
|
|
1154
|
-
*
|
|
1154
|
+
* If true, the rule will fail if the pattern matches.
|
|
1155
1155
|
*/
|
|
1156
1156
|
negate?: boolean;
|
|
1157
1157
|
/**
|
|
1158
|
-
*
|
|
1158
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1159
1159
|
*/
|
|
1160
1160
|
operator: string;
|
|
1161
1161
|
/**
|
|
1162
|
-
*
|
|
1162
|
+
* The pattern to match with.
|
|
1163
1163
|
*/
|
|
1164
1164
|
pattern: string;
|
|
1165
1165
|
}
|
|
1166
1166
|
export interface OrganizationRulesetRulesPullRequest {
|
|
1167
1167
|
/**
|
|
1168
|
-
*
|
|
1168
|
+
* New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
|
|
1169
1169
|
*/
|
|
1170
1170
|
dismissStaleReviewsOnPush?: boolean;
|
|
1171
1171
|
/**
|
|
1172
|
-
*
|
|
1172
|
+
* Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
|
|
1173
1173
|
*/
|
|
1174
1174
|
requireCodeOwnerReview?: boolean;
|
|
1175
1175
|
/**
|
|
1176
|
-
*
|
|
1176
|
+
* Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
|
|
1177
1177
|
*/
|
|
1178
1178
|
requireLastPushApproval?: boolean;
|
|
1179
1179
|
/**
|
|
1180
|
-
*
|
|
1180
|
+
* The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
|
|
1181
1181
|
*/
|
|
1182
1182
|
requiredApprovingReviewCount?: number;
|
|
1183
1183
|
/**
|
|
1184
|
-
*
|
|
1184
|
+
* All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
|
|
1185
1185
|
*/
|
|
1186
1186
|
requiredReviewThreadResolution?: boolean;
|
|
1187
1187
|
}
|
|
1188
1188
|
export interface OrganizationRulesetRulesRequiredStatusChecks {
|
|
1189
1189
|
/**
|
|
1190
|
-
*
|
|
1190
|
+
* Status checks that are required. Several can be defined.
|
|
1191
1191
|
*/
|
|
1192
1192
|
requiredChecks: outputs.OrganizationRulesetRulesRequiredStatusChecksRequiredCheck[];
|
|
1193
1193
|
/**
|
|
1194
|
-
*
|
|
1194
|
+
* Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.
|
|
1195
1195
|
*/
|
|
1196
1196
|
strictRequiredStatusChecksPolicy?: boolean;
|
|
1197
1197
|
}
|
|
1198
1198
|
export interface OrganizationRulesetRulesRequiredStatusChecksRequiredCheck {
|
|
1199
1199
|
/**
|
|
1200
|
-
*
|
|
1200
|
+
* The status check context name that must be present on the commit.
|
|
1201
1201
|
*/
|
|
1202
1202
|
context: string;
|
|
1203
1203
|
/**
|
|
1204
|
-
*
|
|
1204
|
+
* The optional integration ID that this status check must originate from.
|
|
1205
1205
|
*/
|
|
1206
1206
|
integrationId?: number;
|
|
1207
1207
|
}
|
|
1208
1208
|
export interface OrganizationRulesetRulesRequiredWorkflows {
|
|
1209
1209
|
/**
|
|
1210
|
-
*
|
|
1210
|
+
* Actions workflows that are required. Several can be defined.
|
|
1211
1211
|
*/
|
|
1212
1212
|
requiredWorkflows: outputs.OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow[];
|
|
1213
1213
|
}
|
|
1214
1214
|
export interface OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow {
|
|
1215
1215
|
/**
|
|
1216
|
-
*
|
|
1216
|
+
* The path to the workflow YAML definition file.
|
|
1217
1217
|
*/
|
|
1218
1218
|
path: string;
|
|
1219
1219
|
/**
|
|
1220
|
-
*
|
|
1220
|
+
* The ref (branch or tag) of the workflow file to use.
|
|
1221
1221
|
*/
|
|
1222
1222
|
ref?: string;
|
|
1223
1223
|
/**
|
|
1224
|
-
* The repository
|
|
1224
|
+
* The repository in which the workflow is defined.
|
|
1225
1225
|
*/
|
|
1226
1226
|
repositoryId: number;
|
|
1227
1227
|
}
|
|
@@ -1231,15 +1231,15 @@ export interface OrganizationRulesetRulesTagNamePattern {
|
|
|
1231
1231
|
*/
|
|
1232
1232
|
name?: string;
|
|
1233
1233
|
/**
|
|
1234
|
-
*
|
|
1234
|
+
* If true, the rule will fail if the pattern matches.
|
|
1235
1235
|
*/
|
|
1236
1236
|
negate?: boolean;
|
|
1237
1237
|
/**
|
|
1238
|
-
*
|
|
1238
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1239
1239
|
*/
|
|
1240
1240
|
operator: string;
|
|
1241
1241
|
/**
|
|
1242
|
-
*
|
|
1242
|
+
* The pattern to match with.
|
|
1243
1243
|
*/
|
|
1244
1244
|
pattern: string;
|
|
1245
1245
|
}
|
|
@@ -1327,7 +1327,7 @@ export interface RepositoryPages {
|
|
|
1327
1327
|
*/
|
|
1328
1328
|
source?: outputs.RepositoryPagesSource;
|
|
1329
1329
|
/**
|
|
1330
|
-
*
|
|
1330
|
+
* The GitHub Pages site's build status e.g. `building` or `built`.
|
|
1331
1331
|
*/
|
|
1332
1332
|
status: string;
|
|
1333
1333
|
url: string;
|
|
@@ -1366,11 +1366,11 @@ export interface RepositoryRulesetConditions {
|
|
|
1366
1366
|
}
|
|
1367
1367
|
export interface RepositoryRulesetConditionsRefName {
|
|
1368
1368
|
/**
|
|
1369
|
-
*
|
|
1369
|
+
* Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
|
|
1370
1370
|
*/
|
|
1371
1371
|
excludes: string[];
|
|
1372
1372
|
/**
|
|
1373
|
-
*
|
|
1373
|
+
* Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts `~DEFAULT_BRANCH` to include the default branch or `~ALL` to include all branches.
|
|
1374
1374
|
*/
|
|
1375
1375
|
includes: string[];
|
|
1376
1376
|
}
|
|
@@ -1442,15 +1442,15 @@ export interface RepositoryRulesetRulesBranchNamePattern {
|
|
|
1442
1442
|
*/
|
|
1443
1443
|
name?: string;
|
|
1444
1444
|
/**
|
|
1445
|
-
*
|
|
1445
|
+
* If true, the rule will fail if the pattern matches.
|
|
1446
1446
|
*/
|
|
1447
1447
|
negate?: boolean;
|
|
1448
1448
|
/**
|
|
1449
|
-
*
|
|
1449
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1450
1450
|
*/
|
|
1451
1451
|
operator: string;
|
|
1452
1452
|
/**
|
|
1453
|
-
*
|
|
1453
|
+
* The pattern to match with.
|
|
1454
1454
|
*/
|
|
1455
1455
|
pattern: string;
|
|
1456
1456
|
}
|
|
@@ -1460,15 +1460,15 @@ export interface RepositoryRulesetRulesCommitAuthorEmailPattern {
|
|
|
1460
1460
|
*/
|
|
1461
1461
|
name?: string;
|
|
1462
1462
|
/**
|
|
1463
|
-
*
|
|
1463
|
+
* If true, the rule will fail if the pattern matches.
|
|
1464
1464
|
*/
|
|
1465
1465
|
negate?: boolean;
|
|
1466
1466
|
/**
|
|
1467
|
-
*
|
|
1467
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1468
1468
|
*/
|
|
1469
1469
|
operator: string;
|
|
1470
1470
|
/**
|
|
1471
|
-
*
|
|
1471
|
+
* The pattern to match with.
|
|
1472
1472
|
*/
|
|
1473
1473
|
pattern: string;
|
|
1474
1474
|
}
|
|
@@ -1478,15 +1478,15 @@ export interface RepositoryRulesetRulesCommitMessagePattern {
|
|
|
1478
1478
|
*/
|
|
1479
1479
|
name?: string;
|
|
1480
1480
|
/**
|
|
1481
|
-
*
|
|
1481
|
+
* If true, the rule will fail if the pattern matches.
|
|
1482
1482
|
*/
|
|
1483
1483
|
negate?: boolean;
|
|
1484
1484
|
/**
|
|
1485
|
-
*
|
|
1485
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1486
1486
|
*/
|
|
1487
1487
|
operator: string;
|
|
1488
1488
|
/**
|
|
1489
|
-
*
|
|
1489
|
+
* The pattern to match with.
|
|
1490
1490
|
*/
|
|
1491
1491
|
pattern: string;
|
|
1492
1492
|
}
|
|
@@ -1496,63 +1496,63 @@ export interface RepositoryRulesetRulesCommitterEmailPattern {
|
|
|
1496
1496
|
*/
|
|
1497
1497
|
name?: string;
|
|
1498
1498
|
/**
|
|
1499
|
-
*
|
|
1499
|
+
* If true, the rule will fail if the pattern matches.
|
|
1500
1500
|
*/
|
|
1501
1501
|
negate?: boolean;
|
|
1502
1502
|
/**
|
|
1503
|
-
*
|
|
1503
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1504
1504
|
*/
|
|
1505
1505
|
operator: string;
|
|
1506
1506
|
/**
|
|
1507
|
-
*
|
|
1507
|
+
* The pattern to match with.
|
|
1508
1508
|
*/
|
|
1509
1509
|
pattern: string;
|
|
1510
1510
|
}
|
|
1511
1511
|
export interface RepositoryRulesetRulesPullRequest {
|
|
1512
1512
|
/**
|
|
1513
|
-
*
|
|
1513
|
+
* New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
|
|
1514
1514
|
*/
|
|
1515
1515
|
dismissStaleReviewsOnPush?: boolean;
|
|
1516
1516
|
/**
|
|
1517
|
-
*
|
|
1517
|
+
* Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
|
|
1518
1518
|
*/
|
|
1519
1519
|
requireCodeOwnerReview?: boolean;
|
|
1520
1520
|
/**
|
|
1521
|
-
*
|
|
1521
|
+
* Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
|
|
1522
1522
|
*/
|
|
1523
1523
|
requireLastPushApproval?: boolean;
|
|
1524
1524
|
/**
|
|
1525
|
-
*
|
|
1525
|
+
* The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
|
|
1526
1526
|
*/
|
|
1527
1527
|
requiredApprovingReviewCount?: number;
|
|
1528
1528
|
/**
|
|
1529
|
-
*
|
|
1529
|
+
* All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
|
|
1530
1530
|
*/
|
|
1531
1531
|
requiredReviewThreadResolution?: boolean;
|
|
1532
1532
|
}
|
|
1533
1533
|
export interface RepositoryRulesetRulesRequiredDeployments {
|
|
1534
1534
|
/**
|
|
1535
|
-
*
|
|
1535
|
+
* The environments that must be successfully deployed to before branches can be merged.
|
|
1536
1536
|
*/
|
|
1537
1537
|
requiredDeploymentEnvironments: string[];
|
|
1538
1538
|
}
|
|
1539
1539
|
export interface RepositoryRulesetRulesRequiredStatusChecks {
|
|
1540
1540
|
/**
|
|
1541
|
-
*
|
|
1541
|
+
* Status checks that are required. Several can be defined.
|
|
1542
1542
|
*/
|
|
1543
1543
|
requiredChecks: outputs.RepositoryRulesetRulesRequiredStatusChecksRequiredCheck[];
|
|
1544
1544
|
/**
|
|
1545
|
-
*
|
|
1545
|
+
* Whether pull requests targeting a matching branch must be tested with the latest code. This setting will not take effect unless at least one status check is enabled. Defaults to `false`.
|
|
1546
1546
|
*/
|
|
1547
1547
|
strictRequiredStatusChecksPolicy?: boolean;
|
|
1548
1548
|
}
|
|
1549
1549
|
export interface RepositoryRulesetRulesRequiredStatusChecksRequiredCheck {
|
|
1550
1550
|
/**
|
|
1551
|
-
*
|
|
1551
|
+
* The status check context name that must be present on the commit.
|
|
1552
1552
|
*/
|
|
1553
1553
|
context: string;
|
|
1554
1554
|
/**
|
|
1555
|
-
*
|
|
1555
|
+
* The optional integration ID that this status check must originate from.
|
|
1556
1556
|
*/
|
|
1557
1557
|
integrationId?: number;
|
|
1558
1558
|
}
|
|
@@ -1562,15 +1562,15 @@ export interface RepositoryRulesetRulesTagNamePattern {
|
|
|
1562
1562
|
*/
|
|
1563
1563
|
name?: string;
|
|
1564
1564
|
/**
|
|
1565
|
-
*
|
|
1565
|
+
* If true, the rule will fail if the pattern matches.
|
|
1566
1566
|
*/
|
|
1567
1567
|
negate?: boolean;
|
|
1568
1568
|
/**
|
|
1569
|
-
*
|
|
1569
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1570
1570
|
*/
|
|
1571
1571
|
operator: string;
|
|
1572
1572
|
/**
|
|
1573
|
-
*
|
|
1573
|
+
* The pattern to match with.
|
|
1574
1574
|
*/
|
|
1575
1575
|
pattern: string;
|
|
1576
1576
|
}
|
|
@@ -1596,13 +1596,13 @@ export interface RepositorySecurityAndAnalysisAdvancedSecurity {
|
|
|
1596
1596
|
}
|
|
1597
1597
|
export interface RepositorySecurityAndAnalysisSecretScanning {
|
|
1598
1598
|
/**
|
|
1599
|
-
*
|
|
1599
|
+
* The GitHub Pages site's build status e.g. `building` or `built`.
|
|
1600
1600
|
*/
|
|
1601
1601
|
status: string;
|
|
1602
1602
|
}
|
|
1603
1603
|
export interface RepositorySecurityAndAnalysisSecretScanningPushProtection {
|
|
1604
1604
|
/**
|
|
1605
|
-
*
|
|
1605
|
+
* The GitHub Pages site's build status e.g. `building` or `built`.
|
|
1606
1606
|
*/
|
|
1607
1607
|
status: string;
|
|
1608
1608
|
}
|
|
@@ -1651,15 +1651,15 @@ export interface TeamMembersMember {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
export interface TeamSettingsReviewRequestDelegation {
|
|
1653
1653
|
/**
|
|
1654
|
-
* The algorithm to use when assigning pull requests to team members. Supported values are
|
|
1654
|
+
* The algorithm to use when assigning pull requests to team members. Supported values are 'ROUND_ROBIN' and 'LOAD_BALANCE'.
|
|
1655
1655
|
*/
|
|
1656
1656
|
algorithm?: string;
|
|
1657
1657
|
/**
|
|
1658
|
-
* The number of team members to assign to a pull request
|
|
1658
|
+
* The number of team members to assign to a pull request.
|
|
1659
1659
|
*/
|
|
1660
1660
|
memberCount?: number;
|
|
1661
1661
|
/**
|
|
1662
|
-
* whether to notify the entire team when at least one member is also assigned to the pull request
|
|
1662
|
+
* whether to notify the entire team when at least one member is also assigned to the pull request.
|
|
1663
1663
|
*/
|
|
1664
1664
|
notify?: boolean;
|
|
1665
1665
|
}
|
package/userGpgKey.d.ts
CHANGED
|
@@ -6,17 +6,14 @@ 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 example = new github.UserGpgKey("example", {armoredPublicKey: `-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
15
14
|
* ...
|
|
16
|
-
* -----END PGP PUBLIC KEY BLOCK
|
|
17
|
-
* `});
|
|
15
|
+
* -----END PGP PUBLIC KEY BLOCK-----`});
|
|
18
16
|
* ```
|
|
19
|
-
* <!--End PulumiCodeChooser -->
|
|
20
17
|
*
|
|
21
18
|
* ## Import
|
|
22
19
|
*
|
package/userGpgKey.js
CHANGED
|
@@ -12,17 +12,14 @@ 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 example = new github.UserGpgKey("example", {armoredPublicKey: `-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
21
20
|
* ...
|
|
22
|
-
* -----END PGP PUBLIC KEY BLOCK
|
|
23
|
-
* `});
|
|
21
|
+
* -----END PGP PUBLIC KEY BLOCK-----`});
|
|
24
22
|
* ```
|
|
25
|
-
* <!--End PulumiCodeChooser -->
|
|
26
23
|
*
|
|
27
24
|
* ## Import
|
|
28
25
|
*
|
package/userGpgKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userGpgKey.js","sourceRoot":"","sources":["../userGpgKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"userGpgKey.js","sourceRoot":"","sources":["../userGpgKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAqBD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,gBAAgB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7D,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAlEL,gCAmEC;AArDG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -4,23 +4,18 @@ 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
|
-
* const
|
|
13
|
-
* const exampleRepositoryCollaborator = new github.RepositoryCollaborator("
|
|
14
|
-
* repository:
|
|
11
|
+
* const example = new github.Repository("example", {name: "example-repo"});
|
|
12
|
+
* const exampleRepositoryCollaborator = new github.RepositoryCollaborator("example", {
|
|
13
|
+
* repository: example.name,
|
|
15
14
|
* username: "example-username",
|
|
16
15
|
* permission: "push",
|
|
17
16
|
* });
|
|
18
|
-
* const
|
|
19
|
-
* const exampleUserInvitationAccepter = new github.UserInvitationAccepter("exampleUserInvitationAccepter", {invitationId: exampleRepositoryCollaborator.invitationId}, {
|
|
20
|
-
* provider: "github.invitee",
|
|
21
|
-
* });
|
|
17
|
+
* const exampleUserInvitationAccepter = new github.UserInvitationAccepter("example", {invitationId: exampleRepositoryCollaborator.invitationId});
|
|
22
18
|
* ```
|
|
23
|
-
* <!--End PulumiCodeChooser -->
|
|
24
19
|
*
|
|
25
20
|
* ## Allowing empty invitation IDs
|
|
26
21
|
*
|
|
@@ -10,23 +10,18 @@ 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
|
-
* const
|
|
19
|
-
* const exampleRepositoryCollaborator = new github.RepositoryCollaborator("
|
|
20
|
-
* repository:
|
|
17
|
+
* const example = new github.Repository("example", {name: "example-repo"});
|
|
18
|
+
* const exampleRepositoryCollaborator = new github.RepositoryCollaborator("example", {
|
|
19
|
+
* repository: example.name,
|
|
21
20
|
* username: "example-username",
|
|
22
21
|
* permission: "push",
|
|
23
22
|
* });
|
|
24
|
-
* const
|
|
25
|
-
* const exampleUserInvitationAccepter = new github.UserInvitationAccepter("exampleUserInvitationAccepter", {invitationId: exampleRepositoryCollaborator.invitationId}, {
|
|
26
|
-
* provider: "github.invitee",
|
|
27
|
-
* });
|
|
23
|
+
* const exampleUserInvitationAccepter = new github.UserInvitationAccepter("example", {invitationId: exampleRepositoryCollaborator.invitationId});
|
|
28
24
|
* ```
|
|
29
|
-
* <!--End PulumiCodeChooser -->
|
|
30
25
|
*
|
|
31
26
|
* ## Allowing empty invitation IDs
|
|
32
27
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userInvitationAccepter.js","sourceRoot":"","sources":["../userInvitationAccepter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"userInvitationAccepter.js","sourceRoot":"","sources":["../userInvitationAccepter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;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;IAmBD,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,WAAsD,CAAC;YACrE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;aAAM;YACH,MAAM,IAAI,GAAG,WAAqD,CAAC;YACnE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;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;;AA3DL,wDA4DC;AA9CG,gBAAgB;AACO,mCAAY,GAAG,4DAA4D,CAAC"}
|
package/userSshKey.d.ts
CHANGED
|
@@ -6,18 +6,18 @@ 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
|
-
* import * as fs from "fs";
|
|
13
11
|
* import * as github from "@pulumi/github";
|
|
12
|
+
* import * as std from "@pulumi/std";
|
|
14
13
|
*
|
|
15
14
|
* const example = new github.UserSshKey("example", {
|
|
16
15
|
* title: "example title",
|
|
17
|
-
* key:
|
|
16
|
+
* key: std.file({
|
|
17
|
+
* input: "~/.ssh/id_rsa.pub",
|
|
18
|
+
* }).then(invoke => invoke.result),
|
|
18
19
|
* });
|
|
19
20
|
* ```
|
|
20
|
-
* <!--End PulumiCodeChooser -->
|
|
21
21
|
*
|
|
22
22
|
* ## Import
|
|
23
23
|
*
|
package/userSshKey.js
CHANGED
|
@@ -12,18 +12,18 @@ 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
|
-
* import * as fs from "fs";
|
|
19
17
|
* import * as github from "@pulumi/github";
|
|
18
|
+
* import * as std from "@pulumi/std";
|
|
20
19
|
*
|
|
21
20
|
* const example = new github.UserSshKey("example", {
|
|
22
21
|
* title: "example title",
|
|
23
|
-
* key:
|
|
22
|
+
* key: std.file({
|
|
23
|
+
* input: "~/.ssh/id_rsa.pub",
|
|
24
|
+
* }).then(invoke => invoke.result),
|
|
24
25
|
* });
|
|
25
26
|
* ```
|
|
26
|
-
* <!--End PulumiCodeChooser -->
|
|
27
27
|
*
|
|
28
28
|
* ## Import
|
|
29
29
|
*
|