@pulumi/github 4.17.0 → 5.0.0-alpha.1663887713
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/README.md +1 -1
- package/actionsEnvironmentSecret.d.ts +0 -105
- package/actionsEnvironmentSecret.js +0 -48
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +0 -72
- package/actionsOrganizationPermissions.js +0 -36
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +0 -110
- package/actionsOrganizationSecret.js +0 -50
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +0 -47
- package/actionsOrganizationSecretRepositories.js +0 -29
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsRunnerGroup.d.ts +0 -88
- package/actionsRunnerGroup.js +0 -25
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +0 -70
- package/actionsSecret.js +0 -22
- package/actionsSecret.js.map +1 -1
- package/appInstallationRepository.d.ts +0 -54
- package/appInstallationRepository.js +0 -36
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +0 -92
- package/branch.js +0 -38
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +0 -53
- package/branchDefault.js +0 -35
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +3 -155
- package/branchProtection.js +0 -53
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.d.ts +0 -138
- package/branchProtectionV3.js +0 -66
- package/branchProtectionV3.js.map +1 -1
- package/emuGroupMapping.d.ts +0 -41
- package/emuGroupMapping.js +0 -23
- package/emuGroupMapping.js.map +1 -1
- package/getActionsOrganizationSecrets.d.ts +13 -0
- package/getActionsOrganizationSecrets.js +16 -0
- package/getActionsOrganizationSecrets.js.map +1 -0
- package/getActionsPublicKey.d.ts +0 -27
- package/getActionsPublicKey.js +0 -15
- package/getActionsPublicKey.js.map +1 -1
- package/getActionsSecrets.d.ts +30 -0
- package/getActionsSecrets.js +24 -0
- package/getActionsSecrets.js.map +1 -0
- package/getBranch.d.ts +0 -36
- package/getBranch.js +0 -15
- package/getBranch.js.map +1 -1
- package/getCollaborators.d.ts +0 -36
- package/getCollaborators.js +0 -15
- package/getCollaborators.js.map +1 -1
- package/getExternalGroups.d.ts +0 -17
- package/getExternalGroups.js +0 -14
- package/getExternalGroups.js.map +1 -1
- package/getIpRanges.d.ts +0 -84
- package/getIpRanges.js +0 -12
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +0 -38
- package/getMembership.js +0 -17
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +0 -38
- package/getOrganization.js +0 -14
- package/getOrganization.js.map +1 -1
- package/getOrganizationTeamSyncGroups.d.ts +0 -15
- package/getOrganizationTeamSyncGroups.js +0 -12
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +0 -38
- package/getOrganizationTeams.js +0 -25
- package/getOrganizationTeams.js.map +1 -1
- package/getRef.d.ts +0 -33
- package/getRef.js +0 -15
- package/getRef.js.map +1 -1
- package/getRelease.d.ts +0 -121
- package/getRelease.js +0 -46
- package/getRelease.js.map +1 -1
- package/getRepositories.d.ts +0 -29
- package/getRepositories.js +0 -17
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +0 -132
- package/getRepository.js +0 -14
- package/getRepository.js.map +1 -1
- package/getRepositoryFile.d.ts +0 -55
- package/getRepositoryFile.js +0 -17
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +0 -46
- package/getRepositoryMilestone.js +0 -16
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +0 -75
- package/getRepositoryPullRequest.js +0 -15
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +0 -72
- package/getRepositoryPullRequests.js +0 -18
- package/getRepositoryPullRequests.js.map +1 -1
- package/getRepositoryTeams.d.ts +30 -0
- package/getRepositoryTeams.js +24 -0
- package/getRepositoryTeams.js.map +1 -0
- package/getTeam.d.ts +0 -47
- package/getTeam.js +0 -14
- package/getTeam.js.map +1 -1
- package/getTree.d.ts +0 -45
- package/getTree.js +0 -24
- package/getTree.js.map +1 -1
- package/getUser.d.ts +0 -87
- package/getUser.js +0 -21
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +0 -37
- package/getUsers.js +0 -22
- package/getUsers.js.map +1 -1
- package/index.d.ts +4 -0
- package/index.js +8 -0
- package/index.js.map +1 -1
- package/issue.d.ts +6 -117
- package/issue.js +0 -63
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +0 -64
- package/issueLabel.js +0 -22
- package/issueLabel.js.map +1 -1
- package/membership.d.ts +0 -49
- package/membership.js +0 -28
- package/membership.js.map +1 -1
- package/organizationBlock.d.ts +0 -23
- package/organizationBlock.js +0 -14
- package/organizationBlock.js.map +1 -1
- package/organizationProject.d.ts +0 -38
- package/organizationProject.js +0 -14
- package/organizationProject.js.map +1 -1
- package/organizationWebhook.d.ts +0 -63
- package/organizationWebhook.js +0 -30
- package/organizationWebhook.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/projectCard.d.ts +0 -87
- package/projectCard.js +0 -51
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +0 -31
- package/projectColumn.js +0 -13
- package/projectColumn.js.map +1 -1
- package/repository.d.ts +3 -377
- package/repository.js +0 -47
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +6 -40
- package/repositoryAutolinkReference.js +0 -28
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +0 -90
- package/repositoryCollaborator.js +0 -42
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryDeployKey.d.ts +0 -71
- package/repositoryDeployKey.js +0 -35
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryEnvironment.d.ts +0 -61
- package/repositoryEnvironment.js +0 -34
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryFile.d.ts +28 -68
- package/repositoryFile.js +0 -37
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.d.ts +3 -81
- package/repositoryMilestone.js +0 -27
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.d.ts +0 -52
- package/repositoryProject.js +0 -19
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.d.ts +4 -127
- package/repositoryPullRequest.js +0 -18
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryTagProtection.d.ts +44 -0
- package/repositoryTagProtection.js +59 -0
- package/repositoryTagProtection.js.map +1 -0
- package/repositoryWebhook.d.ts +0 -79
- package/repositoryWebhook.js +0 -37
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +0 -100
- package/team.js +0 -27
- package/team.js.map +1 -1
- package/teamMembers.d.ts +0 -58
- package/teamMembers.js +0 -40
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +0 -67
- package/teamMembership.js +0 -37
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +3 -59
- package/teamRepository.js +0 -35
- package/teamRepository.js.map +1 -1
- package/teamSyncGroupMapping.d.ts +0 -36
- package/teamSyncGroupMapping.js +0 -15
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/input.d.ts +0 -86
- package/types/output.d.ts +16 -237
- package/userGpgKey.d.ts +0 -40
- package/userGpgKey.js +0 -22
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.d.ts +0 -30
- package/userInvitationAccepter.js +0 -21
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.d.ts +0 -50
- package/userSshKey.js +0 -26
- package/userSshKey.js.map +1 -1
|
@@ -1,33 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* This resource allows you to manage repository allow list for existing GitHub Actions secrets within your GitHub organization.
|
|
4
|
-
* You must have write access to an organization secret to use this resource.
|
|
5
|
-
*
|
|
6
|
-
* This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
|
|
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 = github.getRepository({
|
|
15
|
-
* fullName: "my-org/repo",
|
|
16
|
-
* });
|
|
17
|
-
* const orgSecretRepos = new github.ActionsOrganizationSecretRepositories("orgSecretRepos", {
|
|
18
|
-
* secretName: "existing_secret_name",
|
|
19
|
-
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* ## Import
|
|
24
|
-
*
|
|
25
|
-
* This resource can be imported using an ID made up of the secret name
|
|
26
|
-
*
|
|
27
|
-
* ```sh
|
|
28
|
-
* $ pulumi import github:index/actionsOrganizationSecretRepositories:ActionsOrganizationSecretRepositories test_secret_repos test_secret_name
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
2
|
export declare class ActionsOrganizationSecretRepositories extends pulumi.CustomResource {
|
|
32
3
|
/**
|
|
33
4
|
* Get an existing ActionsOrganizationSecretRepositories resource's state with the given name, ID, and optional extra
|
|
@@ -44,13 +15,7 @@ export declare class ActionsOrganizationSecretRepositories extends pulumi.Custom
|
|
|
44
15
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
16
|
*/
|
|
46
17
|
static isInstance(obj: any): obj is ActionsOrganizationSecretRepositories;
|
|
47
|
-
/**
|
|
48
|
-
* Name of the existing secret
|
|
49
|
-
*/
|
|
50
18
|
readonly secretName: pulumi.Output<string>;
|
|
51
|
-
/**
|
|
52
|
-
* An array of repository ids that can access the organization secret.
|
|
53
|
-
*/
|
|
54
19
|
readonly selectedRepositoryIds: pulumi.Output<number[]>;
|
|
55
20
|
/**
|
|
56
21
|
* Create a ActionsOrganizationSecretRepositories resource with the given unique name, arguments, and options.
|
|
@@ -65,25 +30,13 @@ export declare class ActionsOrganizationSecretRepositories extends pulumi.Custom
|
|
|
65
30
|
* Input properties used for looking up and filtering ActionsOrganizationSecretRepositories resources.
|
|
66
31
|
*/
|
|
67
32
|
export interface ActionsOrganizationSecretRepositoriesState {
|
|
68
|
-
/**
|
|
69
|
-
* Name of the existing secret
|
|
70
|
-
*/
|
|
71
33
|
secretName?: pulumi.Input<string>;
|
|
72
|
-
/**
|
|
73
|
-
* An array of repository ids that can access the organization secret.
|
|
74
|
-
*/
|
|
75
34
|
selectedRepositoryIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
76
35
|
}
|
|
77
36
|
/**
|
|
78
37
|
* The set of arguments for constructing a ActionsOrganizationSecretRepositories resource.
|
|
79
38
|
*/
|
|
80
39
|
export interface ActionsOrganizationSecretRepositoriesArgs {
|
|
81
|
-
/**
|
|
82
|
-
* Name of the existing secret
|
|
83
|
-
*/
|
|
84
40
|
secretName: pulumi.Input<string>;
|
|
85
|
-
/**
|
|
86
|
-
* An array of repository ids that can access the organization secret.
|
|
87
|
-
*/
|
|
88
41
|
selectedRepositoryIds: pulumi.Input<pulumi.Input<number>[]>;
|
|
89
42
|
}
|
|
@@ -5,35 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.ActionsOrganizationSecretRepositories = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* This resource allows you to manage repository allow list for existing GitHub Actions secrets within your GitHub organization.
|
|
10
|
-
* You must have write access to an organization secret to use this resource.
|
|
11
|
-
*
|
|
12
|
-
* This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
|
|
13
|
-
*
|
|
14
|
-
* ## Example Usage
|
|
15
|
-
*
|
|
16
|
-
* ```typescript
|
|
17
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
-
* import * as github from "@pulumi/github";
|
|
19
|
-
*
|
|
20
|
-
* const repo = github.getRepository({
|
|
21
|
-
* fullName: "my-org/repo",
|
|
22
|
-
* });
|
|
23
|
-
* const orgSecretRepos = new github.ActionsOrganizationSecretRepositories("orgSecretRepos", {
|
|
24
|
-
* secretName: "existing_secret_name",
|
|
25
|
-
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
26
|
-
* });
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* ## Import
|
|
30
|
-
*
|
|
31
|
-
* This resource can be imported using an ID made up of the secret name
|
|
32
|
-
*
|
|
33
|
-
* ```sh
|
|
34
|
-
* $ pulumi import github:index/actionsOrganizationSecretRepositories:ActionsOrganizationSecretRepositories test_secret_repos test_secret_name
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
8
|
class ActionsOrganizationSecretRepositories extends pulumi.CustomResource {
|
|
38
9
|
constructor(name, argsOrState, opts) {
|
|
39
10
|
let resourceInputs = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationSecretRepositories.js","sourceRoot":"","sources":["../actionsOrganizationSecretRepositories.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecretRepositories.js","sourceRoot":"","sources":["../actionsOrganizationSecretRepositories.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,qCAAsC,SAAQ,MAAM,CAAC,cAAc;IAuC5E,YAAY,IAAY,EAAE,WAAoG,EAAE,IAAmC;QAC/J,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqE,CAAC;YACpF,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAA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;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qCAAqC,CAAC,YAAY,CAAC;IACtF,CAAC;;AA1BL,sFA4DC;AA9CG,gBAAgB;AACO,kDAAY,GAAG,0FAA0F,CAAC"}
|
package/actionsRunnerGroup.d.ts
CHANGED
|
@@ -1,29 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* This resource allows you to create and manage GitHub Actions runner groups within your GitHub enterprise organizations.
|
|
4
|
-
* You must have admin access to an organization to use this resource.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as github from "@pulumi/github";
|
|
11
|
-
*
|
|
12
|
-
* const exampleRepository = new github.Repository("exampleRepository", {});
|
|
13
|
-
* const exampleActionsRunnerGroup = new github.ActionsRunnerGroup("exampleActionsRunnerGroup", {
|
|
14
|
-
* visibility: "selected",
|
|
15
|
-
* selectedRepositoryIds: [exampleRepository.repoId],
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* ## Import
|
|
20
|
-
*
|
|
21
|
-
* This resource can be imported using the ID of the runner group
|
|
22
|
-
*
|
|
23
|
-
* ```sh
|
|
24
|
-
* $ pulumi import github:index/actionsRunnerGroup:ActionsRunnerGroup test 7
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
2
|
export declare class ActionsRunnerGroup extends pulumi.CustomResource {
|
|
28
3
|
/**
|
|
29
4
|
* Get an existing ActionsRunnerGroup resource's state with the given name, ID, and optional extra
|
|
@@ -40,41 +15,14 @@ export declare class ActionsRunnerGroup extends pulumi.CustomResource {
|
|
|
40
15
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
41
16
|
*/
|
|
42
17
|
static isInstance(obj: any): obj is ActionsRunnerGroup;
|
|
43
|
-
/**
|
|
44
|
-
* Whether public repositories can be added to the runner group
|
|
45
|
-
*/
|
|
46
18
|
readonly allowsPublicRepositories: pulumi.Output<boolean>;
|
|
47
|
-
/**
|
|
48
|
-
* Whether this is the default runner group
|
|
49
|
-
*/
|
|
50
19
|
readonly default: pulumi.Output<boolean>;
|
|
51
|
-
/**
|
|
52
|
-
* An etag representing the runner group object
|
|
53
|
-
*/
|
|
54
20
|
readonly etag: pulumi.Output<string>;
|
|
55
|
-
/**
|
|
56
|
-
* Whether the runner group is inherited from the enterprise level
|
|
57
|
-
*/
|
|
58
21
|
readonly inherited: pulumi.Output<boolean>;
|
|
59
|
-
/**
|
|
60
|
-
* Name of the runner group
|
|
61
|
-
*/
|
|
62
22
|
readonly name: pulumi.Output<string>;
|
|
63
|
-
/**
|
|
64
|
-
* The GitHub API URL for the runner group's runners
|
|
65
|
-
*/
|
|
66
23
|
readonly runnersUrl: pulumi.Output<string>;
|
|
67
|
-
/**
|
|
68
|
-
* Github API URL for the runner group's repositories
|
|
69
|
-
*/
|
|
70
24
|
readonly selectedRepositoriesUrl: pulumi.Output<string>;
|
|
71
|
-
/**
|
|
72
|
-
* IDs of the repositories which should be added to the runner group
|
|
73
|
-
*/
|
|
74
25
|
readonly selectedRepositoryIds: pulumi.Output<number[] | undefined>;
|
|
75
|
-
/**
|
|
76
|
-
* Visibility of a runner group. Whether the runner group can include `all`, `selected`, or `private` repositories. A value of `private` is not currently supported due to limitations in the GitHub API.
|
|
77
|
-
*/
|
|
78
26
|
readonly visibility: pulumi.Output<string>;
|
|
79
27
|
/**
|
|
80
28
|
* Create a ActionsRunnerGroup resource with the given unique name, arguments, and options.
|
|
@@ -89,57 +37,21 @@ export declare class ActionsRunnerGroup extends pulumi.CustomResource {
|
|
|
89
37
|
* Input properties used for looking up and filtering ActionsRunnerGroup resources.
|
|
90
38
|
*/
|
|
91
39
|
export interface ActionsRunnerGroupState {
|
|
92
|
-
/**
|
|
93
|
-
* Whether public repositories can be added to the runner group
|
|
94
|
-
*/
|
|
95
40
|
allowsPublicRepositories?: pulumi.Input<boolean>;
|
|
96
|
-
/**
|
|
97
|
-
* Whether this is the default runner group
|
|
98
|
-
*/
|
|
99
41
|
default?: pulumi.Input<boolean>;
|
|
100
|
-
/**
|
|
101
|
-
* An etag representing the runner group object
|
|
102
|
-
*/
|
|
103
42
|
etag?: pulumi.Input<string>;
|
|
104
|
-
/**
|
|
105
|
-
* Whether the runner group is inherited from the enterprise level
|
|
106
|
-
*/
|
|
107
43
|
inherited?: pulumi.Input<boolean>;
|
|
108
|
-
/**
|
|
109
|
-
* Name of the runner group
|
|
110
|
-
*/
|
|
111
44
|
name?: pulumi.Input<string>;
|
|
112
|
-
/**
|
|
113
|
-
* The GitHub API URL for the runner group's runners
|
|
114
|
-
*/
|
|
115
45
|
runnersUrl?: pulumi.Input<string>;
|
|
116
|
-
/**
|
|
117
|
-
* Github API URL for the runner group's repositories
|
|
118
|
-
*/
|
|
119
46
|
selectedRepositoriesUrl?: pulumi.Input<string>;
|
|
120
|
-
/**
|
|
121
|
-
* IDs of the repositories which should be added to the runner group
|
|
122
|
-
*/
|
|
123
47
|
selectedRepositoryIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
124
|
-
/**
|
|
125
|
-
* Visibility of a runner group. Whether the runner group can include `all`, `selected`, or `private` repositories. A value of `private` is not currently supported due to limitations in the GitHub API.
|
|
126
|
-
*/
|
|
127
48
|
visibility?: pulumi.Input<string>;
|
|
128
49
|
}
|
|
129
50
|
/**
|
|
130
51
|
* The set of arguments for constructing a ActionsRunnerGroup resource.
|
|
131
52
|
*/
|
|
132
53
|
export interface ActionsRunnerGroupArgs {
|
|
133
|
-
/**
|
|
134
|
-
* Name of the runner group
|
|
135
|
-
*/
|
|
136
54
|
name?: pulumi.Input<string>;
|
|
137
|
-
/**
|
|
138
|
-
* IDs of the repositories which should be added to the runner group
|
|
139
|
-
*/
|
|
140
55
|
selectedRepositoryIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
141
|
-
/**
|
|
142
|
-
* Visibility of a runner group. Whether the runner group can include `all`, `selected`, or `private` repositories. A value of `private` is not currently supported due to limitations in the GitHub API.
|
|
143
|
-
*/
|
|
144
56
|
visibility: pulumi.Input<string>;
|
|
145
57
|
}
|
package/actionsRunnerGroup.js
CHANGED
|
@@ -5,31 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.ActionsRunnerGroup = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* This resource allows you to create and manage GitHub Actions runner groups within your GitHub enterprise organizations.
|
|
10
|
-
* You must have admin access to an organization to use this resource.
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as github from "@pulumi/github";
|
|
17
|
-
*
|
|
18
|
-
* const exampleRepository = new github.Repository("exampleRepository", {});
|
|
19
|
-
* const exampleActionsRunnerGroup = new github.ActionsRunnerGroup("exampleActionsRunnerGroup", {
|
|
20
|
-
* visibility: "selected",
|
|
21
|
-
* selectedRepositoryIds: [exampleRepository.repoId],
|
|
22
|
-
* });
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* ## Import
|
|
26
|
-
*
|
|
27
|
-
* This resource can be imported using the ID of the runner group
|
|
28
|
-
*
|
|
29
|
-
* ```sh
|
|
30
|
-
* $ pulumi import github:index/actionsRunnerGroup:ActionsRunnerGroup test 7
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
8
|
class ActionsRunnerGroup extends pulumi.CustomResource {
|
|
34
9
|
constructor(name, argsOrState, opts) {
|
|
35
10
|
let resourceInputs = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsRunnerGroup.js","sourceRoot":"","sources":["../actionsRunnerGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsRunnerGroup.js","sourceRoot":"","sources":["../actionsRunnerGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IA8CzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,0BAA0B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,yBAAyB,CAAC,GAAG,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AG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;IA5ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDA8EC;AAhEG,gBAAgB;AACO,+BAAY,GAAG,oDAAoD,CAAC"}
|
package/actionsSecret.d.ts
CHANGED
|
@@ -1,26 +1,4 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* ## Example Usage
|
|
4
|
-
*
|
|
5
|
-
* ```typescript
|
|
6
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
-
* import * as github from "@pulumi/github";
|
|
8
|
-
*
|
|
9
|
-
* const examplePublicKey = github.getActionsPublicKey({
|
|
10
|
-
* repository: "example_repository",
|
|
11
|
-
* });
|
|
12
|
-
* const exampleSecretActionsSecret = new github.ActionsSecret("exampleSecretActionsSecret", {
|
|
13
|
-
* repository: "example_repository",
|
|
14
|
-
* secretName: "example_secret_name",
|
|
15
|
-
* plaintextValue: _var.some_secret_string,
|
|
16
|
-
* });
|
|
17
|
-
* const exampleSecretIndex_actionsSecretActionsSecret = new github.ActionsSecret("exampleSecretIndex/actionsSecretActionsSecret", {
|
|
18
|
-
* repository: "example_repository",
|
|
19
|
-
* secretName: "example_secret_name",
|
|
20
|
-
* encryptedValue: _var.some_encrypted_secret_string,
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
2
|
export declare class ActionsSecret extends pulumi.CustomResource {
|
|
25
3
|
/**
|
|
26
4
|
* Get an existing ActionsSecret resource's state with the given name, ID, and optional extra
|
|
@@ -37,29 +15,11 @@ export declare class ActionsSecret extends pulumi.CustomResource {
|
|
|
37
15
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
38
16
|
*/
|
|
39
17
|
static isInstance(obj: any): obj is ActionsSecret;
|
|
40
|
-
/**
|
|
41
|
-
* Date of actionsSecret creation.
|
|
42
|
-
*/
|
|
43
18
|
readonly createdAt: pulumi.Output<string>;
|
|
44
|
-
/**
|
|
45
|
-
* Encrypted value of the secret using the Github public key in Base64 format.
|
|
46
|
-
*/
|
|
47
19
|
readonly encryptedValue: pulumi.Output<string | undefined>;
|
|
48
|
-
/**
|
|
49
|
-
* Plaintext value of the secret to be encrypted
|
|
50
|
-
*/
|
|
51
20
|
readonly plaintextValue: pulumi.Output<string | undefined>;
|
|
52
|
-
/**
|
|
53
|
-
* Name of the repository
|
|
54
|
-
*/
|
|
55
21
|
readonly repository: pulumi.Output<string>;
|
|
56
|
-
/**
|
|
57
|
-
* Name of the secret
|
|
58
|
-
*/
|
|
59
22
|
readonly secretName: pulumi.Output<string>;
|
|
60
|
-
/**
|
|
61
|
-
* Date of actionsSecret update.
|
|
62
|
-
*/
|
|
63
23
|
readonly updatedAt: pulumi.Output<string>;
|
|
64
24
|
/**
|
|
65
25
|
* Create a ActionsSecret resource with the given unique name, arguments, and options.
|
|
@@ -74,49 +34,19 @@ export declare class ActionsSecret extends pulumi.CustomResource {
|
|
|
74
34
|
* Input properties used for looking up and filtering ActionsSecret resources.
|
|
75
35
|
*/
|
|
76
36
|
export interface ActionsSecretState {
|
|
77
|
-
/**
|
|
78
|
-
* Date of actionsSecret creation.
|
|
79
|
-
*/
|
|
80
37
|
createdAt?: pulumi.Input<string>;
|
|
81
|
-
/**
|
|
82
|
-
* Encrypted value of the secret using the Github public key in Base64 format.
|
|
83
|
-
*/
|
|
84
38
|
encryptedValue?: pulumi.Input<string>;
|
|
85
|
-
/**
|
|
86
|
-
* Plaintext value of the secret to be encrypted
|
|
87
|
-
*/
|
|
88
39
|
plaintextValue?: pulumi.Input<string>;
|
|
89
|
-
/**
|
|
90
|
-
* Name of the repository
|
|
91
|
-
*/
|
|
92
40
|
repository?: pulumi.Input<string>;
|
|
93
|
-
/**
|
|
94
|
-
* Name of the secret
|
|
95
|
-
*/
|
|
96
41
|
secretName?: pulumi.Input<string>;
|
|
97
|
-
/**
|
|
98
|
-
* Date of actionsSecret update.
|
|
99
|
-
*/
|
|
100
42
|
updatedAt?: pulumi.Input<string>;
|
|
101
43
|
}
|
|
102
44
|
/**
|
|
103
45
|
* The set of arguments for constructing a ActionsSecret resource.
|
|
104
46
|
*/
|
|
105
47
|
export interface ActionsSecretArgs {
|
|
106
|
-
/**
|
|
107
|
-
* Encrypted value of the secret using the Github public key in Base64 format.
|
|
108
|
-
*/
|
|
109
48
|
encryptedValue?: pulumi.Input<string>;
|
|
110
|
-
/**
|
|
111
|
-
* Plaintext value of the secret to be encrypted
|
|
112
|
-
*/
|
|
113
49
|
plaintextValue?: pulumi.Input<string>;
|
|
114
|
-
/**
|
|
115
|
-
* Name of the repository
|
|
116
|
-
*/
|
|
117
50
|
repository: pulumi.Input<string>;
|
|
118
|
-
/**
|
|
119
|
-
* Name of the secret
|
|
120
|
-
*/
|
|
121
51
|
secretName: pulumi.Input<string>;
|
|
122
52
|
}
|
package/actionsSecret.js
CHANGED
|
@@ -5,28 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.ActionsSecret = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* ## Example Usage
|
|
10
|
-
*
|
|
11
|
-
* ```typescript
|
|
12
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
-
* import * as github from "@pulumi/github";
|
|
14
|
-
*
|
|
15
|
-
* const examplePublicKey = github.getActionsPublicKey({
|
|
16
|
-
* repository: "example_repository",
|
|
17
|
-
* });
|
|
18
|
-
* const exampleSecretActionsSecret = new github.ActionsSecret("exampleSecretActionsSecret", {
|
|
19
|
-
* repository: "example_repository",
|
|
20
|
-
* secretName: "example_secret_name",
|
|
21
|
-
* plaintextValue: _var.some_secret_string,
|
|
22
|
-
* });
|
|
23
|
-
* const exampleSecretIndex_actionsSecretActionsSecret = new github.ActionsSecret("exampleSecretIndex/actionsSecretActionsSecret", {
|
|
24
|
-
* repository: "example_repository",
|
|
25
|
-
* secretName: "example_secret_name",
|
|
26
|
-
* encryptedValue: _var.some_encrypted_secret_string,
|
|
27
|
-
* });
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
8
|
class ActionsSecret extends pulumi.CustomResource {
|
|
31
9
|
constructor(name, argsOrState, opts) {
|
|
32
10
|
let resourceInputs = {};
|
package/actionsSecret.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsSecret.js","sourceRoot":"","sources":["../actionsSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsSecret.js","sourceRoot":"","sources":["../actionsSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IA2CpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,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This resource is not compatible with the GitHub App Installation authentication method.
|
|
4
|
-
*
|
|
5
|
-
* This resource manages relationships between app installations and repositories
|
|
6
|
-
* in your GitHub organization.
|
|
7
|
-
*
|
|
8
|
-
* Creating this resource installs a particular app on a particular repository.
|
|
9
|
-
*
|
|
10
|
-
* The app installation and the repository must both belong to the same
|
|
11
|
-
* organization on GitHub. Note: you can review your organization's installations
|
|
12
|
-
* by the following the instructions at this
|
|
13
|
-
* [link](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations).
|
|
14
|
-
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
-
* import * as github from "@pulumi/github";
|
|
20
|
-
*
|
|
21
|
-
* // Create a repository.
|
|
22
|
-
* const someRepo = new github.Repository("some_repo", {});
|
|
23
|
-
* const someAppRepo = new github.AppInstallationRepository("some_app_repo", {
|
|
24
|
-
* // The installation id of the app (in the organization).
|
|
25
|
-
* installationId: "1234567",
|
|
26
|
-
* repository: someRepo.name,
|
|
27
|
-
* });
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* ## Import
|
|
31
|
-
*
|
|
32
|
-
* GitHub App Installation Repository can be imported using an ID made up of `installation_id:repository`, e.g.
|
|
33
|
-
*
|
|
34
|
-
* ```sh
|
|
35
|
-
* $ pulumi import github:index/appInstallationRepository:AppInstallationRepository terraform_repo 1234567:terraform
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
2
|
export declare class AppInstallationRepository extends pulumi.CustomResource {
|
|
39
3
|
/**
|
|
40
4
|
* Get an existing AppInstallationRepository resource's state with the given name, ID, and optional extra
|
|
@@ -51,14 +15,8 @@ export declare class AppInstallationRepository extends pulumi.CustomResource {
|
|
|
51
15
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
16
|
*/
|
|
53
17
|
static isInstance(obj: any): obj is AppInstallationRepository;
|
|
54
|
-
/**
|
|
55
|
-
* The GitHub app installation id.
|
|
56
|
-
*/
|
|
57
18
|
readonly installationId: pulumi.Output<string>;
|
|
58
19
|
readonly repoId: pulumi.Output<number>;
|
|
59
|
-
/**
|
|
60
|
-
* The repository to install the app on.
|
|
61
|
-
*/
|
|
62
20
|
readonly repository: pulumi.Output<string>;
|
|
63
21
|
/**
|
|
64
22
|
* Create a AppInstallationRepository resource with the given unique name, arguments, and options.
|
|
@@ -73,26 +31,14 @@ export declare class AppInstallationRepository extends pulumi.CustomResource {
|
|
|
73
31
|
* Input properties used for looking up and filtering AppInstallationRepository resources.
|
|
74
32
|
*/
|
|
75
33
|
export interface AppInstallationRepositoryState {
|
|
76
|
-
/**
|
|
77
|
-
* The GitHub app installation id.
|
|
78
|
-
*/
|
|
79
34
|
installationId?: pulumi.Input<string>;
|
|
80
35
|
repoId?: pulumi.Input<number>;
|
|
81
|
-
/**
|
|
82
|
-
* The repository to install the app on.
|
|
83
|
-
*/
|
|
84
36
|
repository?: pulumi.Input<string>;
|
|
85
37
|
}
|
|
86
38
|
/**
|
|
87
39
|
* The set of arguments for constructing a AppInstallationRepository resource.
|
|
88
40
|
*/
|
|
89
41
|
export interface AppInstallationRepositoryArgs {
|
|
90
|
-
/**
|
|
91
|
-
* The GitHub app installation id.
|
|
92
|
-
*/
|
|
93
42
|
installationId: pulumi.Input<string>;
|
|
94
|
-
/**
|
|
95
|
-
* The repository to install the app on.
|
|
96
|
-
*/
|
|
97
43
|
repository: pulumi.Input<string>;
|
|
98
44
|
}
|
|
@@ -5,42 +5,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.AppInstallationRepository = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* > **Note**: This resource is not compatible with the GitHub App Installation authentication method.
|
|
10
|
-
*
|
|
11
|
-
* This resource manages relationships between app installations and repositories
|
|
12
|
-
* in your GitHub organization.
|
|
13
|
-
*
|
|
14
|
-
* Creating this resource installs a particular app on a particular repository.
|
|
15
|
-
*
|
|
16
|
-
* The app installation and the repository must both belong to the same
|
|
17
|
-
* organization on GitHub. Note: you can review your organization's installations
|
|
18
|
-
* by the following the instructions at this
|
|
19
|
-
* [link](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations).
|
|
20
|
-
*
|
|
21
|
-
* ## Example Usage
|
|
22
|
-
*
|
|
23
|
-
* ```typescript
|
|
24
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
25
|
-
* import * as github from "@pulumi/github";
|
|
26
|
-
*
|
|
27
|
-
* // Create a repository.
|
|
28
|
-
* const someRepo = new github.Repository("some_repo", {});
|
|
29
|
-
* const someAppRepo = new github.AppInstallationRepository("some_app_repo", {
|
|
30
|
-
* // The installation id of the app (in the organization).
|
|
31
|
-
* installationId: "1234567",
|
|
32
|
-
* repository: someRepo.name,
|
|
33
|
-
* });
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* ## Import
|
|
37
|
-
*
|
|
38
|
-
* GitHub App Installation Repository can be imported using an ID made up of `installation_id:repository`, e.g.
|
|
39
|
-
*
|
|
40
|
-
* ```sh
|
|
41
|
-
* $ pulumi import github:index/appInstallationRepository:AppInstallationRepository terraform_repo 1234567:terraform
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
8
|
class AppInstallationRepository extends pulumi.CustomResource {
|
|
45
9
|
constructor(name, argsOrState, opts) {
|
|
46
10
|
let resourceInputs = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appInstallationRepository.js","sourceRoot":"","sources":["../appInstallationRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"appInstallationRepository.js","sourceRoot":"","sources":["../appInstallationRepository.ts"],"names":[],"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