@pulumi/github 5.22.0-alpha.1697867134 → 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
package/getUsers.d.ts
CHANGED
|
@@ -1,23 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Use this data source to retrieve information about multiple GitHub users at once.
|
|
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 = github.getUsers({
|
|
12
|
-
* usernames: [
|
|
13
|
-
* "example1",
|
|
14
|
-
* "example2",
|
|
15
|
-
* "example3",
|
|
16
|
-
* ],
|
|
17
|
-
* });
|
|
18
|
-
* export const validUsers = example.then(example => example.logins);
|
|
19
|
-
* export const invalidUsers = example.then(example => example.unknownLogins);
|
|
20
|
-
* ```
|
|
21
4
|
*/
|
|
22
5
|
export declare function getUsers(args: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
|
|
23
6
|
/**
|
|
@@ -57,23 +40,6 @@ export interface GetUsersResult {
|
|
|
57
40
|
}
|
|
58
41
|
/**
|
|
59
42
|
* Use this data source to retrieve information about multiple GitHub users at once.
|
|
60
|
-
*
|
|
61
|
-
* ## Example Usage
|
|
62
|
-
*
|
|
63
|
-
* ```typescript
|
|
64
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
65
|
-
* import * as github from "@pulumi/github";
|
|
66
|
-
*
|
|
67
|
-
* const example = github.getUsers({
|
|
68
|
-
* usernames: [
|
|
69
|
-
* "example1",
|
|
70
|
-
* "example2",
|
|
71
|
-
* "example3",
|
|
72
|
-
* ],
|
|
73
|
-
* });
|
|
74
|
-
* export const validUsers = example.then(example => example.logins);
|
|
75
|
-
* export const invalidUsers = example.then(example => example.unknownLogins);
|
|
76
|
-
* ```
|
|
77
43
|
*/
|
|
78
44
|
export declare function getUsersOutput(args: GetUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUsersResult>;
|
|
79
45
|
/**
|
package/getUsers.js
CHANGED
|
@@ -7,23 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to retrieve information about multiple GitHub users at once.
|
|
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 = github.getUsers({
|
|
18
|
-
* usernames: [
|
|
19
|
-
* "example1",
|
|
20
|
-
* "example2",
|
|
21
|
-
* "example3",
|
|
22
|
-
* ],
|
|
23
|
-
* });
|
|
24
|
-
* export const validUsers = example.then(example => example.logins);
|
|
25
|
-
* export const invalidUsers = example.then(example => example.unknownLogins);
|
|
26
|
-
* ```
|
|
27
10
|
*/
|
|
28
11
|
function getUsers(args, opts) {
|
|
29
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -34,23 +17,6 @@ function getUsers(args, opts) {
|
|
|
34
17
|
exports.getUsers = getUsers;
|
|
35
18
|
/**
|
|
36
19
|
* Use this data source to retrieve information about multiple GitHub users at once.
|
|
37
|
-
*
|
|
38
|
-
* ## Example Usage
|
|
39
|
-
*
|
|
40
|
-
* ```typescript
|
|
41
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
-
* import * as github from "@pulumi/github";
|
|
43
|
-
*
|
|
44
|
-
* const example = github.getUsers({
|
|
45
|
-
* usernames: [
|
|
46
|
-
* "example1",
|
|
47
|
-
* "example2",
|
|
48
|
-
* "example3",
|
|
49
|
-
* ],
|
|
50
|
-
* });
|
|
51
|
-
* export const validUsers = example.then(example => example.logins);
|
|
52
|
-
* export const invalidUsers = example.then(example => example.unknownLogins);
|
|
53
|
-
* ```
|
|
54
20
|
*/
|
|
55
21
|
function getUsersOutput(args, opts) {
|
|
56
22
|
return pulumi.output(args).apply((a) => getUsers(a, opts));
|
package/getUsers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAsCD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/issue.d.ts
CHANGED
|
@@ -5,55 +5,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
* This resource allows you to create and manage issue within your
|
|
6
6
|
* GitHub repository.
|
|
7
7
|
*
|
|
8
|
-
* ## Example Usage
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as github from "@pulumi/github";
|
|
13
|
-
*
|
|
14
|
-
* // Create a simple issue
|
|
15
|
-
* const testRepository = new github.Repository("testRepository", {
|
|
16
|
-
* autoInit: true,
|
|
17
|
-
* hasIssues: true,
|
|
18
|
-
* });
|
|
19
|
-
* const testIssue = new github.Issue("testIssue", {
|
|
20
|
-
* repository: testRepository.name,
|
|
21
|
-
* title: "My issue title",
|
|
22
|
-
* body: "The body of my issue",
|
|
23
|
-
* });
|
|
24
|
-
* ```
|
|
25
|
-
* ### With Milestone And Project Assignment
|
|
26
|
-
*
|
|
27
|
-
* ```typescript
|
|
28
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
-
* import * as github from "@pulumi/github";
|
|
30
|
-
*
|
|
31
|
-
* // Create an issue with milestone and project assignment
|
|
32
|
-
* const testRepository = new github.Repository("testRepository", {
|
|
33
|
-
* autoInit: true,
|
|
34
|
-
* hasIssues: true,
|
|
35
|
-
* });
|
|
36
|
-
* const testRepositoryMilestone = new github.RepositoryMilestone("testRepositoryMilestone", {
|
|
37
|
-
* owner: testRepository.fullName.apply(fullName => fullName.split("/")).apply(split => split[0]),
|
|
38
|
-
* repository: testRepository.name,
|
|
39
|
-
* title: "v1.0.0",
|
|
40
|
-
* description: "General Availability",
|
|
41
|
-
* dueDate: "2022-11-22",
|
|
42
|
-
* state: "open",
|
|
43
|
-
* });
|
|
44
|
-
* const testIssue = new github.Issue("testIssue", {
|
|
45
|
-
* repository: testRepository.name,
|
|
46
|
-
* title: "My issue",
|
|
47
|
-
* body: "My issue body",
|
|
48
|
-
* labels: [
|
|
49
|
-
* "bug",
|
|
50
|
-
* "documentation",
|
|
51
|
-
* ],
|
|
52
|
-
* assignees: ["bob-github"],
|
|
53
|
-
* milestoneNumber: testRepositoryMilestone.number,
|
|
54
|
-
* });
|
|
55
|
-
* ```
|
|
56
|
-
*
|
|
57
8
|
* ## Import
|
|
58
9
|
*
|
|
59
10
|
* GitHub Issues can be imported using an ID made up of `repository:number`, e.g.
|
package/issue.js
CHANGED
|
@@ -11,55 +11,6 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* This resource allows you to create and manage issue within your
|
|
12
12
|
* GitHub repository.
|
|
13
13
|
*
|
|
14
|
-
* ## Example Usage
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as github from "@pulumi/github";
|
|
19
|
-
*
|
|
20
|
-
* // Create a simple issue
|
|
21
|
-
* const testRepository = new github.Repository("testRepository", {
|
|
22
|
-
* autoInit: true,
|
|
23
|
-
* hasIssues: true,
|
|
24
|
-
* });
|
|
25
|
-
* const testIssue = new github.Issue("testIssue", {
|
|
26
|
-
* repository: testRepository.name,
|
|
27
|
-
* title: "My issue title",
|
|
28
|
-
* body: "The body of my issue",
|
|
29
|
-
* });
|
|
30
|
-
* ```
|
|
31
|
-
* ### With Milestone And Project Assignment
|
|
32
|
-
*
|
|
33
|
-
* ```typescript
|
|
34
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
-
* import * as github from "@pulumi/github";
|
|
36
|
-
*
|
|
37
|
-
* // Create an issue with milestone and project assignment
|
|
38
|
-
* const testRepository = new github.Repository("testRepository", {
|
|
39
|
-
* autoInit: true,
|
|
40
|
-
* hasIssues: true,
|
|
41
|
-
* });
|
|
42
|
-
* const testRepositoryMilestone = new github.RepositoryMilestone("testRepositoryMilestone", {
|
|
43
|
-
* owner: testRepository.fullName.apply(fullName => fullName.split("/")).apply(split => split[0]),
|
|
44
|
-
* repository: testRepository.name,
|
|
45
|
-
* title: "v1.0.0",
|
|
46
|
-
* description: "General Availability",
|
|
47
|
-
* dueDate: "2022-11-22",
|
|
48
|
-
* state: "open",
|
|
49
|
-
* });
|
|
50
|
-
* const testIssue = new github.Issue("testIssue", {
|
|
51
|
-
* repository: testRepository.name,
|
|
52
|
-
* title: "My issue",
|
|
53
|
-
* body: "My issue body",
|
|
54
|
-
* labels: [
|
|
55
|
-
* "bug",
|
|
56
|
-
* "documentation",
|
|
57
|
-
* ],
|
|
58
|
-
* assignees: ["bob-github"],
|
|
59
|
-
* milestoneNumber: testRepositoryMilestone.number,
|
|
60
|
-
* });
|
|
61
|
-
* ```
|
|
62
|
-
*
|
|
63
14
|
* ## Import
|
|
64
15
|
*
|
|
65
16
|
* GitHub Issues can be imported using an ID made up of `repository:number`, e.g.
|
package/issue.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issue.js","sourceRoot":"","sources":["../issue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"issue.js","sourceRoot":"","sources":["../issue.ts"],"names":[],"mappings":";AAAA,wF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,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,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,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,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,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAxGL,sBAyGC;AA3FG,gBAAgB;AACO,kBAAY,GAAG,0BAA0B,CAAC"}
|
package/issueLabel.d.ts
CHANGED
|
@@ -1,18 +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
|
-
* // Create a new, red colored label
|
|
10
|
-
* const testRepo = new github.IssueLabel("testRepo", {
|
|
11
|
-
* color: "FF0000",
|
|
12
|
-
* repository: "test-repo",
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
15
|
-
*
|
|
16
3
|
* ## Import
|
|
17
4
|
*
|
|
18
5
|
* GitHub Issue Labels can be imported using an ID made up of `repository:name`, e.g.
|
package/issueLabel.js
CHANGED
|
@@ -6,19 +6,6 @@ exports.IssueLabel = 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
|
-
* // Create a new, red colored label
|
|
16
|
-
* const testRepo = new github.IssueLabel("testRepo", {
|
|
17
|
-
* color: "FF0000",
|
|
18
|
-
* repository: "test-repo",
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
9
|
* ## Import
|
|
23
10
|
*
|
|
24
11
|
* GitHub Issue Labels can be imported using an ID made up of `repository:name`, e.g.
|
package/issueLabel.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issueLabel.js","sourceRoot":"","sources":["../issueLabel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"issueLabel.js","sourceRoot":"","sources":["../issueLabel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAA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CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,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,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAtFL,gCAuFC;AAzEG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
package/membership.d.ts
CHANGED
|
@@ -6,19 +6,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
* an invitation will be sent to the user to become part of the organization. When
|
|
7
7
|
* destroyed, either the invitation will be cancelled or the user will be removed.
|
|
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
|
-
* role: "member",
|
|
18
|
-
* username: "SomeUser",
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
9
|
* ## Import
|
|
23
10
|
*
|
|
24
11
|
* GitHub Membership can be imported using an ID made up of `organization:username`, e.g.
|
package/membership.js
CHANGED
|
@@ -12,19 +12,6 @@ const utilities = require("./utilities");
|
|
|
12
12
|
* an invitation will be sent to the user to become part of the organization. When
|
|
13
13
|
* destroyed, either the invitation will be cancelled or the user will be removed.
|
|
14
14
|
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as github from "@pulumi/github";
|
|
20
|
-
*
|
|
21
|
-
* // Add a user to the organization
|
|
22
|
-
* const membershipForSomeUser = new github.Membership("membershipForSomeUser", {
|
|
23
|
-
* role: "member",
|
|
24
|
-
* username: "SomeUser",
|
|
25
|
-
* });
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
15
|
* ## Import
|
|
29
16
|
*
|
|
30
17
|
* GitHub Membership can be imported using an ID made up of `organization:username`, e.g.
|
package/membership.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"membership.js","sourceRoot":"","sources":["../membership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"membership.js","sourceRoot":"","sources":["../membership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,G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aAC3D;YACD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,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,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA3EL,gCA4EC;AA9DG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
package/organizationBlock.d.ts
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* This resource allows you to create and manage blocks for GitHub organizations.
|
|
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.OrganizationBlock("example", {username: "paultyng"});
|
|
12
|
-
* ```
|
|
13
4
|
*/
|
|
14
5
|
export declare class OrganizationBlock extends pulumi.CustomResource {
|
|
15
6
|
/**
|
package/organizationBlock.js
CHANGED
|
@@ -7,15 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* This resource allows you to create and manage blocks for GitHub organizations.
|
|
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.OrganizationBlock("example", {username: "paultyng"});
|
|
18
|
-
* ```
|
|
19
10
|
*/
|
|
20
11
|
class OrganizationBlock extends pulumi.CustomResource {
|
|
21
12
|
/**
|
package/organizationBlock.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationBlock.js","sourceRoot":"","sources":["../organizationBlock.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"organizationBlock.js","sourceRoot":"","sources":["../organizationBlock.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAgBD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAAgD,CAAC;YAC9D,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,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,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA3DL,8CA4DC;AA9CG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -4,39 +4,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* > Note: Custom roles are currently only available in GitHub Enterprise Cloud.
|
|
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.OrganizationCustomRole("example", {
|
|
14
|
-
* baseRole: "read",
|
|
15
|
-
* description: "Example custom role that uses the read role as its base",
|
|
16
|
-
* permissions: [
|
|
17
|
-
* "add_assignee",
|
|
18
|
-
* "add_label",
|
|
19
|
-
* "bypass_branch_protection",
|
|
20
|
-
* "close_issue",
|
|
21
|
-
* "close_pull_request",
|
|
22
|
-
* "mark_as_duplicate",
|
|
23
|
-
* "create_tag",
|
|
24
|
-
* "delete_issue",
|
|
25
|
-
* "delete_tag",
|
|
26
|
-
* "manage_deploy_keys",
|
|
27
|
-
* "push_protected_branch",
|
|
28
|
-
* "read_code_scanning",
|
|
29
|
-
* "reopen_issue",
|
|
30
|
-
* "reopen_pull_request",
|
|
31
|
-
* "request_pr_review",
|
|
32
|
-
* "resolve_dependabot_alerts",
|
|
33
|
-
* "resolve_secret_scanning_alerts",
|
|
34
|
-
* "view_secret_scanning_alerts",
|
|
35
|
-
* "write_code_scanning",
|
|
36
|
-
* ],
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
7
|
* ## Import
|
|
41
8
|
*
|
|
42
9
|
* Custom roles can be imported using the `id` of the role. The `id` of the custom role can be found using the [list custom roles in an organization](https://docs.github.com/en/enterprise-cloud@latest/rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization) API.
|
|
@@ -10,39 +10,6 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* > Note: Custom roles are currently only available in GitHub Enterprise Cloud.
|
|
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.OrganizationCustomRole("example", {
|
|
20
|
-
* baseRole: "read",
|
|
21
|
-
* description: "Example custom role that uses the read role as its base",
|
|
22
|
-
* permissions: [
|
|
23
|
-
* "add_assignee",
|
|
24
|
-
* "add_label",
|
|
25
|
-
* "bypass_branch_protection",
|
|
26
|
-
* "close_issue",
|
|
27
|
-
* "close_pull_request",
|
|
28
|
-
* "mark_as_duplicate",
|
|
29
|
-
* "create_tag",
|
|
30
|
-
* "delete_issue",
|
|
31
|
-
* "delete_tag",
|
|
32
|
-
* "manage_deploy_keys",
|
|
33
|
-
* "push_protected_branch",
|
|
34
|
-
* "read_code_scanning",
|
|
35
|
-
* "reopen_issue",
|
|
36
|
-
* "reopen_pull_request",
|
|
37
|
-
* "request_pr_review",
|
|
38
|
-
* "resolve_dependabot_alerts",
|
|
39
|
-
* "resolve_secret_scanning_alerts",
|
|
40
|
-
* "view_secret_scanning_alerts",
|
|
41
|
-
* "write_code_scanning",
|
|
42
|
-
* ],
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
13
|
* ## Import
|
|
47
14
|
*
|
|
48
15
|
* Custom roles can be imported using the `id` of the role. The `id` of the custom role can be found using the [list custom roles in an organization](https://docs.github.com/en/enterprise-cloud@latest/rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization) API.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationCustomRole.js","sourceRoot":"","sources":["../organizationCustomRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"organizationCustomRole.js","sourceRoot":"","sources":["../organizationCustomRole.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,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,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,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,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA7EL,wDA8EC;AAhEG,gBAAgB;AACO,mCAAY,GAAG,4DAA4D,CAAC"}
|
package/organizationProject.d.ts
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* This resource allows you to create and manage projects for GitHub organization.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as github from "@pulumi/github";
|
|
10
|
-
*
|
|
11
|
-
* const project = new github.OrganizationProject("project", {body: "This is a organization project."});
|
|
12
|
-
* ```
|
|
13
4
|
*/
|
|
14
5
|
export declare class OrganizationProject extends pulumi.CustomResource {
|
|
15
6
|
/**
|
package/organizationProject.js
CHANGED
|
@@ -7,15 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* This resource allows you to create and manage projects for GitHub organization.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as github from "@pulumi/github";
|
|
16
|
-
*
|
|
17
|
-
* const project = new github.OrganizationProject("project", {body: "This is a organization project."});
|
|
18
|
-
* ```
|
|
19
10
|
*/
|
|
20
11
|
class OrganizationProject extends pulumi.CustomResource {
|
|
21
12
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationProject.js","sourceRoot":"","sources":["../organizationProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"organizationProject.js","sourceRoot":"","sources":["../organizationProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAwBD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gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -1,15 +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 someTeamTeam = new github.Team("someTeamTeam", {description: "Some cool team"});
|
|
10
|
-
* const someTeamOrganizationSecurityManager = new github.OrganizationSecurityManager("someTeamOrganizationSecurityManager", {teamSlug: someTeamTeam.slug});
|
|
11
|
-
* ```
|
|
12
|
-
*
|
|
13
3
|
* ## Import
|
|
14
4
|
*
|
|
15
5
|
* GitHub Security Manager Teams can be imported using the GitHub team ID e.g.
|
|
@@ -6,16 +6,6 @@ exports.OrganizationSecurityManager = 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 someTeamTeam = new github.Team("someTeamTeam", {description: "Some cool team"});
|
|
16
|
-
* const someTeamOrganizationSecurityManager = new github.OrganizationSecurityManager("someTeamOrganizationSecurityManager", {teamSlug: someTeamTeam.slug});
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
9
|
* ## Import
|
|
20
10
|
*
|
|
21
11
|
* GitHub Security Manager Teams can be imported using the GitHub team ID e.g.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationSecurityManager.js","sourceRoot":"","sources":["../organizationSecurityManager.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;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,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AAxDL,kEAyDC;AA3CG,gBAAgB;AACO,wCAAY,GAAG,sEAAsE,CAAC"}
|
|
@@ -2,41 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* This resource allows you to create and manage settings for a GitHub Organization.
|
|
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 test = new github.OrganizationSettings("test", {
|
|
12
|
-
* advancedSecurityEnabledForNewRepositories: false,
|
|
13
|
-
* billingEmail: "test@example.com",
|
|
14
|
-
* blog: "https://example.com",
|
|
15
|
-
* company: "Test Company",
|
|
16
|
-
* defaultRepositoryPermission: "read",
|
|
17
|
-
* dependabotAlertsEnabledForNewRepositories: false,
|
|
18
|
-
* dependabotSecurityUpdatesEnabledForNewRepositories: false,
|
|
19
|
-
* dependencyGraphEnabledForNewRepositories: false,
|
|
20
|
-
* description: "Test Description",
|
|
21
|
-
* email: "test@example.com",
|
|
22
|
-
* hasOrganizationProjects: true,
|
|
23
|
-
* hasRepositoryProjects: true,
|
|
24
|
-
* location: "Test Location",
|
|
25
|
-
* membersCanCreateInternalRepositories: true,
|
|
26
|
-
* membersCanCreatePages: true,
|
|
27
|
-
* membersCanCreatePrivatePages: true,
|
|
28
|
-
* membersCanCreatePrivateRepositories: true,
|
|
29
|
-
* membersCanCreatePublicPages: true,
|
|
30
|
-
* membersCanCreatePublicRepositories: true,
|
|
31
|
-
* membersCanCreateRepositories: true,
|
|
32
|
-
* membersCanForkPrivateRepositories: true,
|
|
33
|
-
* secretScanningEnabledForNewRepositories: false,
|
|
34
|
-
* secretScanningPushProtectionEnabledForNewRepositories: false,
|
|
35
|
-
* twitterUsername: "Test",
|
|
36
|
-
* webCommitSignoffRequired: true,
|
|
37
|
-
* });
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
5
|
* ## Import
|
|
41
6
|
*
|
|
42
7
|
* Organization settings can be imported using the `id` of the organization. The `id` of the organization can be found using the [get an organization](https://docs.github.com/en/rest/orgs/orgs#get-an-organization) API.
|
package/organizationSettings.js
CHANGED
|
@@ -8,41 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This resource allows you to create and manage settings for a GitHub Organization.
|
|
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 test = new github.OrganizationSettings("test", {
|
|
18
|
-
* advancedSecurityEnabledForNewRepositories: false,
|
|
19
|
-
* billingEmail: "test@example.com",
|
|
20
|
-
* blog: "https://example.com",
|
|
21
|
-
* company: "Test Company",
|
|
22
|
-
* defaultRepositoryPermission: "read",
|
|
23
|
-
* dependabotAlertsEnabledForNewRepositories: false,
|
|
24
|
-
* dependabotSecurityUpdatesEnabledForNewRepositories: false,
|
|
25
|
-
* dependencyGraphEnabledForNewRepositories: false,
|
|
26
|
-
* description: "Test Description",
|
|
27
|
-
* email: "test@example.com",
|
|
28
|
-
* hasOrganizationProjects: true,
|
|
29
|
-
* hasRepositoryProjects: true,
|
|
30
|
-
* location: "Test Location",
|
|
31
|
-
* membersCanCreateInternalRepositories: true,
|
|
32
|
-
* membersCanCreatePages: true,
|
|
33
|
-
* membersCanCreatePrivatePages: true,
|
|
34
|
-
* membersCanCreatePrivateRepositories: true,
|
|
35
|
-
* membersCanCreatePublicPages: true,
|
|
36
|
-
* membersCanCreatePublicRepositories: true,
|
|
37
|
-
* membersCanCreateRepositories: true,
|
|
38
|
-
* membersCanForkPrivateRepositories: true,
|
|
39
|
-
* secretScanningEnabledForNewRepositories: false,
|
|
40
|
-
* secretScanningPushProtectionEnabledForNewRepositories: false,
|
|
41
|
-
* twitterUsername: "Test",
|
|
42
|
-
* webCommitSignoffRequired: true,
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
11
|
* ## Import
|
|
47
12
|
*
|
|
48
13
|
* Organization settings can be imported using the `id` of the organization. The `id` of the organization can be found using the [get an organization](https://docs.github.com/en/rest/orgs/orgs#get-an-organization) API.
|