@pulumi/github 5.22.0-alpha.1698126165 → 5.22.0-alpha.1698198281
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 -37
- package/actionsEnvironmentSecret.js +0 -37
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsEnvironmentVariable.d.ts +0 -32
- package/actionsEnvironmentVariable.js +0 -32
- package/actionsEnvironmentVariable.js.map +1 -1
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +0 -13
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +0 -13
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +0 -24
- package/actionsOrganizationPermissions.js +0 -24
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +0 -39
- package/actionsOrganizationSecret.js +0 -39
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +0 -15
- package/actionsOrganizationSecretRepositories.js +0 -15
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsOrganizationVariable.d.ts +0 -28
- package/actionsOrganizationVariable.js +0 -28
- package/actionsOrganizationVariable.js.map +1 -1
- package/actionsRepositoryAccessLevel.d.ts +0 -13
- package/actionsRepositoryAccessLevel.js +0 -13
- package/actionsRepositoryAccessLevel.js.map +1 -1
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +0 -18
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +0 -18
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsRepositoryPermissions.d.ts +0 -21
- package/actionsRepositoryPermissions.js +0 -21
- package/actionsRepositoryPermissions.js.map +1 -1
- package/actionsRunnerGroup.d.ts +0 -13
- package/actionsRunnerGroup.js +0 -13
- 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 +0 -13
- package/actionsVariable.js +0 -13
- package/actionsVariable.js.map +1 -1
- package/appInstallationRepository.d.ts +0 -14
- package/appInstallationRepository.js +0 -14
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +0 -12
- package/branch.js +0 -12
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +0 -39
- package/branchDefault.js +0 -39
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +0 -51
- package/branchProtection.js +0 -51
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.d.ts +0 -56
- package/branchProtectionV3.js +0 -56
- package/branchProtectionV3.js.map +1 -1
- package/codespacesOrganizationSecret.d.ts +0 -39
- package/codespacesOrganizationSecret.js +0 -39
- package/codespacesOrganizationSecret.js.map +1 -1
- package/codespacesOrganizationSecretRepositories.d.ts +0 -15
- package/codespacesOrganizationSecretRepositories.js +0 -15
- 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/emuGroupMapping.d.ts +0 -13
- package/emuGroupMapping.js +0 -13
- package/emuGroupMapping.js.map +1 -1
- package/enterpriseOrganization.d.ts +0 -15
- package/enterpriseOrganization.js +0 -15
- package/enterpriseOrganization.js.map +1 -1
- package/getActionsEnvironmentSecrets.d.ts +0 -24
- package/getActionsEnvironmentSecrets.js +0 -24
- package/getActionsEnvironmentSecrets.js.map +1 -1
- package/getActionsEnvironmentVariables.d.ts +0 -24
- package/getActionsEnvironmentVariables.js +0 -24
- package/getActionsEnvironmentVariables.js.map +1 -1
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +0 -18
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js +0 -18
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsOrganizationPublicKey.d.ts +0 -18
- package/getActionsOrganizationPublicKey.js +0 -18
- package/getActionsOrganizationPublicKey.js.map +1 -1
- package/getActionsOrganizationRegistrationToken.d.ts +0 -18
- package/getActionsOrganizationRegistrationToken.js +0 -18
- package/getActionsOrganizationRegistrationToken.js.map +1 -1
- package/getActionsOrganizationSecrets.d.ts +0 -18
- package/getActionsOrganizationSecrets.js +0 -18
- package/getActionsOrganizationSecrets.js.map +1 -1
- package/getActionsOrganizationVariables.d.ts +0 -18
- package/getActionsOrganizationVariables.js +0 -18
- package/getActionsOrganizationVariables.js.map +1 -1
- package/getActionsPublicKey.d.ts +0 -22
- package/getActionsPublicKey.js +0 -22
- package/getActionsPublicKey.js.map +1 -1
- package/getActionsRegistrationToken.d.ts +0 -22
- package/getActionsRegistrationToken.js +0 -22
- package/getActionsRegistrationToken.js.map +1 -1
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +0 -22
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js +0 -22
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsSecrets.d.ts +0 -22
- package/getActionsSecrets.js +0 -22
- package/getActionsSecrets.js.map +1 -1
- package/getActionsVariables.d.ts +0 -22
- package/getActionsVariables.js +0 -22
- package/getActionsVariables.js.map +1 -1
- package/getAppToken.d.ts +0 -28
- package/getAppToken.js +0 -28
- package/getAppToken.js.map +1 -1
- package/getBranch.d.ts +0 -24
- package/getBranch.js +0 -24
- package/getBranch.js.map +1 -1
- package/getBranchProtectionRules.d.ts +0 -22
- package/getBranchProtectionRules.js +0 -22
- package/getBranchProtectionRules.js.map +1 -1
- package/getCodespacesOrganizationPublicKey.d.ts +0 -18
- package/getCodespacesOrganizationPublicKey.js +0 -18
- package/getCodespacesOrganizationPublicKey.js.map +1 -1
- package/getCodespacesOrganizationSecrets.d.ts +0 -18
- package/getCodespacesOrganizationSecrets.js +0 -18
- package/getCodespacesOrganizationSecrets.js.map +1 -1
- package/getCodespacesPublicKey.d.ts +0 -22
- package/getCodespacesPublicKey.js +0 -22
- package/getCodespacesPublicKey.js.map +1 -1
- package/getCodespacesSecrets.d.ts +0 -28
- package/getCodespacesSecrets.js +0 -28
- package/getCodespacesSecrets.js.map +1 -1
- package/getCodespacesUserPublicKey.d.ts +0 -18
- package/getCodespacesUserPublicKey.js +0 -18
- package/getCodespacesUserPublicKey.js.map +1 -1
- package/getCodespacesUserSecrets.d.ts +0 -18
- package/getCodespacesUserSecrets.js +0 -18
- package/getCodespacesUserSecrets.js.map +1 -1
- package/getCollaborators.d.ts +0 -24
- package/getCollaborators.js +0 -24
- package/getCollaborators.js.map +1 -1
- package/getDependabotOrganizationPublicKey.d.ts +0 -18
- package/getDependabotOrganizationPublicKey.js +0 -18
- package/getDependabotOrganizationPublicKey.js.map +1 -1
- package/getDependabotOrganizationSecrets.d.ts +0 -18
- package/getDependabotOrganizationSecrets.js +0 -18
- package/getDependabotOrganizationSecrets.js.map +1 -1
- package/getDependabotSecrets.d.ts +0 -22
- package/getDependabotSecrets.js +0 -22
- package/getDependabotSecrets.js.map +1 -1
- package/getEnterprise.d.ts +0 -22
- package/getEnterprise.js +0 -22
- package/getEnterprise.js.map +1 -1
- package/getExternalGroups.d.ts +0 -22
- package/getExternalGroups.js +0 -22
- package/getExternalGroups.js.map +1 -1
- package/getGithubApp.d.ts +0 -22
- package/getGithubApp.js +0 -22
- package/getGithubApp.js.map +1 -1
- package/getIpRanges.d.ts +0 -18
- package/getIpRanges.js +0 -18
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +0 -22
- package/getMembership.js +0 -22
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +0 -22
- package/getOrganization.js +0 -22
- package/getOrganization.js.map +1 -1
- package/getOrganizationCustomRole.d.ts +0 -22
- package/getOrganizationCustomRole.js +0 -22
- package/getOrganizationCustomRole.js.map +1 -1
- package/getOrganizationExternalIdentities.d.ts +0 -18
- package/getOrganizationExternalIdentities.js +0 -18
- package/getOrganizationExternalIdentities.js.map +1 -1
- package/getOrganizationIpAllowList.d.ts +0 -18
- package/getOrganizationIpAllowList.js +0 -18
- package/getOrganizationIpAllowList.js.map +1 -1
- package/getOrganizationTeamSyncGroups.d.ts +0 -18
- package/getOrganizationTeamSyncGroups.js +0 -18
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +0 -44
- package/getOrganizationTeams.js +0 -44
- package/getOrganizationTeams.js.map +1 -1
- package/getOrganizationWebhooks.d.ts +0 -22
- package/getOrganizationWebhooks.js +0 -22
- package/getOrganizationWebhooks.js.map +1 -1
- package/getRef.d.ts +0 -26
- package/getRef.js +0 -26
- package/getRef.js.map +1 -1
- package/getRepositories.d.ts +0 -24
- package/getRepositories.js +0 -24
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +0 -22
- package/getRepository.js +0 -22
- package/getRepository.js.map +1 -1
- package/getRepositoryAutolinkReferences.d.ts +0 -22
- package/getRepositoryAutolinkReferences.js +0 -22
- package/getRepositoryAutolinkReferences.js.map +1 -1
- package/getRepositoryBranches.d.ts +0 -22
- package/getRepositoryBranches.js +0 -22
- package/getRepositoryBranches.js.map +1 -1
- package/getRepositoryDeployKeys.d.ts +0 -22
- package/getRepositoryDeployKeys.js +0 -22
- package/getRepositoryDeployKeys.js.map +1 -1
- package/getRepositoryDeploymentBranchPolicies.d.ts +0 -24
- package/getRepositoryDeploymentBranchPolicies.js +0 -24
- package/getRepositoryDeploymentBranchPolicies.js.map +1 -1
- package/getRepositoryEnvironments.d.ts +0 -22
- package/getRepositoryEnvironments.js +0 -22
- package/getRepositoryEnvironments.js.map +1 -1
- package/getRepositoryFile.d.ts +0 -26
- package/getRepositoryFile.js +0 -26
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +0 -26
- package/getRepositoryMilestone.js +0 -26
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +0 -24
- package/getRepositoryPullRequest.js +0 -24
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +0 -30
- package/getRepositoryPullRequests.js +0 -30
- package/getRepositoryPullRequests.js.map +1 -1
- package/getRepositoryTeams.d.ts +0 -22
- package/getRepositoryTeams.js +0 -22
- package/getRepositoryTeams.js.map +1 -1
- package/getRepositoryWebhooks.d.ts +0 -26
- package/getRepositoryWebhooks.js +0 -26
- package/getRepositoryWebhooks.js.map +1 -1
- package/getRestApi.d.ts +0 -22
- package/getRestApi.js +0 -22
- package/getRestApi.js.map +1 -1
- package/getSshKeys.d.ts +0 -18
- package/getSshKeys.js +0 -18
- package/getSshKeys.js.map +1 -1
- package/getTeam.d.ts +0 -22
- package/getTeam.js +0 -22
- package/getTeam.js.map +1 -1
- package/getTree.d.ts +0 -42
- package/getTree.js +0 -42
- package/getTree.js.map +1 -1
- package/getUser.d.ts +0 -30
- package/getUser.js +0 -30
- package/getUser.js.map +1 -1
- package/getUserExternalIdentity.d.ts +0 -22
- package/getUserExternalIdentity.js +0 -22
- package/getUserExternalIdentity.js.map +1 -1
- package/getUsers.d.ts +0 -34
- package/getUsers.js +0 -34
- package/getUsers.js.map +1 -1
- package/issue.d.ts +0 -49
- package/issue.js +0 -49
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +0 -13
- package/issueLabel.js +0 -13
- package/issueLabel.js.map +1 -1
- package/membership.d.ts +0 -13
- package/membership.js +0 -13
- package/membership.js.map +1 -1
- package/organizationBlock.d.ts +0 -9
- package/organizationBlock.js +0 -9
- package/organizationBlock.js.map +1 -1
- package/organizationCustomRole.d.ts +0 -33
- package/organizationCustomRole.js +0 -33
- package/organizationCustomRole.js.map +1 -1
- package/organizationProject.d.ts +0 -9
- package/organizationProject.js +0 -9
- package/organizationProject.js.map +1 -1
- package/organizationSecurityManager.d.ts +0 -10
- package/organizationSecurityManager.js +0 -10
- package/organizationSecurityManager.js.map +1 -1
- package/organizationSettings.d.ts +0 -35
- package/organizationSettings.js +0 -35
- package/organizationSettings.js.map +1 -1
- package/organizationWebhook.d.ts +0 -17
- package/organizationWebhook.js +0 -17
- package/organizationWebhook.js.map +1 -1
- package/package.json +1 -1
- package/projectCard.d.ts +0 -40
- package/projectCard.js +0 -40
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +0 -10
- package/projectColumn.js +0 -10
- package/projectColumn.js.map +1 -1
- package/release.d.ts +0 -36
- package/release.js +0 -36
- package/release.js.map +1 -1
- package/repository.d.ts +0 -34
- package/repository.js +0 -34
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +0 -17
- package/repositoryAutolinkReference.js +0 -17
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +0 -14
- package/repositoryCollaborator.js +0 -14
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryCollaborators.d.ts +0 -22
- package/repositoryCollaborators.js +0 -22
- package/repositoryCollaborators.js.map +1 -1
- package/repositoryDeployKey.d.ts +0 -15
- package/repositoryDeployKey.js +0 -15
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryDeploymentBranchPolicy.d.ts +0 -22
- package/repositoryDeploymentBranchPolicy.js +0 -22
- package/repositoryDeploymentBranchPolicy.js.map +1 -1
- package/repositoryEnvironment.d.ts +0 -23
- package/repositoryEnvironment.js +0 -23
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryEnvironmentDeploymentPolicy.d.ts +0 -29
- package/repositoryEnvironmentDeploymentPolicy.js +0 -29
- package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
- package/repositoryFile.d.ts +0 -19
- package/repositoryFile.js +0 -19
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.d.ts +0 -14
- package/repositoryMilestone.js +0 -14
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.d.ts +0 -16
- package/repositoryProject.js +0 -16
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.d.ts +0 -15
- package/repositoryPullRequest.js +0 -15
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryRuleset.d.ts +0 -35
- package/repositoryRuleset.js +0 -35
- package/repositoryRuleset.js.map +1 -1
- package/repositoryTagProtection.d.ts +0 -12
- package/repositoryTagProtection.js +0 -12
- package/repositoryTagProtection.js.map +1 -1
- package/repositoryTopics.d.ts +0 -18
- package/repositoryTopics.js +0 -18
- package/repositoryTopics.js.map +1 -1
- package/repositoryWebhook.d.ts +0 -23
- package/repositoryWebhook.js +0 -23
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +0 -13
- package/team.js +0 -13
- package/team.js.map +1 -1
- package/teamMembers.d.ts +0 -31
- package/teamMembers.js +0 -31
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +0 -19
- package/teamMembership.js +0 -19
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +0 -16
- package/teamRepository.js +0 -16
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +0 -18
- package/teamSettings.js +0 -18
- package/teamSettings.js.map +1 -1
- package/userGpgKey.d.ts +0 -12
- package/userGpgKey.js +0 -12
- package/userGpgKey.js.map +1 -1
- package/userSshKey.d.ts +0 -13
- package/userSshKey.js +0 -13
- package/userSshKey.js.map +1 -1
|
@@ -14,24 +14,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
* | `false` | Set | `includeClaimKeys` |
|
|
15
15
|
* | `false` | Unset | Organization's default if set, otherwise GitHub's default |
|
|
16
16
|
*
|
|
17
|
-
* ## Example Usage
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as github from "@pulumi/github";
|
|
22
|
-
*
|
|
23
|
-
* const example = new github.Repository("example", {});
|
|
24
|
-
* const exampleTemplate = new github.ActionsRepositoryOidcSubjectClaimCustomizationTemplate("exampleTemplate", {
|
|
25
|
-
* repository: example.name,
|
|
26
|
-
* useDefault: false,
|
|
27
|
-
* includeClaimKeys: [
|
|
28
|
-
* "actor",
|
|
29
|
-
* "context",
|
|
30
|
-
* "repository_owner",
|
|
31
|
-
* ],
|
|
32
|
-
* });
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
17
|
* ## Import
|
|
36
18
|
*
|
|
37
19
|
* This resource can be imported using the repository's name.
|
|
@@ -20,24 +20,6 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* | `false` | Set | `includeClaimKeys` |
|
|
21
21
|
* | `false` | Unset | Organization's default if set, otherwise GitHub's default |
|
|
22
22
|
*
|
|
23
|
-
* ## Example Usage
|
|
24
|
-
*
|
|
25
|
-
* ```typescript
|
|
26
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
-
* import * as github from "@pulumi/github";
|
|
28
|
-
*
|
|
29
|
-
* const example = new github.Repository("example", {});
|
|
30
|
-
* const exampleTemplate = new github.ActionsRepositoryOidcSubjectClaimCustomizationTemplate("exampleTemplate", {
|
|
31
|
-
* repository: example.name,
|
|
32
|
-
* useDefault: false,
|
|
33
|
-
* includeClaimKeys: [
|
|
34
|
-
* "actor",
|
|
35
|
-
* "context",
|
|
36
|
-
* "repository_owner",
|
|
37
|
-
* ],
|
|
38
|
-
* });
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
23
|
* ## Import
|
|
42
24
|
*
|
|
43
25
|
* This resource can be imported using the repository's name.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsRepositoryOidcSubjectClaimCustomizationTemplate.js","sourceRoot":"","sources":["../actionsRepositoryOidcSubjectClaimCustomizationTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsRepositoryOidcSubjectClaimCustomizationTemplate.js","sourceRoot":"","sources":["../actionsRepositoryOidcSubjectClaimCustomizationTemplate.ts"],"names":[],"mappings":";AA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,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sDAAsD,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3G,CAAC;;AAxEL,wHAyEC;AA3DG,gBAAgB;AACO,mEAAY,GAAG,4HAA4H,CAAC"}
|
|
@@ -5,27 +5,6 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* This resource allows you to enable and manage GitHub Actions permissions for a given repository.
|
|
6
6
|
* You must have admin access to an repository to use this resource.
|
|
7
7
|
*
|
|
8
|
-
* ## Example Usage
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as github from "@pulumi/github";
|
|
13
|
-
*
|
|
14
|
-
* const example = new github.Repository("example", {});
|
|
15
|
-
* const test = new github.ActionsRepositoryPermissions("test", {
|
|
16
|
-
* allowedActions: "selected",
|
|
17
|
-
* allowedActionsConfig: {
|
|
18
|
-
* githubOwnedAllowed: true,
|
|
19
|
-
* patternsAlloweds: [
|
|
20
|
-
* "actions/cache@*",
|
|
21
|
-
* "actions/checkout@*",
|
|
22
|
-
* ],
|
|
23
|
-
* verifiedAllowed: true,
|
|
24
|
-
* },
|
|
25
|
-
* repository: example.name,
|
|
26
|
-
* });
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
8
|
* ## Import
|
|
30
9
|
*
|
|
31
10
|
* This resource can be imported using the name of the GitHub repository:
|
|
@@ -9,27 +9,6 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* This resource allows you to enable and manage GitHub Actions permissions for a given repository.
|
|
10
10
|
* You must have admin access to an repository to use this resource.
|
|
11
11
|
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as github from "@pulumi/github";
|
|
17
|
-
*
|
|
18
|
-
* const example = new github.Repository("example", {});
|
|
19
|
-
* const test = new github.ActionsRepositoryPermissions("test", {
|
|
20
|
-
* allowedActions: "selected",
|
|
21
|
-
* allowedActionsConfig: {
|
|
22
|
-
* githubOwnedAllowed: true,
|
|
23
|
-
* patternsAlloweds: [
|
|
24
|
-
* "actions/cache@*",
|
|
25
|
-
* "actions/checkout@*",
|
|
26
|
-
* ],
|
|
27
|
-
* verifiedAllowed: true,
|
|
28
|
-
* },
|
|
29
|
-
* repository: example.name,
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
12
|
* ## Import
|
|
34
13
|
*
|
|
35
14
|
* This resource can be imported using the name of the GitHub repository:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsRepositoryPermissions.js","sourceRoot":"","sources":["../actionsRepositoryPermissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
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AAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;aAAM;YACH,MAAM,IAAI,GAAG,WAA2D,CAAC;YACzE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,4BAA4B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjF,CAAC;;AA1EL,oEA2EC;AA7DG,gBAAgB;AACO,yCAAY,GAAG,wEAAwE,CAAC"}
|
package/actionsRunnerGroup.d.ts
CHANGED
|
@@ -3,19 +3,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* This resource allows you to create and manage GitHub Actions runner groups within your GitHub enterprise organizations.
|
|
4
4
|
* You must have admin access to an organization to use this resource.
|
|
5
5
|
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as github from "@pulumi/github";
|
|
11
|
-
*
|
|
12
|
-
* const exampleRepository = new github.Repository("exampleRepository", {});
|
|
13
|
-
* const exampleActionsRunnerGroup = new github.ActionsRunnerGroup("exampleActionsRunnerGroup", {
|
|
14
|
-
* visibility: "selected",
|
|
15
|
-
* selectedRepositoryIds: [exampleRepository.repoId],
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
6
|
* ## Import
|
|
20
7
|
*
|
|
21
8
|
* This resource can be imported using the ID of the runner group:
|
package/actionsRunnerGroup.js
CHANGED
|
@@ -9,19 +9,6 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* This resource allows you to create and manage GitHub Actions runner groups within your GitHub enterprise organizations.
|
|
10
10
|
* You must have admin access to an organization to use this resource.
|
|
11
11
|
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as github from "@pulumi/github";
|
|
17
|
-
*
|
|
18
|
-
* const exampleRepository = new github.Repository("exampleRepository", {});
|
|
19
|
-
* const exampleActionsRunnerGroup = new github.ActionsRunnerGroup("exampleActionsRunnerGroup", {
|
|
20
|
-
* visibility: "selected",
|
|
21
|
-
* selectedRepositoryIds: [exampleRepository.repoId],
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
12
|
* ## Import
|
|
26
13
|
*
|
|
27
14
|
* This resource can be imported using the ID of the runner group:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsRunnerGroup.js","sourceRoot":"","sources":["../actionsRunnerGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsRunnerGroup.js","sourceRoot":"","sources":["../actionsRunnerGroup.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C,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,yBAAyB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AApHL,gDAqHC;AAvGG,gBAAgB;AACO,+BAAY,GAAG,oDAAoD,CAAC"}
|
package/actionsSecret.d.ts
CHANGED
|
@@ -1,26 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ## Example Usage
|
|
4
|
-
*
|
|
5
|
-
* ```typescript
|
|
6
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
-
* import * as github from "@pulumi/github";
|
|
8
|
-
*
|
|
9
|
-
* const examplePublicKey = github.getActionsPublicKey({
|
|
10
|
-
* repository: "example_repository",
|
|
11
|
-
* });
|
|
12
|
-
* const exampleSecretActionsSecret = new github.ActionsSecret("exampleSecretActionsSecret", {
|
|
13
|
-
* repository: "example_repository",
|
|
14
|
-
* secretName: "example_secret_name",
|
|
15
|
-
* plaintextValue: _var.some_secret_string,
|
|
16
|
-
* });
|
|
17
|
-
* const exampleSecretIndex_actionsSecretActionsSecret = new github.ActionsSecret("exampleSecretIndex/actionsSecretActionsSecret", {
|
|
18
|
-
* repository: "example_repository",
|
|
19
|
-
* secretName: "example_secret_name",
|
|
20
|
-
* encryptedValue: _var.some_encrypted_secret_string,
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
3
|
* ## Import
|
|
25
4
|
*
|
|
26
5
|
* This resource can be imported using an ID made up of the `repository` and `secret_name`:
|
package/actionsSecret.js
CHANGED
|
@@ -6,27 +6,6 @@ exports.ActionsSecret = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as github from "@pulumi/github";
|
|
14
|
-
*
|
|
15
|
-
* const examplePublicKey = github.getActionsPublicKey({
|
|
16
|
-
* repository: "example_repository",
|
|
17
|
-
* });
|
|
18
|
-
* const exampleSecretActionsSecret = new github.ActionsSecret("exampleSecretActionsSecret", {
|
|
19
|
-
* repository: "example_repository",
|
|
20
|
-
* secretName: "example_secret_name",
|
|
21
|
-
* plaintextValue: _var.some_secret_string,
|
|
22
|
-
* });
|
|
23
|
-
* const exampleSecretIndex_actionsSecretActionsSecret = new github.ActionsSecret("exampleSecretIndex/actionsSecretActionsSecret", {
|
|
24
|
-
* repository: "example_repository",
|
|
25
|
-
* secretName: "example_secret_name",
|
|
26
|
-
* encryptedValue: _var.some_encrypted_secret_string,
|
|
27
|
-
* });
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
9
|
* ## Import
|
|
31
10
|
*
|
|
32
11
|
* This resource can be imported using an ID made up of the `repository` and `secret_name`:
|
package/actionsSecret.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsSecret.js","sourceRoot":"","sources":["../actionsSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsSecret.js","sourceRoot":"","sources":["../actionsSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,C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,IAAI,uBAAJ,IAAI,CAAE,cAAc,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACzG,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,EAAE,CAAC;QACrF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA3FL,sCA4FC;AA9EG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
package/actionsVariable.d.ts
CHANGED
|
@@ -3,19 +3,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* This resource allows you to create and manage GitHub Actions variables within your GitHub repositories.
|
|
4
4
|
* You must have write access to a repository to use this resource.
|
|
5
5
|
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as github from "@pulumi/github";
|
|
11
|
-
*
|
|
12
|
-
* const exampleVariable = new github.ActionsVariable("exampleVariable", {
|
|
13
|
-
* repository: "example_repository",
|
|
14
|
-
* value: "example_variable_value",
|
|
15
|
-
* variableName: "example_variable_name",
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
6
|
* ## Import
|
|
20
7
|
*
|
|
21
8
|
* GitHub Actions variables can be imported using an ID made up of `repository:variable_name`, e.g.
|
package/actionsVariable.js
CHANGED
|
@@ -9,19 +9,6 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* This resource allows you to create and manage GitHub Actions variables within your GitHub repositories.
|
|
10
10
|
* You must have write access to a repository to use this resource.
|
|
11
11
|
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as github from "@pulumi/github";
|
|
17
|
-
*
|
|
18
|
-
* const exampleVariable = new github.ActionsVariable("exampleVariable", {
|
|
19
|
-
* repository: "example_repository",
|
|
20
|
-
* value: "example_variable_value",
|
|
21
|
-
* variableName: "example_variable_name",
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
12
|
* ## Import
|
|
26
13
|
*
|
|
27
14
|
* GitHub Actions variables can be imported using an ID made up of `repository:variable_name`, e.g.
|
package/actionsVariable.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsVariable.js","sourceRoot":"","sources":["../actionsVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsVariable.js","sourceRoot":"","sources":["../actionsVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MA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ions at this
|
|
13
13
|
* [link](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations).
|
|
14
14
|
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as github from "@pulumi/github";
|
|
20
|
-
*
|
|
21
|
-
* // Create a repository.
|
|
22
|
-
* const someRepo = new github.Repository("someRepo", {});
|
|
23
|
-
* const someAppRepo = new github.AppInstallationRepository("someAppRepo", {
|
|
24
|
-
* installationId: "1234567",
|
|
25
|
-
* repository: someRepo.name,
|
|
26
|
-
* });
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
15
|
* ## Import
|
|
30
16
|
*
|
|
31
17
|
* GitHub App Installation Repository can be imported using an ID made up of `installation_id:repository`, e.g.
|
|
@@ -18,20 +18,6 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* by the following the instructions at this
|
|
19
19
|
* [link](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations).
|
|
20
20
|
*
|
|
21
|
-
* ## Example Usage
|
|
22
|
-
*
|
|
23
|
-
* ```typescript
|
|
24
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
25
|
-
* import * as github from "@pulumi/github";
|
|
26
|
-
*
|
|
27
|
-
* // Create a repository.
|
|
28
|
-
* const someRepo = new github.Repository("someRepo", {});
|
|
29
|
-
* const someAppRepo = new github.AppInstallationRepository("someAppRepo", {
|
|
30
|
-
* installationId: "1234567",
|
|
31
|
-
* repository: someRepo.name,
|
|
32
|
-
* });
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
21
|
* ## Import
|
|
36
22
|
*
|
|
37
23
|
* GitHub App Installation Repository can be imported using an ID made up of `installation_id:repository`, e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appInstallationRepository.js","sourceRoot":"","sources":["../appInstallationRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"appInstallationRepository.js","sourceRoot":"","sources":["../appInstallationRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IAoBD,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;aAAM;YACH,MAAM,IAAI,GAAG,WAAwD,CAAC;YACtE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AApEL,8DAqEC;AAvDG,gBAAgB;AACO,sCAAY,GAAG,kEAAkE,CAAC"}
|
package/branch.d.ts
CHANGED
|
@@ -5,18 +5,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
* Additional constraints can be applied to ensure your branch is created from
|
|
6
6
|
* another branch or commit.
|
|
7
7
|
*
|
|
8
|
-
* ## Example Usage
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as github from "@pulumi/github";
|
|
13
|
-
*
|
|
14
|
-
* const development = new github.Branch("development", {
|
|
15
|
-
* branch: "development",
|
|
16
|
-
* repository: "example",
|
|
17
|
-
* });
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
8
|
* ## Import
|
|
21
9
|
*
|
|
22
10
|
* GitHub Branch can be imported using an ID made up of `repository:branch`, e.g.
|
package/branch.js
CHANGED
|
@@ -11,18 +11,6 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* Additional constraints can be applied to ensure your branch is created from
|
|
12
12
|
* another branch or commit.
|
|
13
13
|
*
|
|
14
|
-
* ## Example Usage
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as github from "@pulumi/github";
|
|
19
|
-
*
|
|
20
|
-
* const development = new github.Branch("development", {
|
|
21
|
-
* branch: "development",
|
|
22
|
-
* repository: "example",
|
|
23
|
-
* });
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
14
|
* ## Import
|
|
27
15
|
*
|
|
28
16
|
* GitHub Branch can be imported using an ID made up of `repository:branch`, e.g.
|
package/branch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branch.js","sourceRoot":"","sources":["../branch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"branch.js","sourceRoot":"","sources":["../branch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,K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AAgB;AACO,mBAAY,GAAG,4BAA4B,CAAC"}
|
package/branchDefault.d.ts
CHANGED
|
@@ -6,45 +6,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* Note that use of this resource is incompatible with the `defaultBranch` option of the `github.Repository` resource. Using both will result in plans always showing a diff.
|
|
8
8
|
*
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* Basic usage:
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as github from "@pulumi/github";
|
|
16
|
-
*
|
|
17
|
-
* const example = new github.Repository("example", {
|
|
18
|
-
* description: "My awesome codebase",
|
|
19
|
-
* autoInit: true,
|
|
20
|
-
* });
|
|
21
|
-
* const development = new github.Branch("development", {
|
|
22
|
-
* repository: example.name,
|
|
23
|
-
* branch: "development",
|
|
24
|
-
* });
|
|
25
|
-
* const _default = new github.BranchDefault("default", {
|
|
26
|
-
* repository: example.name,
|
|
27
|
-
* branch: development.branch,
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
30
|
-
*
|
|
31
|
-
* Renaming to a branch that doesn't exist:
|
|
32
|
-
*
|
|
33
|
-
* ```typescript
|
|
34
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
-
* import * as github from "@pulumi/github";
|
|
36
|
-
*
|
|
37
|
-
* const example = new github.Repository("example", {
|
|
38
|
-
* description: "My awesome codebase",
|
|
39
|
-
* autoInit: true,
|
|
40
|
-
* });
|
|
41
|
-
* const _default = new github.BranchDefault("default", {
|
|
42
|
-
* repository: example.name,
|
|
43
|
-
* branch: "development",
|
|
44
|
-
* rename: true,
|
|
45
|
-
* });
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
9
|
* ## Import
|
|
49
10
|
*
|
|
50
11
|
* GitHub Branch Defaults can be imported using an ID made up of `repository`, e.g.
|
package/branchDefault.js
CHANGED
|
@@ -12,45 +12,6 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* Note that use of this resource is incompatible with the `defaultBranch` option of the `github.Repository` resource. Using both will result in plans always showing a diff.
|
|
14
14
|
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* Basic usage:
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as github from "@pulumi/github";
|
|
22
|
-
*
|
|
23
|
-
* const example = new github.Repository("example", {
|
|
24
|
-
* description: "My awesome codebase",
|
|
25
|
-
* autoInit: true,
|
|
26
|
-
* });
|
|
27
|
-
* const development = new github.Branch("development", {
|
|
28
|
-
* repository: example.name,
|
|
29
|
-
* branch: "development",
|
|
30
|
-
* });
|
|
31
|
-
* const _default = new github.BranchDefault("default", {
|
|
32
|
-
* repository: example.name,
|
|
33
|
-
* branch: development.branch,
|
|
34
|
-
* });
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* Renaming to a branch that doesn't exist:
|
|
38
|
-
*
|
|
39
|
-
* ```typescript
|
|
40
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
-
* import * as github from "@pulumi/github";
|
|
42
|
-
*
|
|
43
|
-
* const example = new github.Repository("example", {
|
|
44
|
-
* description: "My awesome codebase",
|
|
45
|
-
* autoInit: true,
|
|
46
|
-
* });
|
|
47
|
-
* const _default = new github.BranchDefault("default", {
|
|
48
|
-
* repository: example.name,
|
|
49
|
-
* branch: "development",
|
|
50
|
-
* rename: true,
|
|
51
|
-
* });
|
|
52
|
-
* ```
|
|
53
|
-
*
|
|
54
15
|
* ## Import
|
|
55
16
|
*
|
|
56
17
|
* GitHub Branch Defaults can be imported using an ID made up of `repository`, e.g.
|
package/branchDefault.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branchDefault.js","sourceRoot":"","sources":["../branchDefault.ts"],"names":[],"mappings":";AAAA,wFA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;YACH,MAAM,IAAI,GAAG,WAA4C,CAAC;YAC1D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAvEL,sCAwEC;AA1DG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
package/branchProtection.d.ts
CHANGED
|
@@ -2,57 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as github from "@pulumi/github";
|
|
10
|
-
*
|
|
11
|
-
* const exampleRepository = new github.Repository("exampleRepository", {});
|
|
12
|
-
* const exampleUser = github.getUser({
|
|
13
|
-
* username: "example",
|
|
14
|
-
* });
|
|
15
|
-
* const exampleTeam = new github.Team("exampleTeam", {});
|
|
16
|
-
* // Protect the main branch of the foo repository. Additionally, require that
|
|
17
|
-
* // the "ci/travis" context to be passing and only allow the engineers team merge
|
|
18
|
-
* // to the branch.
|
|
19
|
-
* const exampleBranchProtection = new github.BranchProtection("exampleBranchProtection", {
|
|
20
|
-
* repositoryId: exampleRepository.nodeId,
|
|
21
|
-
* pattern: "main",
|
|
22
|
-
* enforceAdmins: true,
|
|
23
|
-
* allowsDeletions: true,
|
|
24
|
-
* requiredStatusChecks: [{
|
|
25
|
-
* strict: false,
|
|
26
|
-
* contexts: ["ci/travis"],
|
|
27
|
-
* }],
|
|
28
|
-
* requiredPullRequestReviews: [{
|
|
29
|
-
* dismissStaleReviews: true,
|
|
30
|
-
* restrictDismissals: true,
|
|
31
|
-
* dismissalRestrictions: [
|
|
32
|
-
* exampleUser.then(exampleUser => exampleUser.nodeId),
|
|
33
|
-
* exampleTeam.nodeId,
|
|
34
|
-
* "/exampleuser",
|
|
35
|
-
* "exampleorganization/exampleteam",
|
|
36
|
-
* ],
|
|
37
|
-
* }],
|
|
38
|
-
* pushRestrictions: [
|
|
39
|
-
* exampleUser.then(exampleUser => exampleUser.nodeId),
|
|
40
|
-
* "/exampleuser",
|
|
41
|
-
* "exampleorganization/exampleteam",
|
|
42
|
-
* ],
|
|
43
|
-
* forcePushBypassers: [
|
|
44
|
-
* exampleUser.then(exampleUser => exampleUser.nodeId),
|
|
45
|
-
* "/exampleuser",
|
|
46
|
-
* "exampleorganization/exampleteam",
|
|
47
|
-
* ],
|
|
48
|
-
* });
|
|
49
|
-
* const exampleTeamRepository = new github.TeamRepository("exampleTeamRepository", {
|
|
50
|
-
* teamId: exampleTeam.id,
|
|
51
|
-
* repository: exampleRepository.name,
|
|
52
|
-
* permission: "pull",
|
|
53
|
-
* });
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
5
|
* ## Import
|
|
57
6
|
*
|
|
58
7
|
* GitHub Branch Protection can be imported using an ID made up of `repository:pattern`, e.g.
|
package/branchProtection.js
CHANGED
|
@@ -6,57 +6,6 @@ exports.BranchProtection = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as github from "@pulumi/github";
|
|
14
|
-
*
|
|
15
|
-
* const exampleRepository = new github.Repository("exampleRepository", {});
|
|
16
|
-
* const exampleUser = github.getUser({
|
|
17
|
-
* username: "example",
|
|
18
|
-
* });
|
|
19
|
-
* const exampleTeam = new github.Team("exampleTeam", {});
|
|
20
|
-
* // Protect the main branch of the foo repository. Additionally, require that
|
|
21
|
-
* // the "ci/travis" context to be passing and only allow the engineers team merge
|
|
22
|
-
* // to the branch.
|
|
23
|
-
* const exampleBranchProtection = new github.BranchProtection("exampleBranchProtection", {
|
|
24
|
-
* repositoryId: exampleRepository.nodeId,
|
|
25
|
-
* pattern: "main",
|
|
26
|
-
* enforceAdmins: true,
|
|
27
|
-
* allowsDeletions: true,
|
|
28
|
-
* requiredStatusChecks: [{
|
|
29
|
-
* strict: false,
|
|
30
|
-
* contexts: ["ci/travis"],
|
|
31
|
-
* }],
|
|
32
|
-
* requiredPullRequestReviews: [{
|
|
33
|
-
* dismissStaleReviews: true,
|
|
34
|
-
* restrictDismissals: true,
|
|
35
|
-
* dismissalRestrictions: [
|
|
36
|
-
* exampleUser.then(exampleUser => exampleUser.nodeId),
|
|
37
|
-
* exampleTeam.nodeId,
|
|
38
|
-
* "/exampleuser",
|
|
39
|
-
* "exampleorganization/exampleteam",
|
|
40
|
-
* ],
|
|
41
|
-
* }],
|
|
42
|
-
* pushRestrictions: [
|
|
43
|
-
* exampleUser.then(exampleUser => exampleUser.nodeId),
|
|
44
|
-
* "/exampleuser",
|
|
45
|
-
* "exampleorganization/exampleteam",
|
|
46
|
-
* ],
|
|
47
|
-
* forcePushBypassers: [
|
|
48
|
-
* exampleUser.then(exampleUser => exampleUser.nodeId),
|
|
49
|
-
* "/exampleuser",
|
|
50
|
-
* "exampleorganization/exampleteam",
|
|
51
|
-
* ],
|
|
52
|
-
* });
|
|
53
|
-
* const exampleTeamRepository = new github.TeamRepository("exampleTeamRepository", {
|
|
54
|
-
* teamId: exampleTeam.id,
|
|
55
|
-
* repository: exampleRepository.name,
|
|
56
|
-
* permission: "pull",
|
|
57
|
-
* });
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
9
|
* ## Import
|
|
61
10
|
*
|
|
62
11
|
* GitHub Branch Protection can be imported using an ID made up of `repository:pattern`, e.g.
|