@pulumi/github 5.22.0-alpha.1698198281 → 5.22.0-alpha.1698212370
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 +37 -0
- package/actionsEnvironmentSecret.js +37 -0
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsEnvironmentVariable.d.ts +32 -0
- package/actionsEnvironmentVariable.js +32 -0
- package/actionsEnvironmentVariable.js.map +1 -1
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +13 -0
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +13 -0
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +24 -0
- package/actionsOrganizationPermissions.js +24 -0
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +39 -0
- package/actionsOrganizationSecret.js +39 -0
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +15 -0
- package/actionsOrganizationSecretRepositories.js +15 -0
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsOrganizationVariable.d.ts +28 -0
- package/actionsOrganizationVariable.js +28 -0
- package/actionsOrganizationVariable.js.map +1 -1
- package/actionsRepositoryAccessLevel.d.ts +13 -0
- package/actionsRepositoryAccessLevel.js +13 -0
- package/actionsRepositoryAccessLevel.js.map +1 -1
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +18 -0
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +18 -0
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsRepositoryPermissions.d.ts +21 -0
- package/actionsRepositoryPermissions.js +21 -0
- package/actionsRepositoryPermissions.js.map +1 -1
- package/actionsRunnerGroup.d.ts +13 -0
- package/actionsRunnerGroup.js +13 -0
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +21 -0
- package/actionsSecret.js +21 -0
- package/actionsSecret.js.map +1 -1
- package/actionsVariable.d.ts +13 -0
- package/actionsVariable.js +13 -0
- package/actionsVariable.js.map +1 -1
- package/appInstallationRepository.d.ts +14 -0
- package/appInstallationRepository.js +14 -0
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +12 -0
- package/branch.js +12 -0
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +39 -0
- package/branchDefault.js +39 -0
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +51 -0
- package/branchProtection.js +51 -0
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.d.ts +56 -0
- package/branchProtectionV3.js +56 -0
- package/branchProtectionV3.js.map +1 -1
- package/codespacesOrganizationSecret.d.ts +39 -0
- package/codespacesOrganizationSecret.js +39 -0
- package/codespacesOrganizationSecret.js.map +1 -1
- package/codespacesOrganizationSecretRepositories.d.ts +15 -0
- package/codespacesOrganizationSecretRepositories.js +15 -0
- package/codespacesOrganizationSecretRepositories.js.map +1 -1
- package/codespacesSecret.d.ts +21 -0
- package/codespacesSecret.js +21 -0
- package/codespacesSecret.js.map +1 -1
- package/codespacesUserSecret.d.ts +21 -0
- package/codespacesUserSecret.js +21 -0
- package/codespacesUserSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +13 -0
- package/emuGroupMapping.js +13 -0
- package/emuGroupMapping.js.map +1 -1
- package/enterpriseOrganization.d.ts +15 -0
- package/enterpriseOrganization.js +15 -0
- package/enterpriseOrganization.js.map +1 -1
- package/getActionsEnvironmentSecrets.d.ts +24 -0
- package/getActionsEnvironmentSecrets.js +24 -0
- package/getActionsEnvironmentSecrets.js.map +1 -1
- package/getActionsEnvironmentVariables.d.ts +24 -0
- package/getActionsEnvironmentVariables.js +24 -0
- package/getActionsEnvironmentVariables.js.map +1 -1
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +18 -0
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js +18 -0
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsOrganizationPublicKey.d.ts +18 -0
- package/getActionsOrganizationPublicKey.js +18 -0
- package/getActionsOrganizationPublicKey.js.map +1 -1
- package/getActionsOrganizationRegistrationToken.d.ts +18 -0
- package/getActionsOrganizationRegistrationToken.js +18 -0
- package/getActionsOrganizationRegistrationToken.js.map +1 -1
- package/getActionsOrganizationSecrets.d.ts +18 -0
- package/getActionsOrganizationSecrets.js +18 -0
- package/getActionsOrganizationSecrets.js.map +1 -1
- package/getActionsOrganizationVariables.d.ts +18 -0
- package/getActionsOrganizationVariables.js +18 -0
- package/getActionsOrganizationVariables.js.map +1 -1
- package/getActionsPublicKey.d.ts +22 -0
- package/getActionsPublicKey.js +22 -0
- package/getActionsPublicKey.js.map +1 -1
- package/getActionsRegistrationToken.d.ts +22 -0
- package/getActionsRegistrationToken.js +22 -0
- package/getActionsRegistrationToken.js.map +1 -1
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +22 -0
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js +22 -0
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsSecrets.d.ts +22 -0
- package/getActionsSecrets.js +22 -0
- package/getActionsSecrets.js.map +1 -1
- package/getActionsVariables.d.ts +22 -0
- package/getActionsVariables.js +22 -0
- package/getActionsVariables.js.map +1 -1
- package/getAppToken.d.ts +28 -0
- package/getAppToken.js +28 -0
- package/getAppToken.js.map +1 -1
- package/getBranch.d.ts +24 -0
- package/getBranch.js +24 -0
- package/getBranch.js.map +1 -1
- package/getBranchProtectionRules.d.ts +22 -0
- package/getBranchProtectionRules.js +22 -0
- package/getBranchProtectionRules.js.map +1 -1
- package/getCodespacesOrganizationPublicKey.d.ts +18 -0
- package/getCodespacesOrganizationPublicKey.js +18 -0
- package/getCodespacesOrganizationPublicKey.js.map +1 -1
- package/getCodespacesOrganizationSecrets.d.ts +18 -0
- package/getCodespacesOrganizationSecrets.js +18 -0
- package/getCodespacesOrganizationSecrets.js.map +1 -1
- package/getCodespacesPublicKey.d.ts +22 -0
- package/getCodespacesPublicKey.js +22 -0
- package/getCodespacesPublicKey.js.map +1 -1
- package/getCodespacesSecrets.d.ts +28 -0
- package/getCodespacesSecrets.js +28 -0
- package/getCodespacesSecrets.js.map +1 -1
- package/getCodespacesUserPublicKey.d.ts +18 -0
- package/getCodespacesUserPublicKey.js +18 -0
- package/getCodespacesUserPublicKey.js.map +1 -1
- package/getCodespacesUserSecrets.d.ts +18 -0
- package/getCodespacesUserSecrets.js +18 -0
- package/getCodespacesUserSecrets.js.map +1 -1
- package/getCollaborators.d.ts +24 -0
- package/getCollaborators.js +24 -0
- package/getCollaborators.js.map +1 -1
- package/getDependabotOrganizationPublicKey.d.ts +18 -0
- package/getDependabotOrganizationPublicKey.js +18 -0
- package/getDependabotOrganizationPublicKey.js.map +1 -1
- package/getDependabotOrganizationSecrets.d.ts +18 -0
- package/getDependabotOrganizationSecrets.js +18 -0
- package/getDependabotOrganizationSecrets.js.map +1 -1
- package/getDependabotSecrets.d.ts +22 -0
- package/getDependabotSecrets.js +22 -0
- package/getDependabotSecrets.js.map +1 -1
- package/getEnterprise.d.ts +22 -0
- package/getEnterprise.js +22 -0
- package/getEnterprise.js.map +1 -1
- package/getExternalGroups.d.ts +22 -0
- package/getExternalGroups.js +22 -0
- package/getExternalGroups.js.map +1 -1
- package/getGithubApp.d.ts +22 -0
- package/getGithubApp.js +22 -0
- package/getGithubApp.js.map +1 -1
- package/getIpRanges.d.ts +18 -0
- package/getIpRanges.js +18 -0
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +22 -0
- package/getMembership.js +22 -0
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +22 -0
- package/getOrganization.js +22 -0
- package/getOrganization.js.map +1 -1
- package/getOrganizationCustomRole.d.ts +22 -0
- package/getOrganizationCustomRole.js +22 -0
- package/getOrganizationCustomRole.js.map +1 -1
- package/getOrganizationExternalIdentities.d.ts +18 -0
- package/getOrganizationExternalIdentities.js +18 -0
- package/getOrganizationExternalIdentities.js.map +1 -1
- package/getOrganizationIpAllowList.d.ts +18 -0
- package/getOrganizationIpAllowList.js +18 -0
- package/getOrganizationIpAllowList.js.map +1 -1
- package/getOrganizationTeamSyncGroups.d.ts +18 -0
- package/getOrganizationTeamSyncGroups.js +18 -0
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +44 -0
- package/getOrganizationTeams.js +44 -0
- package/getOrganizationTeams.js.map +1 -1
- package/getOrganizationWebhooks.d.ts +22 -0
- package/getOrganizationWebhooks.js +22 -0
- package/getOrganizationWebhooks.js.map +1 -1
- package/getRef.d.ts +26 -0
- package/getRef.js +26 -0
- package/getRef.js.map +1 -1
- package/getRepositories.d.ts +24 -0
- package/getRepositories.js +24 -0
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +22 -0
- package/getRepository.js +22 -0
- package/getRepository.js.map +1 -1
- package/getRepositoryAutolinkReferences.d.ts +22 -0
- package/getRepositoryAutolinkReferences.js +22 -0
- package/getRepositoryAutolinkReferences.js.map +1 -1
- package/getRepositoryBranches.d.ts +22 -0
- package/getRepositoryBranches.js +22 -0
- package/getRepositoryBranches.js.map +1 -1
- package/getRepositoryDeployKeys.d.ts +22 -0
- package/getRepositoryDeployKeys.js +22 -0
- package/getRepositoryDeployKeys.js.map +1 -1
- package/getRepositoryDeploymentBranchPolicies.d.ts +24 -0
- package/getRepositoryDeploymentBranchPolicies.js +24 -0
- package/getRepositoryDeploymentBranchPolicies.js.map +1 -1
- package/getRepositoryEnvironments.d.ts +22 -0
- package/getRepositoryEnvironments.js +22 -0
- package/getRepositoryEnvironments.js.map +1 -1
- package/getRepositoryFile.d.ts +26 -0
- package/getRepositoryFile.js +26 -0
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +26 -0
- package/getRepositoryMilestone.js +26 -0
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +24 -0
- package/getRepositoryPullRequest.js +24 -0
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +30 -0
- package/getRepositoryPullRequests.js +30 -0
- package/getRepositoryPullRequests.js.map +1 -1
- package/getRepositoryTeams.d.ts +22 -0
- package/getRepositoryTeams.js +22 -0
- package/getRepositoryTeams.js.map +1 -1
- package/getRepositoryWebhooks.d.ts +26 -0
- package/getRepositoryWebhooks.js +26 -0
- package/getRepositoryWebhooks.js.map +1 -1
- package/getRestApi.d.ts +22 -0
- package/getRestApi.js +22 -0
- package/getRestApi.js.map +1 -1
- package/getSshKeys.d.ts +18 -0
- package/getSshKeys.js +18 -0
- package/getSshKeys.js.map +1 -1
- package/getTeam.d.ts +22 -0
- package/getTeam.js +22 -0
- package/getTeam.js.map +1 -1
- package/getTree.d.ts +42 -0
- package/getTree.js +42 -0
- package/getTree.js.map +1 -1
- package/getUser.d.ts +30 -0
- package/getUser.js +30 -0
- package/getUser.js.map +1 -1
- package/getUserExternalIdentity.d.ts +22 -0
- package/getUserExternalIdentity.js +22 -0
- package/getUserExternalIdentity.js.map +1 -1
- package/getUsers.d.ts +34 -0
- package/getUsers.js +34 -0
- package/getUsers.js.map +1 -1
- package/issue.d.ts +49 -0
- package/issue.js +49 -0
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +13 -0
- package/issueLabel.js +13 -0
- package/issueLabel.js.map +1 -1
- package/membership.d.ts +13 -0
- package/membership.js +13 -0
- package/membership.js.map +1 -1
- package/organizationBlock.d.ts +9 -0
- package/organizationBlock.js +9 -0
- package/organizationBlock.js.map +1 -1
- package/organizationCustomRole.d.ts +33 -0
- package/organizationCustomRole.js +33 -0
- package/organizationCustomRole.js.map +1 -1
- package/organizationProject.d.ts +9 -0
- package/organizationProject.js +9 -0
- package/organizationProject.js.map +1 -1
- package/organizationSecurityManager.d.ts +10 -0
- package/organizationSecurityManager.js +10 -0
- package/organizationSecurityManager.js.map +1 -1
- package/organizationSettings.d.ts +35 -0
- package/organizationSettings.js +35 -0
- package/organizationSettings.js.map +1 -1
- package/organizationWebhook.d.ts +17 -0
- package/organizationWebhook.js +17 -0
- package/organizationWebhook.js.map +1 -1
- package/package.json +1 -1
- package/projectCard.d.ts +40 -0
- package/projectCard.js +40 -0
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +10 -0
- package/projectColumn.js +10 -0
- package/projectColumn.js.map +1 -1
- package/release.d.ts +36 -0
- package/release.js +36 -0
- package/release.js.map +1 -1
- package/repository.d.ts +34 -0
- package/repository.js +34 -0
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +17 -0
- package/repositoryAutolinkReference.js +17 -0
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +14 -0
- package/repositoryCollaborator.js +14 -0
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryCollaborators.d.ts +22 -0
- package/repositoryCollaborators.js +22 -0
- package/repositoryCollaborators.js.map +1 -1
- package/repositoryDeployKey.d.ts +15 -0
- package/repositoryDeployKey.js +15 -0
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryDeploymentBranchPolicy.d.ts +22 -0
- package/repositoryDeploymentBranchPolicy.js +22 -0
- package/repositoryDeploymentBranchPolicy.js.map +1 -1
- package/repositoryEnvironment.d.ts +23 -0
- package/repositoryEnvironment.js +23 -0
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryEnvironmentDeploymentPolicy.d.ts +29 -0
- package/repositoryEnvironmentDeploymentPolicy.js +29 -0
- package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
- package/repositoryFile.d.ts +19 -0
- package/repositoryFile.js +19 -0
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.d.ts +14 -0
- package/repositoryMilestone.js +14 -0
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.d.ts +16 -0
- package/repositoryProject.js +16 -0
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.d.ts +15 -0
- package/repositoryPullRequest.js +15 -0
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryRuleset.d.ts +35 -0
- package/repositoryRuleset.js +35 -0
- package/repositoryRuleset.js.map +1 -1
- package/repositoryTagProtection.d.ts +12 -0
- package/repositoryTagProtection.js +12 -0
- package/repositoryTagProtection.js.map +1 -1
- package/repositoryTopics.d.ts +18 -0
- package/repositoryTopics.js +18 -0
- package/repositoryTopics.js.map +1 -1
- package/repositoryWebhook.d.ts +23 -0
- package/repositoryWebhook.js +23 -0
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +13 -0
- package/team.js +13 -0
- package/team.js.map +1 -1
- package/teamMembers.d.ts +31 -0
- package/teamMembers.js +31 -0
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +19 -0
- package/teamMembership.js +19 -0
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +16 -0
- package/teamRepository.js +16 -0
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +18 -0
- package/teamSettings.js +18 -0
- package/teamSettings.js.map +1 -1
- package/userGpgKey.d.ts +12 -0
- package/userGpgKey.js +12 -0
- package/userGpgKey.js.map +1 -1
- package/userSshKey.d.ts +13 -0
- package/userSshKey.js +13 -0
- package/userSshKey.js.map +1 -1
package/repositoryRuleset.js
CHANGED
|
@@ -10,6 +10,41 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* This resource allows you to create and manage rulesets on the repository level. When applied, a new ruleset will be created. When destroyed, that ruleset will be removed.
|
|
12
12
|
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as github from "@pulumi/github";
|
|
18
|
+
*
|
|
19
|
+
* const exampleRepository = new github.Repository("exampleRepository", {description: "Example repository"});
|
|
20
|
+
* const exampleRepositoryRuleset = new github.RepositoryRuleset("exampleRepositoryRuleset", {
|
|
21
|
+
* repository: exampleRepository.name,
|
|
22
|
+
* target: "branch",
|
|
23
|
+
* enforcement: "active",
|
|
24
|
+
* conditions: {
|
|
25
|
+
* refName: {
|
|
26
|
+
* includes: ["~ALL"],
|
|
27
|
+
* excludes: [],
|
|
28
|
+
* },
|
|
29
|
+
* },
|
|
30
|
+
* bypassActors: [{
|
|
31
|
+
* actorId: 13473,
|
|
32
|
+
* actorType: "Integration",
|
|
33
|
+
* bypassMode: "always",
|
|
34
|
+
* }],
|
|
35
|
+
* rules: {
|
|
36
|
+
* creation: true,
|
|
37
|
+
* update: true,
|
|
38
|
+
* deletion: true,
|
|
39
|
+
* requiredLinearHistory: true,
|
|
40
|
+
* requiredSignatures: true,
|
|
41
|
+
* requiredDeployments: {
|
|
42
|
+
* requiredDeploymentEnvironments: ["test"],
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
13
48
|
* ## Import
|
|
14
49
|
*
|
|
15
50
|
* GitHub Repository Rulesets can be imported using the GitHub repository name and ruleset ID e.g.
|
package/repositoryRuleset.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryRuleset.js","sourceRoot":"","sources":["../repositoryRuleset.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryRuleset.js","sourceRoot":"","sources":["../repositoryRuleset.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;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C,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,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,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AApHL,8CAqHC;AAvGG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -2,6 +2,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* This resource allows you to create and manage a repository tag protection for repositories within your GitHub organization or personal account.
|
|
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 example = new github.RepositoryTagProtection("example", {
|
|
12
|
+
* pattern: "v*",
|
|
13
|
+
* repository: "example-repository",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
5
17
|
* ## Import
|
|
6
18
|
*
|
|
7
19
|
* Repository tag protections can be imported using the `name` of the repository, combined with the `id` of the tag protection, separated by a `/` character. The `id` of the tag protection can be found using the [GitHub API](https://docs.github.com/en/rest/repos/tags#list-tag-protection-states-for-a-repository).
|
|
@@ -8,6 +8,18 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This resource allows you to create and manage a repository tag protection for repositories within your GitHub organization or personal account.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as github from "@pulumi/github";
|
|
16
|
+
*
|
|
17
|
+
* const example = new github.RepositoryTagProtection("example", {
|
|
18
|
+
* pattern: "v*",
|
|
19
|
+
* repository: "example-repository",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
11
23
|
* ## Import
|
|
12
24
|
*
|
|
13
25
|
* Repository tag protections can be imported using the `name` of the repository, combined with the `id` of the tag protection, separated by a `/` character. The `id` of the tag protection can be found using the [GitHub API](https://docs.github.com/en/rest/repos/tags#list-tag-protection-states-for-a-repository).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryTagProtection.js","sourceRoot":"","sources":["../repositoryTagProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryTagProtection.js","sourceRoot":"","sources":["../repositoryTagProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,uBAAwB,SAAQ,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AAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,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;YAClE,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAvEL,0DAwEC;AA1DG,gBAAgB;AACO,oCAAY,GAAG,8DAA8D,CAAC"}
|
package/repositoryTopics.d.ts
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
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 testRepository = github.getRepository({
|
|
10
|
+
* name: "test",
|
|
11
|
+
* });
|
|
12
|
+
* const testRepositoryTopics = new github.RepositoryTopics("testRepositoryTopics", {
|
|
13
|
+
* repository: github_repository.test.name,
|
|
14
|
+
* topics: [
|
|
15
|
+
* "topic-1",
|
|
16
|
+
* "topic-2",
|
|
17
|
+
* ],
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
3
21
|
* ## Import
|
|
4
22
|
*
|
|
5
23
|
* Repository topics can be imported using the `name` of the repository.
|
package/repositoryTopics.js
CHANGED
|
@@ -6,6 +6,24 @@ exports.RepositoryTopics = 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 testRepository = github.getRepository({
|
|
16
|
+
* name: "test",
|
|
17
|
+
* });
|
|
18
|
+
* const testRepositoryTopics = new github.RepositoryTopics("testRepositoryTopics", {
|
|
19
|
+
* repository: github_repository.test.name,
|
|
20
|
+
* topics: [
|
|
21
|
+
* "topic-1",
|
|
22
|
+
* "topic-2",
|
|
23
|
+
* ],
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
9
27
|
* ## Import
|
|
10
28
|
*
|
|
11
29
|
* Repository topics can be imported using the `name` of the repository.
|
package/repositoryTopics.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryTopics.js","sourceRoot":"","sources":["../repositoryTopics.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryTopics.js","sourceRoot":"","sources":["../repositoryTopics.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAA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G,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAjEL,4CAkEC;AApDG,gBAAgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
|
package/repositoryWebhook.d.ts
CHANGED
|
@@ -5,6 +5,29 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* This resource allows you to create and manage webhooks for repositories within your
|
|
6
6
|
* GitHub organization or personal account.
|
|
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 repo = new github.Repository("repo", {
|
|
15
|
+
* description: "Terraform acceptance tests",
|
|
16
|
+
* homepageUrl: "http://example.com/",
|
|
17
|
+
* visibility: "public",
|
|
18
|
+
* });
|
|
19
|
+
* const foo = new github.RepositoryWebhook("foo", {
|
|
20
|
+
* repository: repo.name,
|
|
21
|
+
* configuration: {
|
|
22
|
+
* url: "https://google.de/",
|
|
23
|
+
* contentType: "form",
|
|
24
|
+
* insecureSsl: false,
|
|
25
|
+
* },
|
|
26
|
+
* active: false,
|
|
27
|
+
* events: ["issues"],
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
8
31
|
* ## Import
|
|
9
32
|
*
|
|
10
33
|
* Repository webhooks can be imported using the `name` of the repository, combined with the `id` of the webhook, separated by a `/` character. The `id` of the webhook can be found in the URL of the webhook. For example`"https://github.com/foo-org/foo-repo/settings/hooks/14711452"`.
|
package/repositoryWebhook.js
CHANGED
|
@@ -9,6 +9,29 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* This resource allows you to create and manage webhooks for repositories within your
|
|
10
10
|
* GitHub organization or personal account.
|
|
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 repo = new github.Repository("repo", {
|
|
19
|
+
* description: "Terraform acceptance tests",
|
|
20
|
+
* homepageUrl: "http://example.com/",
|
|
21
|
+
* visibility: "public",
|
|
22
|
+
* });
|
|
23
|
+
* const foo = new github.RepositoryWebhook("foo", {
|
|
24
|
+
* repository: repo.name,
|
|
25
|
+
* configuration: {
|
|
26
|
+
* url: "https://google.de/",
|
|
27
|
+
* contentType: "form",
|
|
28
|
+
* insecureSsl: false,
|
|
29
|
+
* },
|
|
30
|
+
* active: false,
|
|
31
|
+
* events: ["issues"],
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
12
35
|
* ## Import
|
|
13
36
|
*
|
|
14
37
|
* Repository webhooks can be imported using the `name` of the repository, combined with the `id` of the webhook, separated by a `/` character. The `id` of the webhook can be found in the URL of the webhook. For example`"https://github.com/foo-org/foo-repo/settings/hooks/14711452"`.
|
package/repositoryWebhook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryWebhook.js","sourceRoot":"","sources":["../repositoryWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryWebhook.js","sourceRoot":"","sources":["../repositoryWebhook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MA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,8CAuFC;AAzEG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
package/team.d.ts
CHANGED
|
@@ -5,6 +5,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
* This resource allows you to add/remove teams from your organization. When applied,
|
|
6
6
|
* a new team will be created. When destroyed, that team will be removed.
|
|
7
7
|
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as github from "@pulumi/github";
|
|
13
|
+
*
|
|
14
|
+
* // Add a team to the organization
|
|
15
|
+
* const someTeam = new github.Team("someTeam", {
|
|
16
|
+
* description: "Some cool team",
|
|
17
|
+
* privacy: "closed",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
8
21
|
* ## Import
|
|
9
22
|
*
|
|
10
23
|
* GitHub Teams can be imported using the GitHub team ID or name e.g.
|
package/team.js
CHANGED
|
@@ -11,6 +11,19 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* This resource allows you to add/remove teams from your organization. When applied,
|
|
12
12
|
* a new team will be created. When destroyed, that team will be removed.
|
|
13
13
|
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as github from "@pulumi/github";
|
|
19
|
+
*
|
|
20
|
+
* // Add a team to the organization
|
|
21
|
+
* const someTeam = new github.Team("someTeam", {
|
|
22
|
+
* description: "Some cool team",
|
|
23
|
+
* privacy: "closed",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
14
27
|
* ## Import
|
|
15
28
|
*
|
|
16
29
|
* GitHub Teams can be imported using the GitHub team ID or name e.g.
|
package/team.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team.js","sourceRoot":"","sources":["../team.ts"],"names":[],"m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ts
CHANGED
|
@@ -2,6 +2,37 @@ 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
|
+
* // Add a user to the organization
|
|
12
|
+
* const membershipForSomeUser = new github.Membership("membershipForSomeUser", {
|
|
13
|
+
* username: "SomeUser",
|
|
14
|
+
* role: "member",
|
|
15
|
+
* });
|
|
16
|
+
* const membershipForAnotherUser = new github.Membership("membershipForAnotherUser", {
|
|
17
|
+
* username: "AnotherUser",
|
|
18
|
+
* role: "member",
|
|
19
|
+
* });
|
|
20
|
+
* const someTeam = new github.Team("someTeam", {description: "Some cool team"});
|
|
21
|
+
* const someTeamMembers = new github.TeamMembers("someTeamMembers", {
|
|
22
|
+
* teamId: someTeam.id,
|
|
23
|
+
* members: [
|
|
24
|
+
* {
|
|
25
|
+
* username: "SomeUser",
|
|
26
|
+
* role: "maintainer",
|
|
27
|
+
* },
|
|
28
|
+
* {
|
|
29
|
+
* username: "AnotherUser",
|
|
30
|
+
* role: "member",
|
|
31
|
+
* },
|
|
32
|
+
* ],
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
5
36
|
* ## Import
|
|
6
37
|
*
|
|
7
38
|
* GitHub Team Membership can be imported using the team ID `teamid` or team name, e.g.
|
package/teamMembers.js
CHANGED
|
@@ -6,6 +6,37 @@ exports.TeamMembers = 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
|
+
* // Add a user to the organization
|
|
16
|
+
* const membershipForSomeUser = new github.Membership("membershipForSomeUser", {
|
|
17
|
+
* username: "SomeUser",
|
|
18
|
+
* role: "member",
|
|
19
|
+
* });
|
|
20
|
+
* const membershipForAnotherUser = new github.Membership("membershipForAnotherUser", {
|
|
21
|
+
* username: "AnotherUser",
|
|
22
|
+
* role: "member",
|
|
23
|
+
* });
|
|
24
|
+
* const someTeam = new github.Team("someTeam", {description: "Some cool team"});
|
|
25
|
+
* const someTeamMembers = new github.TeamMembers("someTeamMembers", {
|
|
26
|
+
* teamId: someTeam.id,
|
|
27
|
+
* members: [
|
|
28
|
+
* {
|
|
29
|
+
* username: "SomeUser",
|
|
30
|
+
* role: "maintainer",
|
|
31
|
+
* },
|
|
32
|
+
* {
|
|
33
|
+
* username: "AnotherUser",
|
|
34
|
+
* role: "member",
|
|
35
|
+
* },
|
|
36
|
+
* ],
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
9
40
|
* ## Import
|
|
10
41
|
*
|
|
11
42
|
* GitHub Team Membership can be imported using the team ID `teamid` or team name, e.g.
|
package/teamMembers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teamMembers.js","sourceRoot":"","sources":["../teamMembers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"teamMembers.js","sourceRoot":"","sources":["../teamMembers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,E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CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAjEL,kCAkEC;AApDG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
package/teamMembership.d.ts
CHANGED
|
@@ -11,6 +11,25 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
*
|
|
12
12
|
* > **Note** Organization owners may not be set as "members" of a team; they may only be set as "maintainers". Attempting to set organization an owner to "member" of a may result in a `pulumi preview` diff that changes their status back to "maintainer".
|
|
13
13
|
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as github from "@pulumi/github";
|
|
19
|
+
*
|
|
20
|
+
* // Add a user to the organization
|
|
21
|
+
* const membershipForSomeUser = new github.Membership("membershipForSomeUser", {
|
|
22
|
+
* username: "SomeUser",
|
|
23
|
+
* role: "member",
|
|
24
|
+
* });
|
|
25
|
+
* const someTeam = new github.Team("someTeam", {description: "Some cool team"});
|
|
26
|
+
* const someTeamMembership = new github.TeamMembership("someTeamMembership", {
|
|
27
|
+
* teamId: someTeam.id,
|
|
28
|
+
* username: "SomeUser",
|
|
29
|
+
* role: "member",
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
14
33
|
* ## Import
|
|
15
34
|
*
|
|
16
35
|
* GitHub Team Membership can be imported using an ID made up of `teamid:username` or `teamname:username`, e.g.
|
package/teamMembership.js
CHANGED
|
@@ -17,6 +17,25 @@ const utilities = require("./utilities");
|
|
|
17
17
|
*
|
|
18
18
|
* > **Note** Organization owners may not be set as "members" of a team; they may only be set as "maintainers". Attempting to set organization an owner to "member" of a may result in a `pulumi preview` diff that changes their status back to "maintainer".
|
|
19
19
|
*
|
|
20
|
+
* ## Example Usage
|
|
21
|
+
*
|
|
22
|
+
* ```typescript
|
|
23
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
24
|
+
* import * as github from "@pulumi/github";
|
|
25
|
+
*
|
|
26
|
+
* // Add a user to the organization
|
|
27
|
+
* const membershipForSomeUser = new github.Membership("membershipForSomeUser", {
|
|
28
|
+
* username: "SomeUser",
|
|
29
|
+
* role: "member",
|
|
30
|
+
* });
|
|
31
|
+
* const someTeam = new github.Team("someTeam", {description: "Some cool team"});
|
|
32
|
+
* const someTeamMembership = new github.TeamMembership("someTeamMembership", {
|
|
33
|
+
* teamId: someTeam.id,
|
|
34
|
+
* username: "SomeUser",
|
|
35
|
+
* role: "member",
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
20
39
|
* ## Import
|
|
21
40
|
*
|
|
22
41
|
* GitHub Team Membership can be imported using an ID made up of `teamid:username` or `teamname:username`, e.g.
|
package/teamMembership.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teamMembership.js","sourceRoot":"","sources":["../teamMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"teamMembership.js","sourceRoot":"","sources":["../teamMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GA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zD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA3EL,wCA4EC;AA9DG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/teamRepository.d.ts
CHANGED
|
@@ -16,6 +16,22 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
* This resource is non-authoritative, for managing ALL collaborators of a repo, use github.RepositoryCollaborators
|
|
17
17
|
* instead.
|
|
18
18
|
*
|
|
19
|
+
* ## Example Usage
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as github from "@pulumi/github";
|
|
24
|
+
*
|
|
25
|
+
* // Add a repository to the team
|
|
26
|
+
* const someTeam = new github.Team("someTeam", {description: "Some cool team"});
|
|
27
|
+
* const someRepo = new github.Repository("someRepo", {});
|
|
28
|
+
* const someTeamRepo = new github.TeamRepository("someTeamRepo", {
|
|
29
|
+
* teamId: someTeam.id,
|
|
30
|
+
* repository: someRepo.name,
|
|
31
|
+
* permission: "pull",
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
19
35
|
* ## Import
|
|
20
36
|
*
|
|
21
37
|
* GitHub Team Repository can be imported using an ID made up of `team_id:repository` or `team_name:repository`, e.g.
|
package/teamRepository.js
CHANGED
|
@@ -22,6 +22,22 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* This resource is non-authoritative, for managing ALL collaborators of a repo, use github.RepositoryCollaborators
|
|
23
23
|
* instead.
|
|
24
24
|
*
|
|
25
|
+
* ## Example Usage
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as github from "@pulumi/github";
|
|
30
|
+
*
|
|
31
|
+
* // Add a repository to the team
|
|
32
|
+
* const someTeam = new github.Team("someTeam", {description: "Some cool team"});
|
|
33
|
+
* const someRepo = new github.Repository("someRepo", {});
|
|
34
|
+
* const someTeamRepo = new github.TeamRepository("someTeamRepo", {
|
|
35
|
+
* teamId: someTeam.id,
|
|
36
|
+
* repository: someRepo.name,
|
|
37
|
+
* permission: "pull",
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
25
41
|
* ## Import
|
|
26
42
|
*
|
|
27
43
|
* GitHub Team Repository can be imported using an ID made up of `team_id:repository` or `team_name:repository`, e.g.
|
package/teamRepository.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teamRepository.js","sourceRoot":"","sources":["../teamRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"teamRepository.js","sourceRoot":"","sources":["../teamRepository.ts"],"names":[],"mappings":";AAAA,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M;YACH,MAAM,IAAI,GAAG,WAA6C,CAAC;YAC3D,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,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,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,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA3EL,wCA4EC;AA9DG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/teamSettings.d.ts
CHANGED
|
@@ -10,6 +10,24 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* > **Note**: This resource relies on the v4 GraphQl GitHub API. If this API is not available, or the Stone Crop schema preview is not available, then this resource will not work as intended.
|
|
12
12
|
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as github from "@pulumi/github";
|
|
18
|
+
*
|
|
19
|
+
* // Add a repository to the team
|
|
20
|
+
* const someTeam = new github.Team("someTeam", {description: "Some cool team"});
|
|
21
|
+
* const codeReviewSettings = new github.TeamSettings("codeReviewSettings", {
|
|
22
|
+
* teamId: someTeam.id,
|
|
23
|
+
* reviewRequestDelegation: {
|
|
24
|
+
* algorithm: "ROUND_ROBIN",
|
|
25
|
+
* memberCount: 1,
|
|
26
|
+
* notify: true,
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
13
31
|
* ## Import
|
|
14
32
|
*
|
|
15
33
|
* GitHub Teams can be imported using the GitHub team ID, or the team slug e.g.
|
package/teamSettings.js
CHANGED
|
@@ -14,6 +14,24 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* > **Note**: This resource relies on the v4 GraphQl GitHub API. If this API is not available, or the Stone Crop schema preview is not available, then this resource will not work as intended.
|
|
16
16
|
*
|
|
17
|
+
* ## Example Usage
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as github from "@pulumi/github";
|
|
22
|
+
*
|
|
23
|
+
* // Add a repository to the team
|
|
24
|
+
* const someTeam = new github.Team("someTeam", {description: "Some cool team"});
|
|
25
|
+
* const codeReviewSettings = new github.TeamSettings("codeReviewSettings", {
|
|
26
|
+
* teamId: someTeam.id,
|
|
27
|
+
* reviewRequestDelegation: {
|
|
28
|
+
* algorithm: "ROUND_ROBIN",
|
|
29
|
+
* memberCount: 1,
|
|
30
|
+
* notify: true,
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
17
35
|
* ## Import
|
|
18
36
|
*
|
|
19
37
|
* GitHub Teams can be imported using the GitHub team ID, or the team slug e.g.
|
package/teamSettings.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teamSettings.js","sourceRoot":"","sources":["../teamSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"teamSettings.js","sourceRoot":"","sources":["../teamSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,yBAAyB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9F,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,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|
6
6
|
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as github from "@pulumi/github";
|
|
12
|
+
*
|
|
13
|
+
* const example = new github.UserGpgKey("example", {armoredPublicKey: `-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
14
|
+
* ...
|
|
15
|
+
* -----END PGP PUBLIC KEY BLOCK-----
|
|
16
|
+
* `});
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
7
19
|
* ## Import
|
|
8
20
|
*
|
|
9
21
|
* GPG keys are not importable due to the fact that [API](https://developer.github.com/v3/users/gpg_keys/#gpg-keys) does not return previously uploaded GPG key.
|
package/userGpgKey.js
CHANGED
|
@@ -10,6 +10,18 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* This resource allows you to add/remove GPG keys from your user account.
|
|
12
12
|
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as github from "@pulumi/github";
|
|
18
|
+
*
|
|
19
|
+
* const example = new github.UserGpgKey("example", {armoredPublicKey: `-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
20
|
+
* ...
|
|
21
|
+
* -----END PGP PUBLIC KEY BLOCK-----
|
|
22
|
+
* `});
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
13
25
|
* ## Import
|
|
14
26
|
*
|
|
15
27
|
* GPG keys are not importable due to the fact that [API](https://developer.github.com/v3/users/gpg_keys/#gpg-keys) does not return previously uploaded GPG key.
|
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
|
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