@pulumi/github 5.9.0 → 5.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionsRepositoryPermissions.d.ts +1 -1
- package/actionsRepositoryPermissions.js +1 -1
- package/appInstallationRepositories.d.ts +6 -0
- package/appInstallationRepositories.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/projectCard.d.ts +9 -0
- package/projectCard.js.map +1 -1
- package/repositoryDeployKey.d.ts +6 -0
- package/repositoryDeployKey.js.map +1 -1
- package/teamMembership.d.ts +11 -0
- package/teamMembership.js +11 -0
- package/teamMembership.js.map +1 -1
- package/teamSyncGroupMapping.d.ts +6 -0
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/input.d.ts +2 -0
- package/types/output.d.ts +2 -0
|
@@ -31,7 +31,7 @@ import * as outputs from "./types/output";
|
|
|
31
31
|
* This resource can be imported using the name of the GitHub repository
|
|
32
32
|
*
|
|
33
33
|
* ```sh
|
|
34
|
-
* $ pulumi import github:index/actionsRepositoryPermissions:ActionsRepositoryPermissions test
|
|
34
|
+
* $ pulumi import github:index/actionsRepositoryPermissions:ActionsRepositoryPermissions test my-repository
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
37
|
export declare class ActionsRepositoryPermissions extends pulumi.CustomResource {
|
|
@@ -35,7 +35,7 @@ const utilities = require("./utilities");
|
|
|
35
35
|
* This resource can be imported using the name of the GitHub repository
|
|
36
36
|
*
|
|
37
37
|
* ```sh
|
|
38
|
-
* $ pulumi import github:index/actionsRepositoryPermissions:ActionsRepositoryPermissions test
|
|
38
|
+
* $ pulumi import github:index/actionsRepositoryPermissions:ActionsRepositoryPermissions test my-repository
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
class ActionsRepositoryPermissions extends pulumi.CustomResource {
|
|
@@ -42,6 +42,8 @@ export declare class AppInstallationRepositories extends pulumi.CustomResource {
|
|
|
42
42
|
readonly installationId: pulumi.Output<string>;
|
|
43
43
|
/**
|
|
44
44
|
* A list of repository names to install the app on.
|
|
45
|
+
*
|
|
46
|
+
* > **Note**: Due to how GitHub implements app installations, apps cannot be installed with no repositories selected. Therefore deleting this resource will leave one repository with the app installed. Manually uninstall the app or set the installation to all repositories via the GUI as after deleting this resource.
|
|
45
47
|
*/
|
|
46
48
|
readonly selectedRepositories: pulumi.Output<string[]>;
|
|
47
49
|
/**
|
|
@@ -63,6 +65,8 @@ export interface AppInstallationRepositoriesState {
|
|
|
63
65
|
installationId?: pulumi.Input<string>;
|
|
64
66
|
/**
|
|
65
67
|
* A list of repository names to install the app on.
|
|
68
|
+
*
|
|
69
|
+
* > **Note**: Due to how GitHub implements app installations, apps cannot be installed with no repositories selected. Therefore deleting this resource will leave one repository with the app installed. Manually uninstall the app or set the installation to all repositories via the GUI as after deleting this resource.
|
|
66
70
|
*/
|
|
67
71
|
selectedRepositories?: pulumi.Input<pulumi.Input<string>[]>;
|
|
68
72
|
}
|
|
@@ -76,6 +80,8 @@ export interface AppInstallationRepositoriesArgs {
|
|
|
76
80
|
installationId: pulumi.Input<string>;
|
|
77
81
|
/**
|
|
78
82
|
* A list of repository names to install the app on.
|
|
83
|
+
*
|
|
84
|
+
* > **Note**: Due to how GitHub implements app installations, apps cannot be installed with no repositories selected. Therefore deleting this resource will leave one repository with the app installed. Manually uninstall the app or set the installation to all repositories via the GUI as after deleting this resource.
|
|
79
85
|
*/
|
|
80
86
|
selectedRepositories: pulumi.Input<pulumi.Input<string>[]>;
|
|
81
87
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appInstallationRepositories.js","sourceRoot":"","sources":["../appInstallationRepositories.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,M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
|
|
3
|
+
"version": "v5.9.1",
|
|
4
4
|
"description": "A Pulumi package for creating and managing github cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource github v5.9.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource github v5.9.1"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/github",
|
|
3
|
-
"version": "v5.9.
|
|
3
|
+
"version": "v5.9.1",
|
|
4
4
|
"description": "A Pulumi package for creating and managing github cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource github v5.9.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource github v5.9.1"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/projectCard.d.ts
CHANGED
|
@@ -80,6 +80,9 @@ export declare class ProjectCard extends pulumi.CustomResource {
|
|
|
80
80
|
readonly contentId: pulumi.Output<number | undefined>;
|
|
81
81
|
/**
|
|
82
82
|
* Must be either `Issue` or `PullRequest`
|
|
83
|
+
*
|
|
84
|
+
* **Remarks:** You must either set the `note` attribute or both `contentId` and `contentType`.
|
|
85
|
+
* See note example or issue example for more information.
|
|
83
86
|
*/
|
|
84
87
|
readonly contentType: pulumi.Output<string | undefined>;
|
|
85
88
|
readonly etag: pulumi.Output<string>;
|
|
@@ -114,6 +117,9 @@ export interface ProjectCardState {
|
|
|
114
117
|
contentId?: pulumi.Input<number>;
|
|
115
118
|
/**
|
|
116
119
|
* Must be either `Issue` or `PullRequest`
|
|
120
|
+
*
|
|
121
|
+
* **Remarks:** You must either set the `note` attribute or both `contentId` and `contentType`.
|
|
122
|
+
* See note example or issue example for more information.
|
|
117
123
|
*/
|
|
118
124
|
contentType?: pulumi.Input<string>;
|
|
119
125
|
etag?: pulumi.Input<string>;
|
|
@@ -136,6 +142,9 @@ export interface ProjectCardArgs {
|
|
|
136
142
|
contentId?: pulumi.Input<number>;
|
|
137
143
|
/**
|
|
138
144
|
* Must be either `Issue` or `PullRequest`
|
|
145
|
+
*
|
|
146
|
+
* **Remarks:** You must either set the `note` attribute or both `contentId` and `contentType`.
|
|
147
|
+
* See note example or issue example for more information.
|
|
139
148
|
*/
|
|
140
149
|
contentType?: pulumi.Input<string>;
|
|
141
150
|
/**
|
package/projectCard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectCard.js","sourceRoot":"","sources":["../projectCard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,C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ACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAtFL,kCAuFC;AAzEG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
package/repositoryDeployKey.d.ts
CHANGED
|
@@ -65,6 +65,8 @@ export declare class RepositoryDeployKey extends pulumi.CustomResource {
|
|
|
65
65
|
readonly repository: pulumi.Output<string>;
|
|
66
66
|
/**
|
|
67
67
|
* A title.
|
|
68
|
+
*
|
|
69
|
+
* Changing any of the fields forces re-creating the resource.
|
|
68
70
|
*/
|
|
69
71
|
readonly title: pulumi.Output<string>;
|
|
70
72
|
/**
|
|
@@ -95,6 +97,8 @@ export interface RepositoryDeployKeyState {
|
|
|
95
97
|
repository?: pulumi.Input<string>;
|
|
96
98
|
/**
|
|
97
99
|
* A title.
|
|
100
|
+
*
|
|
101
|
+
* Changing any of the fields forces re-creating the resource.
|
|
98
102
|
*/
|
|
99
103
|
title?: pulumi.Input<string>;
|
|
100
104
|
}
|
|
@@ -116,6 +120,8 @@ export interface RepositoryDeployKeyArgs {
|
|
|
116
120
|
repository: pulumi.Input<string>;
|
|
117
121
|
/**
|
|
118
122
|
* A title.
|
|
123
|
+
*
|
|
124
|
+
* Changing any of the fields forces re-creating the resource.
|
|
119
125
|
*/
|
|
120
126
|
title: pulumi.Input<string>;
|
|
121
127
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryDeployKey.js","sourceRoot":"","sources":["../repositoryDeployKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE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,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,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;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AArFL,kDAsFC;AAxEG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
package/teamMembership.d.ts
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Provides a GitHub team membership resource.
|
|
4
|
+
*
|
|
5
|
+
* This resource allows you to add/remove users from teams in your organization. When applied,
|
|
6
|
+
* the user will be added to the team. If the user hasn't accepted their invitation to the
|
|
7
|
+
* organization, they won't be part of the team until they do. When
|
|
8
|
+
* destroyed, the user will be removed from the team.
|
|
9
|
+
*
|
|
10
|
+
* > **Note** This resource is not compatible with `github.TeamMembers`. Use either `github.TeamMembers` or `github.TeamMembership`.
|
|
11
|
+
*
|
|
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
|
+
*
|
|
3
14
|
* ## Example Usage
|
|
4
15
|
*
|
|
5
16
|
* ```typescript
|
package/teamMembership.js
CHANGED
|
@@ -6,6 +6,17 @@ exports.TeamMembership = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Provides a GitHub team membership resource.
|
|
10
|
+
*
|
|
11
|
+
* This resource allows you to add/remove users from teams in your organization. When applied,
|
|
12
|
+
* the user will be added to the team. If the user hasn't accepted their invitation to the
|
|
13
|
+
* organization, they won't be part of the team until they do. When
|
|
14
|
+
* destroyed, the user will be removed from the team.
|
|
15
|
+
*
|
|
16
|
+
* > **Note** This resource is not compatible with `github.TeamMembers`. Use either `github.TeamMembers` or `github.TeamMembership`.
|
|
17
|
+
*
|
|
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
|
+
*
|
|
9
20
|
* ## Example Usage
|
|
10
21
|
*
|
|
11
22
|
* ```typescript
|
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,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAG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AAc,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"}
|
|
@@ -36,6 +36,8 @@ export declare class TeamSyncGroupMapping extends pulumi.CustomResource {
|
|
|
36
36
|
/**
|
|
37
37
|
* An Array of GitHub Identity Provider Groups (or empty []). Each `group` block consists of the fields documented below.
|
|
38
38
|
* ___
|
|
39
|
+
*
|
|
40
|
+
* The `group` block consists of:
|
|
39
41
|
*/
|
|
40
42
|
readonly groups: pulumi.Output<outputs.TeamSyncGroupMappingGroup[] | undefined>;
|
|
41
43
|
/**
|
|
@@ -59,6 +61,8 @@ export interface TeamSyncGroupMappingState {
|
|
|
59
61
|
/**
|
|
60
62
|
* An Array of GitHub Identity Provider Groups (or empty []). Each `group` block consists of the fields documented below.
|
|
61
63
|
* ___
|
|
64
|
+
*
|
|
65
|
+
* The `group` block consists of:
|
|
62
66
|
*/
|
|
63
67
|
groups?: pulumi.Input<pulumi.Input<inputs.TeamSyncGroupMappingGroup>[]>;
|
|
64
68
|
/**
|
|
@@ -73,6 +77,8 @@ export interface TeamSyncGroupMappingArgs {
|
|
|
73
77
|
/**
|
|
74
78
|
* An Array of GitHub Identity Provider Groups (or empty []). Each `group` block consists of the fields documented below.
|
|
75
79
|
* ___
|
|
80
|
+
*
|
|
81
|
+
* The `group` block consists of:
|
|
76
82
|
*/
|
|
77
83
|
groups?: pulumi.Input<pulumi.Input<inputs.TeamSyncGroupMappingGroup>[]>;
|
|
78
84
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teamSyncGroupMapping.js","sourceRoot":"","sources":["../teamSyncGroupMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;
|
|
1
|
+
{"version":3,"file":"teamSyncGroupMapping.js","sourceRoot":"","sources":["../teamSyncGroupMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE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Ac,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,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AApEL,oDAqEC;AAvDG,gBAAgB;AACO,iCAAY,GAAG,wDAAwD,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -143,6 +143,8 @@ export interface BranchProtectionV3RequiredStatusChecks {
|
|
|
143
143
|
export interface BranchProtectionV3Restrictions {
|
|
144
144
|
/**
|
|
145
145
|
* The list of app slugs with push access.
|
|
146
|
+
*
|
|
147
|
+
* `restrictions` is only available for organization-owned repositories.
|
|
146
148
|
*/
|
|
147
149
|
apps?: pulumi.Input<pulumi.Input<string>[]>;
|
|
148
150
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -142,6 +142,8 @@ export interface BranchProtectionV3RequiredStatusChecks {
|
|
|
142
142
|
export interface BranchProtectionV3Restrictions {
|
|
143
143
|
/**
|
|
144
144
|
* The list of app slugs with push access.
|
|
145
|
+
*
|
|
146
|
+
* `restrictions` is only available for organization-owned repositories.
|
|
145
147
|
*/
|
|
146
148
|
apps?: string[];
|
|
147
149
|
/**
|