@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/input.d.ts
CHANGED
|
@@ -236,6 +236,9 @@ export interface OrganizationRulesetBypassActor {
|
|
|
236
236
|
* (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`.
|
|
237
237
|
*
|
|
238
238
|
* ~>Note: at the time of writing this, the following actor types correspond to the following actor IDs:
|
|
239
|
+
*
|
|
240
|
+
* * `OrganizationAdmin` > `1`
|
|
241
|
+
* * `RepositoryRole` (This is the actor type, the following are the base repository roles and their associated IDs.)
|
|
239
242
|
*/
|
|
240
243
|
bypassMode: pulumi.Input<string>;
|
|
241
244
|
}
|
|
@@ -257,21 +260,21 @@ export interface OrganizationRulesetConditions {
|
|
|
257
260
|
}
|
|
258
261
|
export interface OrganizationRulesetConditionsRefName {
|
|
259
262
|
/**
|
|
260
|
-
*
|
|
263
|
+
* Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
|
|
261
264
|
*/
|
|
262
265
|
excludes: pulumi.Input<pulumi.Input<string>[]>;
|
|
263
266
|
/**
|
|
264
|
-
*
|
|
267
|
+
* 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.
|
|
265
268
|
*/
|
|
266
269
|
includes: pulumi.Input<pulumi.Input<string>[]>;
|
|
267
270
|
}
|
|
268
271
|
export interface OrganizationRulesetConditionsRepositoryName {
|
|
269
272
|
/**
|
|
270
|
-
*
|
|
273
|
+
* Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.
|
|
271
274
|
*/
|
|
272
275
|
excludes: pulumi.Input<pulumi.Input<string>[]>;
|
|
273
276
|
/**
|
|
274
|
-
*
|
|
277
|
+
* 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.
|
|
275
278
|
*/
|
|
276
279
|
includes: pulumi.Input<pulumi.Input<string>[]>;
|
|
277
280
|
/**
|
|
@@ -343,15 +346,15 @@ export interface OrganizationRulesetRulesBranchNamePattern {
|
|
|
343
346
|
*/
|
|
344
347
|
name?: pulumi.Input<string>;
|
|
345
348
|
/**
|
|
346
|
-
*
|
|
349
|
+
* If true, the rule will fail if the pattern matches.
|
|
347
350
|
*/
|
|
348
351
|
negate?: pulumi.Input<boolean>;
|
|
349
352
|
/**
|
|
350
|
-
*
|
|
353
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
351
354
|
*/
|
|
352
355
|
operator: pulumi.Input<string>;
|
|
353
356
|
/**
|
|
354
|
-
*
|
|
357
|
+
* The pattern to match with.
|
|
355
358
|
*/
|
|
356
359
|
pattern: pulumi.Input<string>;
|
|
357
360
|
}
|
|
@@ -361,15 +364,15 @@ export interface OrganizationRulesetRulesCommitAuthorEmailPattern {
|
|
|
361
364
|
*/
|
|
362
365
|
name?: pulumi.Input<string>;
|
|
363
366
|
/**
|
|
364
|
-
*
|
|
367
|
+
* If true, the rule will fail if the pattern matches.
|
|
365
368
|
*/
|
|
366
369
|
negate?: pulumi.Input<boolean>;
|
|
367
370
|
/**
|
|
368
|
-
*
|
|
371
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
369
372
|
*/
|
|
370
373
|
operator: pulumi.Input<string>;
|
|
371
374
|
/**
|
|
372
|
-
*
|
|
375
|
+
* The pattern to match with.
|
|
373
376
|
*/
|
|
374
377
|
pattern: pulumi.Input<string>;
|
|
375
378
|
}
|
|
@@ -379,15 +382,15 @@ export interface OrganizationRulesetRulesCommitMessagePattern {
|
|
|
379
382
|
*/
|
|
380
383
|
name?: pulumi.Input<string>;
|
|
381
384
|
/**
|
|
382
|
-
*
|
|
385
|
+
* If true, the rule will fail if the pattern matches.
|
|
383
386
|
*/
|
|
384
387
|
negate?: pulumi.Input<boolean>;
|
|
385
388
|
/**
|
|
386
|
-
*
|
|
389
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
387
390
|
*/
|
|
388
391
|
operator: pulumi.Input<string>;
|
|
389
392
|
/**
|
|
390
|
-
*
|
|
393
|
+
* The pattern to match with.
|
|
391
394
|
*/
|
|
392
395
|
pattern: pulumi.Input<string>;
|
|
393
396
|
}
|
|
@@ -397,77 +400,77 @@ export interface OrganizationRulesetRulesCommitterEmailPattern {
|
|
|
397
400
|
*/
|
|
398
401
|
name?: pulumi.Input<string>;
|
|
399
402
|
/**
|
|
400
|
-
*
|
|
403
|
+
* If true, the rule will fail if the pattern matches.
|
|
401
404
|
*/
|
|
402
405
|
negate?: pulumi.Input<boolean>;
|
|
403
406
|
/**
|
|
404
|
-
*
|
|
407
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
405
408
|
*/
|
|
406
409
|
operator: pulumi.Input<string>;
|
|
407
410
|
/**
|
|
408
|
-
*
|
|
411
|
+
* The pattern to match with.
|
|
409
412
|
*/
|
|
410
413
|
pattern: pulumi.Input<string>;
|
|
411
414
|
}
|
|
412
415
|
export interface OrganizationRulesetRulesPullRequest {
|
|
413
416
|
/**
|
|
414
|
-
*
|
|
417
|
+
* New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
|
|
415
418
|
*/
|
|
416
419
|
dismissStaleReviewsOnPush?: pulumi.Input<boolean>;
|
|
417
420
|
/**
|
|
418
|
-
*
|
|
421
|
+
* Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
|
|
419
422
|
*/
|
|
420
423
|
requireCodeOwnerReview?: pulumi.Input<boolean>;
|
|
421
424
|
/**
|
|
422
|
-
*
|
|
425
|
+
* Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
|
|
423
426
|
*/
|
|
424
427
|
requireLastPushApproval?: pulumi.Input<boolean>;
|
|
425
428
|
/**
|
|
426
|
-
*
|
|
429
|
+
* The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
|
|
427
430
|
*/
|
|
428
431
|
requiredApprovingReviewCount?: pulumi.Input<number>;
|
|
429
432
|
/**
|
|
430
|
-
*
|
|
433
|
+
* All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
|
|
431
434
|
*/
|
|
432
435
|
requiredReviewThreadResolution?: pulumi.Input<boolean>;
|
|
433
436
|
}
|
|
434
437
|
export interface OrganizationRulesetRulesRequiredStatusChecks {
|
|
435
438
|
/**
|
|
436
|
-
*
|
|
439
|
+
* Status checks that are required. Several can be defined.
|
|
437
440
|
*/
|
|
438
441
|
requiredChecks: pulumi.Input<pulumi.Input<inputs.OrganizationRulesetRulesRequiredStatusChecksRequiredCheck>[]>;
|
|
439
442
|
/**
|
|
440
|
-
*
|
|
443
|
+
* 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`.
|
|
441
444
|
*/
|
|
442
445
|
strictRequiredStatusChecksPolicy?: pulumi.Input<boolean>;
|
|
443
446
|
}
|
|
444
447
|
export interface OrganizationRulesetRulesRequiredStatusChecksRequiredCheck {
|
|
445
448
|
/**
|
|
446
|
-
*
|
|
449
|
+
* The status check context name that must be present on the commit.
|
|
447
450
|
*/
|
|
448
451
|
context: pulumi.Input<string>;
|
|
449
452
|
/**
|
|
450
|
-
*
|
|
453
|
+
* The optional integration ID that this status check must originate from.
|
|
451
454
|
*/
|
|
452
455
|
integrationId?: pulumi.Input<number>;
|
|
453
456
|
}
|
|
454
457
|
export interface OrganizationRulesetRulesRequiredWorkflows {
|
|
455
458
|
/**
|
|
456
|
-
*
|
|
459
|
+
* Actions workflows that are required. Several can be defined.
|
|
457
460
|
*/
|
|
458
461
|
requiredWorkflows: pulumi.Input<pulumi.Input<inputs.OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow>[]>;
|
|
459
462
|
}
|
|
460
463
|
export interface OrganizationRulesetRulesRequiredWorkflowsRequiredWorkflow {
|
|
461
464
|
/**
|
|
462
|
-
*
|
|
465
|
+
* The path to the workflow YAML definition file.
|
|
463
466
|
*/
|
|
464
467
|
path: pulumi.Input<string>;
|
|
465
468
|
/**
|
|
466
|
-
*
|
|
469
|
+
* The ref (branch or tag) of the workflow file to use.
|
|
467
470
|
*/
|
|
468
471
|
ref?: pulumi.Input<string>;
|
|
469
472
|
/**
|
|
470
|
-
* The repository
|
|
473
|
+
* The repository in which the workflow is defined.
|
|
471
474
|
*/
|
|
472
475
|
repositoryId: pulumi.Input<number>;
|
|
473
476
|
}
|
|
@@ -477,15 +480,15 @@ export interface OrganizationRulesetRulesTagNamePattern {
|
|
|
477
480
|
*/
|
|
478
481
|
name?: pulumi.Input<string>;
|
|
479
482
|
/**
|
|
480
|
-
*
|
|
483
|
+
* If true, the rule will fail if the pattern matches.
|
|
481
484
|
*/
|
|
482
485
|
negate?: pulumi.Input<boolean>;
|
|
483
486
|
/**
|
|
484
|
-
*
|
|
487
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
485
488
|
*/
|
|
486
489
|
operator: pulumi.Input<string>;
|
|
487
490
|
/**
|
|
488
|
-
*
|
|
491
|
+
* The pattern to match with.
|
|
489
492
|
*/
|
|
490
493
|
pattern: pulumi.Input<string>;
|
|
491
494
|
}
|
|
@@ -587,7 +590,7 @@ export interface RepositoryPages {
|
|
|
587
590
|
*/
|
|
588
591
|
source?: pulumi.Input<inputs.RepositoryPagesSource>;
|
|
589
592
|
/**
|
|
590
|
-
*
|
|
593
|
+
* The GitHub Pages site's build status e.g. `building` or `built`.
|
|
591
594
|
*/
|
|
592
595
|
status?: pulumi.Input<string>;
|
|
593
596
|
url?: pulumi.Input<string>;
|
|
@@ -615,6 +618,8 @@ export interface RepositoryRulesetBypassActor {
|
|
|
615
618
|
* (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`.
|
|
616
619
|
*
|
|
617
620
|
* > Note: at the time of writing this, the following actor types correspond to the following actor IDs:
|
|
621
|
+
* * `OrganizationAdmin` > `1`
|
|
622
|
+
* * `RepositoryRole` (This is the actor type, the following are the base repository roles and their associated IDs.)
|
|
618
623
|
*/
|
|
619
624
|
bypassMode: pulumi.Input<string>;
|
|
620
625
|
}
|
|
@@ -626,11 +631,11 @@ export interface RepositoryRulesetConditions {
|
|
|
626
631
|
}
|
|
627
632
|
export interface RepositoryRulesetConditionsRefName {
|
|
628
633
|
/**
|
|
629
|
-
*
|
|
634
|
+
* Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.
|
|
630
635
|
*/
|
|
631
636
|
excludes: pulumi.Input<pulumi.Input<string>[]>;
|
|
632
637
|
/**
|
|
633
|
-
*
|
|
638
|
+
* 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.
|
|
634
639
|
*/
|
|
635
640
|
includes: pulumi.Input<pulumi.Input<string>[]>;
|
|
636
641
|
}
|
|
@@ -702,15 +707,15 @@ export interface RepositoryRulesetRulesBranchNamePattern {
|
|
|
702
707
|
*/
|
|
703
708
|
name?: pulumi.Input<string>;
|
|
704
709
|
/**
|
|
705
|
-
*
|
|
710
|
+
* If true, the rule will fail if the pattern matches.
|
|
706
711
|
*/
|
|
707
712
|
negate?: pulumi.Input<boolean>;
|
|
708
713
|
/**
|
|
709
|
-
*
|
|
714
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
710
715
|
*/
|
|
711
716
|
operator: pulumi.Input<string>;
|
|
712
717
|
/**
|
|
713
|
-
*
|
|
718
|
+
* The pattern to match with.
|
|
714
719
|
*/
|
|
715
720
|
pattern: pulumi.Input<string>;
|
|
716
721
|
}
|
|
@@ -720,15 +725,15 @@ export interface RepositoryRulesetRulesCommitAuthorEmailPattern {
|
|
|
720
725
|
*/
|
|
721
726
|
name?: pulumi.Input<string>;
|
|
722
727
|
/**
|
|
723
|
-
*
|
|
728
|
+
* If true, the rule will fail if the pattern matches.
|
|
724
729
|
*/
|
|
725
730
|
negate?: pulumi.Input<boolean>;
|
|
726
731
|
/**
|
|
727
|
-
*
|
|
732
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
728
733
|
*/
|
|
729
734
|
operator: pulumi.Input<string>;
|
|
730
735
|
/**
|
|
731
|
-
*
|
|
736
|
+
* The pattern to match with.
|
|
732
737
|
*/
|
|
733
738
|
pattern: pulumi.Input<string>;
|
|
734
739
|
}
|
|
@@ -738,15 +743,15 @@ export interface RepositoryRulesetRulesCommitMessagePattern {
|
|
|
738
743
|
*/
|
|
739
744
|
name?: pulumi.Input<string>;
|
|
740
745
|
/**
|
|
741
|
-
*
|
|
746
|
+
* If true, the rule will fail if the pattern matches.
|
|
742
747
|
*/
|
|
743
748
|
negate?: pulumi.Input<boolean>;
|
|
744
749
|
/**
|
|
745
|
-
*
|
|
750
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
746
751
|
*/
|
|
747
752
|
operator: pulumi.Input<string>;
|
|
748
753
|
/**
|
|
749
|
-
*
|
|
754
|
+
* The pattern to match with.
|
|
750
755
|
*/
|
|
751
756
|
pattern: pulumi.Input<string>;
|
|
752
757
|
}
|
|
@@ -756,63 +761,63 @@ export interface RepositoryRulesetRulesCommitterEmailPattern {
|
|
|
756
761
|
*/
|
|
757
762
|
name?: pulumi.Input<string>;
|
|
758
763
|
/**
|
|
759
|
-
*
|
|
764
|
+
* If true, the rule will fail if the pattern matches.
|
|
760
765
|
*/
|
|
761
766
|
negate?: pulumi.Input<boolean>;
|
|
762
767
|
/**
|
|
763
|
-
*
|
|
768
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
764
769
|
*/
|
|
765
770
|
operator: pulumi.Input<string>;
|
|
766
771
|
/**
|
|
767
|
-
*
|
|
772
|
+
* The pattern to match with.
|
|
768
773
|
*/
|
|
769
774
|
pattern: pulumi.Input<string>;
|
|
770
775
|
}
|
|
771
776
|
export interface RepositoryRulesetRulesPullRequest {
|
|
772
777
|
/**
|
|
773
|
-
*
|
|
778
|
+
* New, reviewable commits pushed will dismiss previous pull request review approvals. Defaults to `false`.
|
|
774
779
|
*/
|
|
775
780
|
dismissStaleReviewsOnPush?: pulumi.Input<boolean>;
|
|
776
781
|
/**
|
|
777
|
-
*
|
|
782
|
+
* Require an approving review in pull requests that modify files that have a designated code owner. Defaults to `false`.
|
|
778
783
|
*/
|
|
779
784
|
requireCodeOwnerReview?: pulumi.Input<boolean>;
|
|
780
785
|
/**
|
|
781
|
-
*
|
|
786
|
+
* Whether the most recent reviewable push must be approved by someone other than the person who pushed it. Defaults to `false`.
|
|
782
787
|
*/
|
|
783
788
|
requireLastPushApproval?: pulumi.Input<boolean>;
|
|
784
789
|
/**
|
|
785
|
-
*
|
|
790
|
+
* The number of approving reviews that are required before a pull request can be merged. Defaults to `0`.
|
|
786
791
|
*/
|
|
787
792
|
requiredApprovingReviewCount?: pulumi.Input<number>;
|
|
788
793
|
/**
|
|
789
|
-
*
|
|
794
|
+
* All conversations on code must be resolved before a pull request can be merged. Defaults to `false`.
|
|
790
795
|
*/
|
|
791
796
|
requiredReviewThreadResolution?: pulumi.Input<boolean>;
|
|
792
797
|
}
|
|
793
798
|
export interface RepositoryRulesetRulesRequiredDeployments {
|
|
794
799
|
/**
|
|
795
|
-
*
|
|
800
|
+
* The environments that must be successfully deployed to before branches can be merged.
|
|
796
801
|
*/
|
|
797
802
|
requiredDeploymentEnvironments: pulumi.Input<pulumi.Input<string>[]>;
|
|
798
803
|
}
|
|
799
804
|
export interface RepositoryRulesetRulesRequiredStatusChecks {
|
|
800
805
|
/**
|
|
801
|
-
*
|
|
806
|
+
* Status checks that are required. Several can be defined.
|
|
802
807
|
*/
|
|
803
808
|
requiredChecks: pulumi.Input<pulumi.Input<inputs.RepositoryRulesetRulesRequiredStatusChecksRequiredCheck>[]>;
|
|
804
809
|
/**
|
|
805
|
-
*
|
|
810
|
+
* 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`.
|
|
806
811
|
*/
|
|
807
812
|
strictRequiredStatusChecksPolicy?: pulumi.Input<boolean>;
|
|
808
813
|
}
|
|
809
814
|
export interface RepositoryRulesetRulesRequiredStatusChecksRequiredCheck {
|
|
810
815
|
/**
|
|
811
|
-
*
|
|
816
|
+
* The status check context name that must be present on the commit.
|
|
812
817
|
*/
|
|
813
818
|
context: pulumi.Input<string>;
|
|
814
819
|
/**
|
|
815
|
-
*
|
|
820
|
+
* The optional integration ID that this status check must originate from.
|
|
816
821
|
*/
|
|
817
822
|
integrationId?: pulumi.Input<number>;
|
|
818
823
|
}
|
|
@@ -822,15 +827,15 @@ export interface RepositoryRulesetRulesTagNamePattern {
|
|
|
822
827
|
*/
|
|
823
828
|
name?: pulumi.Input<string>;
|
|
824
829
|
/**
|
|
825
|
-
*
|
|
830
|
+
* If true, the rule will fail if the pattern matches.
|
|
826
831
|
*/
|
|
827
832
|
negate?: pulumi.Input<boolean>;
|
|
828
833
|
/**
|
|
829
|
-
*
|
|
834
|
+
* The operator to use for matching. Can be one of: `startsWith`, `endsWith`, `contains`, `regex`.
|
|
830
835
|
*/
|
|
831
836
|
operator: pulumi.Input<string>;
|
|
832
837
|
/**
|
|
833
|
-
*
|
|
838
|
+
* The pattern to match with.
|
|
834
839
|
*/
|
|
835
840
|
pattern: pulumi.Input<string>;
|
|
836
841
|
}
|
|
@@ -856,13 +861,13 @@ export interface RepositorySecurityAndAnalysisAdvancedSecurity {
|
|
|
856
861
|
}
|
|
857
862
|
export interface RepositorySecurityAndAnalysisSecretScanning {
|
|
858
863
|
/**
|
|
859
|
-
*
|
|
864
|
+
* The GitHub Pages site's build status e.g. `building` or `built`.
|
|
860
865
|
*/
|
|
861
866
|
status: pulumi.Input<string>;
|
|
862
867
|
}
|
|
863
868
|
export interface RepositorySecurityAndAnalysisSecretScanningPushProtection {
|
|
864
869
|
/**
|
|
865
|
-
*
|
|
870
|
+
* The GitHub Pages site's build status e.g. `building` or `built`.
|
|
866
871
|
*/
|
|
867
872
|
status: pulumi.Input<string>;
|
|
868
873
|
}
|
|
@@ -911,15 +916,15 @@ export interface TeamMembersMember {
|
|
|
911
916
|
}
|
|
912
917
|
export interface TeamSettingsReviewRequestDelegation {
|
|
913
918
|
/**
|
|
914
|
-
* The algorithm to use when assigning pull requests to team members. Supported values are
|
|
919
|
+
* The algorithm to use when assigning pull requests to team members. Supported values are 'ROUND_ROBIN' and 'LOAD_BALANCE'.
|
|
915
920
|
*/
|
|
916
921
|
algorithm?: pulumi.Input<string>;
|
|
917
922
|
/**
|
|
918
|
-
* The number of team members to assign to a pull request
|
|
923
|
+
* The number of team members to assign to a pull request.
|
|
919
924
|
*/
|
|
920
925
|
memberCount?: pulumi.Input<number>;
|
|
921
926
|
/**
|
|
922
|
-
* whether to notify the entire team when at least one member is also assigned to the pull request
|
|
927
|
+
* whether to notify the entire team when at least one member is also assigned to the pull request.
|
|
923
928
|
*/
|
|
924
929
|
notify?: pulumi.Input<boolean>;
|
|
925
930
|
}
|