@pulumi/github 6.2.0 → 6.2.1
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 +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 +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/types/output.d.ts
CHANGED
|
@@ -990,6 +990,9 @@ export interface OrganizationRulesetBypassActor {
|
|
|
990
990
|
* (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.
|
|
991
991
|
*
|
|
992
992
|
* ~>Note: at the time of writing this, the following actor types correspond to the following actor IDs:
|
|
993
|
+
*
|
|
994
|
+
* * `OrganizationAdmin` > `1`
|
|
995
|
+
* * `RepositoryRole` (This is the actor type, the following are the base repository roles and their associated IDs.)
|
|
993
996
|
*/
|
|
994
997
|
bypassMode: string;
|
|
995
998
|
}
|
|
@@ -1011,21 +1014,21 @@ export interface OrganizationRulesetConditions {
|
|
|
1011
1014
|
}
|
|
1012
1015
|
export interface OrganizationRulesetConditionsRefName {
|
|
1013
1016
|
/**
|
|
1014
|
-
*
|
|
1017
|
+
* Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
|
|
1015
1018
|
*/
|
|
1016
1019
|
excludes: string[];
|
|
1017
1020
|
/**
|
|
1018
|
-
*
|
|
1021
|
+
* 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
1022
|
*/
|
|
1020
1023
|
includes: string[];
|
|
1021
1024
|
}
|
|
1022
1025
|
export interface OrganizationRulesetConditionsRepositoryName {
|
|
1023
1026
|
/**
|
|
1024
|
-
*
|
|
1027
|
+
* Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
|
|
1025
1028
|
*/
|
|
1026
1029
|
excludes: string[];
|
|
1027
1030
|
/**
|
|
1028
|
-
*
|
|
1031
|
+
* 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
1032
|
*/
|
|
1030
1033
|
includes: string[];
|
|
1031
1034
|
/**
|
|
@@ -1097,15 +1100,15 @@ export interface OrganizationRulesetRulesBranchNamePattern {
|
|
|
1097
1100
|
*/
|
|
1098
1101
|
name?: string;
|
|
1099
1102
|
/**
|
|
1100
|
-
*
|
|
1103
|
+
* If true, the rule will fail if the pattern matches.
|
|
1101
1104
|
*/
|
|
1102
1105
|
negate?: boolean;
|
|
1103
1106
|
/**
|
|
1104
|
-
*
|
|
1107
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1105
1108
|
*/
|
|
1106
1109
|
operator: string;
|
|
1107
1110
|
/**
|
|
1108
|
-
*
|
|
1111
|
+
* The pattern to match with.
|
|
1109
1112
|
*/
|
|
1110
1113
|
pattern: string;
|
|
1111
1114
|
}
|
|
@@ -1115,15 +1118,15 @@ export interface OrganizationRulesetRulesCommitAuthorEmailPattern {
|
|
|
1115
1118
|
*/
|
|
1116
1119
|
name?: string;
|
|
1117
1120
|
/**
|
|
1118
|
-
*
|
|
1121
|
+
* If true, the rule will fail if the pattern matches.
|
|
1119
1122
|
*/
|
|
1120
1123
|
negate?: boolean;
|
|
1121
1124
|
/**
|
|
1122
|
-
*
|
|
1125
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1123
1126
|
*/
|
|
1124
1127
|
operator: string;
|
|
1125
1128
|
/**
|
|
1126
|
-
*
|
|
1129
|
+
* The pattern to match with.
|
|
1127
1130
|
*/
|
|
1128
1131
|
pattern: string;
|
|
1129
1132
|
}
|
|
@@ -1133,15 +1136,15 @@ export interface OrganizationRulesetRulesCommitMessagePattern {
|
|
|
1133
1136
|
*/
|
|
1134
1137
|
name?: string;
|
|
1135
1138
|
/**
|
|
1136
|
-
*
|
|
1139
|
+
* If true, the rule will fail if the pattern matches.
|
|
1137
1140
|
*/
|
|
1138
1141
|
negate?: boolean;
|
|
1139
1142
|
/**
|
|
1140
|
-
*
|
|
1143
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1141
1144
|
*/
|
|
1142
1145
|
operator: string;
|
|
1143
1146
|
/**
|
|
1144
|
-
*
|
|
1147
|
+
* The pattern to match with.
|
|
1145
1148
|
*/
|
|
1146
1149
|
pattern: string;
|
|
1147
1150
|
}
|
|
@@ -1151,77 +1154,77 @@ export interface OrganizationRulesetRulesCommitterEmailPattern {
|
|
|
1151
1154
|
*/
|
|
1152
1155
|
name?: string;
|
|
1153
1156
|
/**
|
|
1154
|
-
*
|
|
1157
|
+
* If true, the rule will fail if the pattern matches.
|
|
1155
1158
|
*/
|
|
1156
1159
|
negate?: boolean;
|
|
1157
1160
|
/**
|
|
1158
|
-
*
|
|
1161
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1159
1162
|
*/
|
|
1160
1163
|
operator: string;
|
|
1161
1164
|
/**
|
|
1162
|
-
*
|
|
1165
|
+
* The pattern to match with.
|
|
1163
1166
|
*/
|
|
1164
1167
|
pattern: string;
|
|
1165
1168
|
}
|
|
1166
1169
|
export interface OrganizationRulesetRulesPullRequest {
|
|
1167
1170
|
/**
|
|
1168
|
-
*
|
|
1171
|
+
* New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
|
|
1169
1172
|
*/
|
|
1170
1173
|
dismissStaleReviewsOnPush?: boolean;
|
|
1171
1174
|
/**
|
|
1172
|
-
*
|
|
1175
|
+
* Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
|
|
1173
1176
|
*/
|
|
1174
1177
|
requireCodeOwnerReview?: boolean;
|
|
1175
1178
|
/**
|
|
1176
|
-
*
|
|
1179
|
+
* Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
|
|
1177
1180
|
*/
|
|
1178
1181
|
requireLastPushApproval?: boolean;
|
|
1179
1182
|
/**
|
|
1180
|
-
*
|
|
1183
|
+
* The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
|
|
1181
1184
|
*/
|
|
1182
1185
|
requiredApprovingReviewCount?: number;
|
|
1183
1186
|
/**
|
|
1184
|
-
*
|
|
1187
|
+
* All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
|
|
1185
1188
|
*/
|
|
1186
1189
|
requiredReviewThreadResolution?: boolean;
|
|
1187
1190
|
}
|
|
1188
1191
|
export interface OrganizationRulesetRulesRequiredStatusChecks {
|
|
1189
1192
|
/**
|
|
1190
|
-
*
|
|
1193
|
+
* Status checks that are required. Several can be defined.
|
|
1191
1194
|
*/
|
|
1192
1195
|
requiredChecks: outputs.OrganizationRulesetRulesRequiredStatusChecksRequiredCheck[];
|
|
1193
1196
|
/**
|
|
1194
|
-
*
|
|
1197
|
+
* 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
1198
|
*/
|
|
1196
1199
|
strictRequiredStatusChecksPolicy?: boolean;
|
|
1197
1200
|
}
|
|
1198
1201
|
export interface OrganizationRulesetRulesRequiredStatusChecksRequiredCheck {
|
|
1199
1202
|
/**
|
|
1200
|
-
*
|
|
1203
|
+
* The status check context name that must be present on the commit.
|
|
1201
1204
|
*/
|
|
1202
1205
|
context: string;
|
|
1203
1206
|
/**
|
|
1204
|
-
*
|
|
1207
|
+
* The optional integration ID that this status check must originate from.
|
|
1205
1208
|
*/
|
|
1206
1209
|
integrationId?: number;
|
|
1207
1210
|
}
|
|
1208
1211
|
export interface OrganizationRulesetRulesRequiredWorkflows {
|
|
1209
1212
|
/**
|
|
1210
|
-
*
|
|
1213
|
+
* Actions workflows that are required. Several can be defined.
|
|
1211
1214
|
*/
|
|
1212
1215
|
requiredWorkflows: outputs.OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow[];
|
|
1213
1216
|
}
|
|
1214
1217
|
export interface OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow {
|
|
1215
1218
|
/**
|
|
1216
|
-
*
|
|
1219
|
+
* The path to the workflow YAML definition file.
|
|
1217
1220
|
*/
|
|
1218
1221
|
path: string;
|
|
1219
1222
|
/**
|
|
1220
|
-
*
|
|
1223
|
+
* The ref (branch or tag) of the workflow file to use.
|
|
1221
1224
|
*/
|
|
1222
1225
|
ref?: string;
|
|
1223
1226
|
/**
|
|
1224
|
-
* The repository
|
|
1227
|
+
* The repository in which the workflow is defined.
|
|
1225
1228
|
*/
|
|
1226
1229
|
repositoryId: number;
|
|
1227
1230
|
}
|
|
@@ -1231,15 +1234,15 @@ export interface OrganizationRulesetRulesTagNamePattern {
|
|
|
1231
1234
|
*/
|
|
1232
1235
|
name?: string;
|
|
1233
1236
|
/**
|
|
1234
|
-
*
|
|
1237
|
+
* If true, the rule will fail if the pattern matches.
|
|
1235
1238
|
*/
|
|
1236
1239
|
negate?: boolean;
|
|
1237
1240
|
/**
|
|
1238
|
-
*
|
|
1241
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1239
1242
|
*/
|
|
1240
1243
|
operator: string;
|
|
1241
1244
|
/**
|
|
1242
|
-
*
|
|
1245
|
+
* The pattern to match with.
|
|
1243
1246
|
*/
|
|
1244
1247
|
pattern: string;
|
|
1245
1248
|
}
|
|
@@ -1327,7 +1330,7 @@ export interface RepositoryPages {
|
|
|
1327
1330
|
*/
|
|
1328
1331
|
source?: outputs.RepositoryPagesSource;
|
|
1329
1332
|
/**
|
|
1330
|
-
*
|
|
1333
|
+
* The GitHub Pages site's build status e.g. `building` or `built`.
|
|
1331
1334
|
*/
|
|
1332
1335
|
status: string;
|
|
1333
1336
|
url: string;
|
|
@@ -1355,6 +1358,8 @@ export interface RepositoryRulesetBypassActor {
|
|
|
1355
1358
|
* (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.
|
|
1356
1359
|
*
|
|
1357
1360
|
* > Note: at the time of writing this, the following actor types correspond to the following actor IDs:
|
|
1361
|
+
* * `OrganizationAdmin` > `1`
|
|
1362
|
+
* * `RepositoryRole` (This is the actor type, the following are the base repository roles and their associated IDs.)
|
|
1358
1363
|
*/
|
|
1359
1364
|
bypassMode: string;
|
|
1360
1365
|
}
|
|
@@ -1366,11 +1371,11 @@ export interface RepositoryRulesetConditions {
|
|
|
1366
1371
|
}
|
|
1367
1372
|
export interface RepositoryRulesetConditionsRefName {
|
|
1368
1373
|
/**
|
|
1369
|
-
*
|
|
1374
|
+
* Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
|
|
1370
1375
|
*/
|
|
1371
1376
|
excludes: string[];
|
|
1372
1377
|
/**
|
|
1373
|
-
*
|
|
1378
|
+
* 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
1379
|
*/
|
|
1375
1380
|
includes: string[];
|
|
1376
1381
|
}
|
|
@@ -1442,15 +1447,15 @@ export interface RepositoryRulesetRulesBranchNamePattern {
|
|
|
1442
1447
|
*/
|
|
1443
1448
|
name?: string;
|
|
1444
1449
|
/**
|
|
1445
|
-
*
|
|
1450
|
+
* If true, the rule will fail if the pattern matches.
|
|
1446
1451
|
*/
|
|
1447
1452
|
negate?: boolean;
|
|
1448
1453
|
/**
|
|
1449
|
-
*
|
|
1454
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1450
1455
|
*/
|
|
1451
1456
|
operator: string;
|
|
1452
1457
|
/**
|
|
1453
|
-
*
|
|
1458
|
+
* The pattern to match with.
|
|
1454
1459
|
*/
|
|
1455
1460
|
pattern: string;
|
|
1456
1461
|
}
|
|
@@ -1460,15 +1465,15 @@ export interface RepositoryRulesetRulesCommitAuthorEmailPattern {
|
|
|
1460
1465
|
*/
|
|
1461
1466
|
name?: string;
|
|
1462
1467
|
/**
|
|
1463
|
-
*
|
|
1468
|
+
* If true, the rule will fail if the pattern matches.
|
|
1464
1469
|
*/
|
|
1465
1470
|
negate?: boolean;
|
|
1466
1471
|
/**
|
|
1467
|
-
*
|
|
1472
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1468
1473
|
*/
|
|
1469
1474
|
operator: string;
|
|
1470
1475
|
/**
|
|
1471
|
-
*
|
|
1476
|
+
* The pattern to match with.
|
|
1472
1477
|
*/
|
|
1473
1478
|
pattern: string;
|
|
1474
1479
|
}
|
|
@@ -1478,15 +1483,15 @@ export interface RepositoryRulesetRulesCommitMessagePattern {
|
|
|
1478
1483
|
*/
|
|
1479
1484
|
name?: string;
|
|
1480
1485
|
/**
|
|
1481
|
-
*
|
|
1486
|
+
* If true, the rule will fail if the pattern matches.
|
|
1482
1487
|
*/
|
|
1483
1488
|
negate?: boolean;
|
|
1484
1489
|
/**
|
|
1485
|
-
*
|
|
1490
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1486
1491
|
*/
|
|
1487
1492
|
operator: string;
|
|
1488
1493
|
/**
|
|
1489
|
-
*
|
|
1494
|
+
* The pattern to match with.
|
|
1490
1495
|
*/
|
|
1491
1496
|
pattern: string;
|
|
1492
1497
|
}
|
|
@@ -1496,63 +1501,63 @@ export interface RepositoryRulesetRulesCommitterEmailPattern {
|
|
|
1496
1501
|
*/
|
|
1497
1502
|
name?: string;
|
|
1498
1503
|
/**
|
|
1499
|
-
*
|
|
1504
|
+
* If true, the rule will fail if the pattern matches.
|
|
1500
1505
|
*/
|
|
1501
1506
|
negate?: boolean;
|
|
1502
1507
|
/**
|
|
1503
|
-
*
|
|
1508
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1504
1509
|
*/
|
|
1505
1510
|
operator: string;
|
|
1506
1511
|
/**
|
|
1507
|
-
*
|
|
1512
|
+
* The pattern to match with.
|
|
1508
1513
|
*/
|
|
1509
1514
|
pattern: string;
|
|
1510
1515
|
}
|
|
1511
1516
|
export interface RepositoryRulesetRulesPullRequest {
|
|
1512
1517
|
/**
|
|
1513
|
-
*
|
|
1518
|
+
* New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
|
|
1514
1519
|
*/
|
|
1515
1520
|
dismissStaleReviewsOnPush?: boolean;
|
|
1516
1521
|
/**
|
|
1517
|
-
*
|
|
1522
|
+
* Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
|
|
1518
1523
|
*/
|
|
1519
1524
|
requireCodeOwnerReview?: boolean;
|
|
1520
1525
|
/**
|
|
1521
|
-
*
|
|
1526
|
+
* Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
|
|
1522
1527
|
*/
|
|
1523
1528
|
requireLastPushApproval?: boolean;
|
|
1524
1529
|
/**
|
|
1525
|
-
*
|
|
1530
|
+
* The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
|
|
1526
1531
|
*/
|
|
1527
1532
|
requiredApprovingReviewCount?: number;
|
|
1528
1533
|
/**
|
|
1529
|
-
*
|
|
1534
|
+
* All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
|
|
1530
1535
|
*/
|
|
1531
1536
|
requiredReviewThreadResolution?: boolean;
|
|
1532
1537
|
}
|
|
1533
1538
|
export interface RepositoryRulesetRulesRequiredDeployments {
|
|
1534
1539
|
/**
|
|
1535
|
-
*
|
|
1540
|
+
* The environments that must be successfully deployed to before branches can be merged.
|
|
1536
1541
|
*/
|
|
1537
1542
|
requiredDeploymentEnvironments: string[];
|
|
1538
1543
|
}
|
|
1539
1544
|
export interface RepositoryRulesetRulesRequiredStatusChecks {
|
|
1540
1545
|
/**
|
|
1541
|
-
*
|
|
1546
|
+
* Status checks that are required. Several can be defined.
|
|
1542
1547
|
*/
|
|
1543
1548
|
requiredChecks: outputs.RepositoryRulesetRulesRequiredStatusChecksRequiredCheck[];
|
|
1544
1549
|
/**
|
|
1545
|
-
*
|
|
1550
|
+
* 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
1551
|
*/
|
|
1547
1552
|
strictRequiredStatusChecksPolicy?: boolean;
|
|
1548
1553
|
}
|
|
1549
1554
|
export interface RepositoryRulesetRulesRequiredStatusChecksRequiredCheck {
|
|
1550
1555
|
/**
|
|
1551
|
-
*
|
|
1556
|
+
* The status check context name that must be present on the commit.
|
|
1552
1557
|
*/
|
|
1553
1558
|
context: string;
|
|
1554
1559
|
/**
|
|
1555
|
-
*
|
|
1560
|
+
* The optional integration ID that this status check must originate from.
|
|
1556
1561
|
*/
|
|
1557
1562
|
integrationId?: number;
|
|
1558
1563
|
}
|
|
@@ -1562,15 +1567,15 @@ export interface RepositoryRulesetRulesTagNamePattern {
|
|
|
1562
1567
|
*/
|
|
1563
1568
|
name?: string;
|
|
1564
1569
|
/**
|
|
1565
|
-
*
|
|
1570
|
+
* If true, the rule will fail if the pattern matches.
|
|
1566
1571
|
*/
|
|
1567
1572
|
negate?: boolean;
|
|
1568
1573
|
/**
|
|
1569
|
-
*
|
|
1574
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
1570
1575
|
*/
|
|
1571
1576
|
operator: string;
|
|
1572
1577
|
/**
|
|
1573
|
-
*
|
|
1578
|
+
* The pattern to match with.
|
|
1574
1579
|
*/
|
|
1575
1580
|
pattern: string;
|
|
1576
1581
|
}
|
|
@@ -1596,13 +1601,13 @@ export interface RepositorySecurityAndAnalysisAdvancedSecurity {
|
|
|
1596
1601
|
}
|
|
1597
1602
|
export interface RepositorySecurityAndAnalysisSecretScanning {
|
|
1598
1603
|
/**
|
|
1599
|
-
*
|
|
1604
|
+
* The GitHub Pages site's build status e.g. `building` or `built`.
|
|
1600
1605
|
*/
|
|
1601
1606
|
status: string;
|
|
1602
1607
|
}
|
|
1603
1608
|
export interface RepositorySecurityAndAnalysisSecretScanningPushProtection {
|
|
1604
1609
|
/**
|
|
1605
|
-
*
|
|
1610
|
+
* The GitHub Pages site's build status e.g. `building` or `built`.
|
|
1606
1611
|
*/
|
|
1607
1612
|
status: string;
|
|
1608
1613
|
}
|
|
@@ -1651,15 +1656,15 @@ export interface TeamMembersMember {
|
|
|
1651
1656
|
}
|
|
1652
1657
|
export interface TeamSettingsReviewRequestDelegation {
|
|
1653
1658
|
/**
|
|
1654
|
-
* The algorithm to use when assigning pull requests to team members. Supported values are
|
|
1659
|
+
* The algorithm to use when assigning pull requests to team members. Supported values are 'ROUND_ROBIN' and 'LOAD_BALANCE'.
|
|
1655
1660
|
*/
|
|
1656
1661
|
algorithm?: string;
|
|
1657
1662
|
/**
|
|
1658
|
-
* The number of team members to assign to a pull request
|
|
1663
|
+
* The number of team members to assign to a pull request.
|
|
1659
1664
|
*/
|
|
1660
1665
|
memberCount?: number;
|
|
1661
1666
|
/**
|
|
1662
|
-
* whether to notify the entire team when at least one member is also assigned to the pull request
|
|
1667
|
+
* whether to notify the entire team when at least one member is also assigned to the pull request.
|
|
1663
1668
|
*/
|
|
1664
1669
|
notify?: boolean;
|
|
1665
1670
|
}
|
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
|
*
|
package/package.json.bak
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@pulumi/github",
|
|
3
|
-
"version": "${VERSION}",
|
|
4
|
-
"description": "A Pulumi package for creating and managing github cloud resources.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"pulumi",
|
|
7
|
-
"github"
|
|
8
|
-
],
|
|
9
|
-
"homepage": "https://pulumi.io",
|
|
10
|
-
"repository": "https://github.com/pulumi/pulumi-github",
|
|
11
|
-
"license": "Apache-2.0",
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "tsc"
|
|
14
|
-
},
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"@pulumi/pulumi": "^3.0.0"
|
|
17
|
-
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@types/mime": "^2.0.0",
|
|
20
|
-
"@types/node": "^10.0.0",
|
|
21
|
-
"typescript": "^4.3.5"
|
|
22
|
-
},
|
|
23
|
-
"pulumi": {
|
|
24
|
-
"resource": true,
|
|
25
|
-
"name": "github"
|
|
26
|
-
}
|
|
27
|
-
}
|