@pulumi/github 6.12.0-alpha.1770156575 → 6.12.0
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 +45 -5
- package/actionsEnvironmentSecret.js +15 -3
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsEnvironmentVariable.d.ts +29 -18
- package/actionsEnvironmentVariable.js +16 -11
- package/actionsEnvironmentVariable.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +12 -0
- package/actionsOrganizationPermissions.js +2 -0
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +67 -25
- package/actionsOrganizationSecret.js +8 -6
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +22 -14
- package/actionsOrganizationSecretRepositories.js +16 -8
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsOrganizationSecretRepository.d.ts +22 -14
- package/actionsOrganizationSecretRepository.js +16 -8
- package/actionsOrganizationSecretRepository.js.map +1 -1
- package/actionsOrganizationVariable.d.ts +20 -21
- package/actionsOrganizationVariable.js +4 -2
- package/actionsOrganizationVariable.js.map +1 -1
- package/actionsOrganizationVariableRepositories.d.ts +97 -0
- package/actionsOrganizationVariableRepositories.js +94 -0
- package/actionsOrganizationVariableRepositories.js.map +1 -0
- package/actionsOrganizationVariableRepository.d.ts +97 -0
- package/actionsOrganizationVariableRepository.js +94 -0
- package/actionsOrganizationVariableRepository.js.map +1 -0
- package/actionsRepositoryPermissions.d.ts +12 -0
- package/actionsRepositoryPermissions.js +2 -0
- package/actionsRepositoryPermissions.js.map +1 -1
- package/actionsSecret.d.ts +66 -19
- package/actionsSecret.js +10 -6
- package/actionsSecret.js.map +1 -1
- package/actionsVariable.d.ts +25 -15
- package/actionsVariable.js +6 -2
- package/actionsVariable.js.map +1 -1
- package/appInstallationRepositories.d.ts +3 -3
- package/appInstallationRepositories.js +3 -3
- package/appInstallationRepository.d.ts +3 -3
- package/appInstallationRepository.js +3 -3
- package/dependabotOrganizationSecret.d.ts +46 -27
- package/dependabotOrganizationSecret.js +8 -8
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.d.ts +21 -18
- package/dependabotOrganizationSecretRepositories.js +15 -12
- package/dependabotOrganizationSecretRepositories.js.map +1 -1
- package/dependabotOrganizationSecretRepository.d.ts +97 -0
- package/dependabotOrganizationSecretRepository.js +94 -0
- package/dependabotOrganizationSecretRepository.js.map +1 -0
- package/dependabotSecret.d.ts +51 -19
- package/dependabotSecret.js +10 -6
- package/dependabotSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +20 -2
- package/emuGroupMapping.js +8 -2
- package/emuGroupMapping.js.map +1 -1
- package/getReleaseAsset.d.ts +212 -0
- package/getReleaseAsset.js +142 -0
- package/getReleaseAsset.js.map +1 -0
- package/index.d.ts +12 -0
- package/index.js +23 -5
- package/index.js.map +1 -1
- package/organizationRuleset.d.ts +4 -7
- package/organizationRuleset.js +1 -4
- package/organizationRuleset.js.map +1 -1
- package/package.json +2 -2
- package/repository.d.ts +16 -12
- package/repository.js +1 -3
- package/repository.js.map +1 -1
- package/repositoryRuleset.d.ts +3 -3
- package/types/input.d.ts +67 -5
- package/types/output.d.ts +69 -7
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to retrieve information about a GitHub release asset.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* To retrieve a specific release asset from a repository based on its ID:
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as github from "@pulumi/github";
|
|
12
|
+
*
|
|
13
|
+
* const example = github.getReleaseAsset({
|
|
14
|
+
* repository: "example-repository",
|
|
15
|
+
* owner: "example-owner",
|
|
16
|
+
* assetId: 12345,
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* To retrieve a specific release asset from a repository, and download the file
|
|
21
|
+
* into a `file` attribute on the data source:
|
|
22
|
+
*
|
|
23
|
+
* To retrieve the first release asset associated with the latest release in a repository:
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
27
|
+
* import * as github from "@pulumi/github";
|
|
28
|
+
*
|
|
29
|
+
* const example = github.getRelease({
|
|
30
|
+
* repository: "example-repository",
|
|
31
|
+
* owner: "example-owner",
|
|
32
|
+
* retrieveBy: "latest",
|
|
33
|
+
* });
|
|
34
|
+
* const exampleGetReleaseAsset = example.then(example => github.getReleaseAsset({
|
|
35
|
+
* repository: "example-repository",
|
|
36
|
+
* owner: "example-owner",
|
|
37
|
+
* assetId: example.assets?.[0]?.id,
|
|
38
|
+
* }));
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* To retrieve all release assets associated with the the latest release in a repository:
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as github from "@pulumi/github";
|
|
46
|
+
*
|
|
47
|
+
* const example = github.getRelease({
|
|
48
|
+
* repository: "example-repository",
|
|
49
|
+
* owner: "example-owner",
|
|
50
|
+
* retrieveBy: "latest",
|
|
51
|
+
* });
|
|
52
|
+
* const exampleGetReleaseAsset = .map(__index => (github.getReleaseAsset({
|
|
53
|
+
* repository: "example-repository",
|
|
54
|
+
* owner: "example-owner",
|
|
55
|
+
* assetId: _arg0_.assets[__index].id,
|
|
56
|
+
* })));
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
export declare function getReleaseAsset(args: GetReleaseAssetArgs, opts?: pulumi.InvokeOptions): Promise<GetReleaseAssetResult>;
|
|
60
|
+
/**
|
|
61
|
+
* A collection of arguments for invoking getReleaseAsset.
|
|
62
|
+
*/
|
|
63
|
+
export interface GetReleaseAssetArgs {
|
|
64
|
+
/**
|
|
65
|
+
* ID of the release asset to retrieve
|
|
66
|
+
*/
|
|
67
|
+
assetId: number;
|
|
68
|
+
/**
|
|
69
|
+
* Whether to download the asset file content into the `fileContents` attribute (defaults to `false`)
|
|
70
|
+
*/
|
|
71
|
+
downloadFileContents?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Owner of the repository
|
|
74
|
+
*/
|
|
75
|
+
owner: string;
|
|
76
|
+
/**
|
|
77
|
+
* Name of the repository to retrieve the release from
|
|
78
|
+
*/
|
|
79
|
+
repository: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* A collection of values returned by getReleaseAsset.
|
|
83
|
+
*/
|
|
84
|
+
export interface GetReleaseAssetResult {
|
|
85
|
+
readonly assetId: number;
|
|
86
|
+
/**
|
|
87
|
+
* Browser URL from which the release asset can be downloaded
|
|
88
|
+
*/
|
|
89
|
+
readonly browserDownloadUrl: string;
|
|
90
|
+
/**
|
|
91
|
+
* MIME type of the asset
|
|
92
|
+
*/
|
|
93
|
+
readonly contentType: string;
|
|
94
|
+
/**
|
|
95
|
+
* Date the asset was created
|
|
96
|
+
*/
|
|
97
|
+
readonly createdAt: string;
|
|
98
|
+
readonly downloadFileContents?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* The base64-encoded release asset file contents (requires `downloadFileContents` to be `true`)
|
|
101
|
+
*/
|
|
102
|
+
readonly fileContents: string;
|
|
103
|
+
/**
|
|
104
|
+
* The provider-assigned unique ID for this managed resource.
|
|
105
|
+
*/
|
|
106
|
+
readonly id: string;
|
|
107
|
+
/**
|
|
108
|
+
* Label for the asset
|
|
109
|
+
*/
|
|
110
|
+
readonly label: string;
|
|
111
|
+
/**
|
|
112
|
+
* The file name of the asset
|
|
113
|
+
*/
|
|
114
|
+
readonly name: string;
|
|
115
|
+
/**
|
|
116
|
+
* Node ID of the asset
|
|
117
|
+
*/
|
|
118
|
+
readonly nodeId: string;
|
|
119
|
+
readonly owner: string;
|
|
120
|
+
readonly repository: string;
|
|
121
|
+
/**
|
|
122
|
+
* Asset size in bytes
|
|
123
|
+
*/
|
|
124
|
+
readonly size: number;
|
|
125
|
+
/**
|
|
126
|
+
* Date the asset was last updated
|
|
127
|
+
*/
|
|
128
|
+
readonly updatedAt: string;
|
|
129
|
+
/**
|
|
130
|
+
* URL of the asset
|
|
131
|
+
*/
|
|
132
|
+
readonly url: string;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Use this data source to retrieve information about a GitHub release asset.
|
|
136
|
+
*
|
|
137
|
+
* ## Example Usage
|
|
138
|
+
*
|
|
139
|
+
* To retrieve a specific release asset from a repository based on its ID:
|
|
140
|
+
*
|
|
141
|
+
* ```typescript
|
|
142
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
143
|
+
* import * as github from "@pulumi/github";
|
|
144
|
+
*
|
|
145
|
+
* const example = github.getReleaseAsset({
|
|
146
|
+
* repository: "example-repository",
|
|
147
|
+
* owner: "example-owner",
|
|
148
|
+
* assetId: 12345,
|
|
149
|
+
* });
|
|
150
|
+
* ```
|
|
151
|
+
*
|
|
152
|
+
* To retrieve a specific release asset from a repository, and download the file
|
|
153
|
+
* into a `file` attribute on the data source:
|
|
154
|
+
*
|
|
155
|
+
* To retrieve the first release asset associated with the latest release in a repository:
|
|
156
|
+
*
|
|
157
|
+
* ```typescript
|
|
158
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
159
|
+
* import * as github from "@pulumi/github";
|
|
160
|
+
*
|
|
161
|
+
* const example = github.getRelease({
|
|
162
|
+
* repository: "example-repository",
|
|
163
|
+
* owner: "example-owner",
|
|
164
|
+
* retrieveBy: "latest",
|
|
165
|
+
* });
|
|
166
|
+
* const exampleGetReleaseAsset = example.then(example => github.getReleaseAsset({
|
|
167
|
+
* repository: "example-repository",
|
|
168
|
+
* owner: "example-owner",
|
|
169
|
+
* assetId: example.assets?.[0]?.id,
|
|
170
|
+
* }));
|
|
171
|
+
* ```
|
|
172
|
+
*
|
|
173
|
+
* To retrieve all release assets associated with the the latest release in a repository:
|
|
174
|
+
*
|
|
175
|
+
* ```typescript
|
|
176
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
177
|
+
* import * as github from "@pulumi/github";
|
|
178
|
+
*
|
|
179
|
+
* const example = github.getRelease({
|
|
180
|
+
* repository: "example-repository",
|
|
181
|
+
* owner: "example-owner",
|
|
182
|
+
* retrieveBy: "latest",
|
|
183
|
+
* });
|
|
184
|
+
* const exampleGetReleaseAsset = .map(__index => (github.getReleaseAsset({
|
|
185
|
+
* repository: "example-repository",
|
|
186
|
+
* owner: "example-owner",
|
|
187
|
+
* assetId: _arg0_.assets[__index].id,
|
|
188
|
+
* })));
|
|
189
|
+
* ```
|
|
190
|
+
*/
|
|
191
|
+
export declare function getReleaseAssetOutput(args: GetReleaseAssetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetReleaseAssetResult>;
|
|
192
|
+
/**
|
|
193
|
+
* A collection of arguments for invoking getReleaseAsset.
|
|
194
|
+
*/
|
|
195
|
+
export interface GetReleaseAssetOutputArgs {
|
|
196
|
+
/**
|
|
197
|
+
* ID of the release asset to retrieve
|
|
198
|
+
*/
|
|
199
|
+
assetId: pulumi.Input<number>;
|
|
200
|
+
/**
|
|
201
|
+
* Whether to download the asset file content into the `fileContents` attribute (defaults to `false`)
|
|
202
|
+
*/
|
|
203
|
+
downloadFileContents?: pulumi.Input<boolean>;
|
|
204
|
+
/**
|
|
205
|
+
* Owner of the repository
|
|
206
|
+
*/
|
|
207
|
+
owner: pulumi.Input<string>;
|
|
208
|
+
/**
|
|
209
|
+
* Name of the repository to retrieve the release from
|
|
210
|
+
*/
|
|
211
|
+
repository: pulumi.Input<string>;
|
|
212
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getReleaseAssetOutput = exports.getReleaseAsset = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve information about a GitHub release asset.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* To retrieve a specific release asset from a repository based on its ID:
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as github from "@pulumi/github";
|
|
18
|
+
*
|
|
19
|
+
* const example = github.getReleaseAsset({
|
|
20
|
+
* repository: "example-repository",
|
|
21
|
+
* owner: "example-owner",
|
|
22
|
+
* assetId: 12345,
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* To retrieve a specific release asset from a repository, and download the file
|
|
27
|
+
* into a `file` attribute on the data source:
|
|
28
|
+
*
|
|
29
|
+
* To retrieve the first release asset associated with the latest release in a repository:
|
|
30
|
+
*
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
+
* import * as github from "@pulumi/github";
|
|
34
|
+
*
|
|
35
|
+
* const example = github.getRelease({
|
|
36
|
+
* repository: "example-repository",
|
|
37
|
+
* owner: "example-owner",
|
|
38
|
+
* retrieveBy: "latest",
|
|
39
|
+
* });
|
|
40
|
+
* const exampleGetReleaseAsset = example.then(example => github.getReleaseAsset({
|
|
41
|
+
* repository: "example-repository",
|
|
42
|
+
* owner: "example-owner",
|
|
43
|
+
* assetId: example.assets?.[0]?.id,
|
|
44
|
+
* }));
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* To retrieve all release assets associated with the the latest release in a repository:
|
|
48
|
+
*
|
|
49
|
+
* ```typescript
|
|
50
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
+
* import * as github from "@pulumi/github";
|
|
52
|
+
*
|
|
53
|
+
* const example = github.getRelease({
|
|
54
|
+
* repository: "example-repository",
|
|
55
|
+
* owner: "example-owner",
|
|
56
|
+
* retrieveBy: "latest",
|
|
57
|
+
* });
|
|
58
|
+
* const exampleGetReleaseAsset = .map(__index => (github.getReleaseAsset({
|
|
59
|
+
* repository: "example-repository",
|
|
60
|
+
* owner: "example-owner",
|
|
61
|
+
* assetId: _arg0_.assets[__index].id,
|
|
62
|
+
* })));
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
function getReleaseAsset(args, opts) {
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
67
|
+
return pulumi.runtime.invoke("github:index/getReleaseAsset:getReleaseAsset", {
|
|
68
|
+
"assetId": args.assetId,
|
|
69
|
+
"downloadFileContents": args.downloadFileContents,
|
|
70
|
+
"owner": args.owner,
|
|
71
|
+
"repository": args.repository,
|
|
72
|
+
}, opts);
|
|
73
|
+
}
|
|
74
|
+
exports.getReleaseAsset = getReleaseAsset;
|
|
75
|
+
/**
|
|
76
|
+
* Use this data source to retrieve information about a GitHub release asset.
|
|
77
|
+
*
|
|
78
|
+
* ## Example Usage
|
|
79
|
+
*
|
|
80
|
+
* To retrieve a specific release asset from a repository based on its ID:
|
|
81
|
+
*
|
|
82
|
+
* ```typescript
|
|
83
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
84
|
+
* import * as github from "@pulumi/github";
|
|
85
|
+
*
|
|
86
|
+
* const example = github.getReleaseAsset({
|
|
87
|
+
* repository: "example-repository",
|
|
88
|
+
* owner: "example-owner",
|
|
89
|
+
* assetId: 12345,
|
|
90
|
+
* });
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* To retrieve a specific release asset from a repository, and download the file
|
|
94
|
+
* into a `file` attribute on the data source:
|
|
95
|
+
*
|
|
96
|
+
* To retrieve the first release asset associated with the latest release in a repository:
|
|
97
|
+
*
|
|
98
|
+
* ```typescript
|
|
99
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
100
|
+
* import * as github from "@pulumi/github";
|
|
101
|
+
*
|
|
102
|
+
* const example = github.getRelease({
|
|
103
|
+
* repository: "example-repository",
|
|
104
|
+
* owner: "example-owner",
|
|
105
|
+
* retrieveBy: "latest",
|
|
106
|
+
* });
|
|
107
|
+
* const exampleGetReleaseAsset = example.then(example => github.getReleaseAsset({
|
|
108
|
+
* repository: "example-repository",
|
|
109
|
+
* owner: "example-owner",
|
|
110
|
+
* assetId: example.assets?.[0]?.id,
|
|
111
|
+
* }));
|
|
112
|
+
* ```
|
|
113
|
+
*
|
|
114
|
+
* To retrieve all release assets associated with the the latest release in a repository:
|
|
115
|
+
*
|
|
116
|
+
* ```typescript
|
|
117
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
118
|
+
* import * as github from "@pulumi/github";
|
|
119
|
+
*
|
|
120
|
+
* const example = github.getRelease({
|
|
121
|
+
* repository: "example-repository",
|
|
122
|
+
* owner: "example-owner",
|
|
123
|
+
* retrieveBy: "latest",
|
|
124
|
+
* });
|
|
125
|
+
* const exampleGetReleaseAsset = .map(__index => (github.getReleaseAsset({
|
|
126
|
+
* repository: "example-repository",
|
|
127
|
+
* owner: "example-owner",
|
|
128
|
+
* assetId: _arg0_.assets[__index].id,
|
|
129
|
+
* })));
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
132
|
+
function getReleaseAssetOutput(args, opts) {
|
|
133
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
134
|
+
return pulumi.runtime.invokeOutput("github:index/getReleaseAsset:getReleaseAsset", {
|
|
135
|
+
"assetId": args.assetId,
|
|
136
|
+
"downloadFileContents": args.downloadFileContents,
|
|
137
|
+
"owner": args.owner,
|
|
138
|
+
"repository": args.repository,
|
|
139
|
+
}, opts);
|
|
140
|
+
}
|
|
141
|
+
exports.getReleaseAssetOutput = getReleaseAssetOutput;
|
|
142
|
+
//# sourceMappingURL=getReleaseAsset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getReleaseAsset.js","sourceRoot":"","sources":["../getReleaseAsset.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AA6ED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE;QAC/E,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC"}
|
package/index.d.ts
CHANGED
|
@@ -25,6 +25,12 @@ export declare const ActionsOrganizationSecretRepository: typeof import("./actio
|
|
|
25
25
|
export { ActionsOrganizationVariableArgs, ActionsOrganizationVariableState } from "./actionsOrganizationVariable";
|
|
26
26
|
export type ActionsOrganizationVariable = import("./actionsOrganizationVariable").ActionsOrganizationVariable;
|
|
27
27
|
export declare const ActionsOrganizationVariable: typeof import("./actionsOrganizationVariable").ActionsOrganizationVariable;
|
|
28
|
+
export { ActionsOrganizationVariableRepositoriesArgs, ActionsOrganizationVariableRepositoriesState } from "./actionsOrganizationVariableRepositories";
|
|
29
|
+
export type ActionsOrganizationVariableRepositories = import("./actionsOrganizationVariableRepositories").ActionsOrganizationVariableRepositories;
|
|
30
|
+
export declare const ActionsOrganizationVariableRepositories: typeof import("./actionsOrganizationVariableRepositories").ActionsOrganizationVariableRepositories;
|
|
31
|
+
export { ActionsOrganizationVariableRepositoryArgs, ActionsOrganizationVariableRepositoryState } from "./actionsOrganizationVariableRepository";
|
|
32
|
+
export type ActionsOrganizationVariableRepository = import("./actionsOrganizationVariableRepository").ActionsOrganizationVariableRepository;
|
|
33
|
+
export declare const ActionsOrganizationVariableRepository: typeof import("./actionsOrganizationVariableRepository").ActionsOrganizationVariableRepository;
|
|
28
34
|
export { ActionsOrganizationWorkflowPermissionsArgs, ActionsOrganizationWorkflowPermissionsState } from "./actionsOrganizationWorkflowPermissions";
|
|
29
35
|
export type ActionsOrganizationWorkflowPermissions = import("./actionsOrganizationWorkflowPermissions").ActionsOrganizationWorkflowPermissions;
|
|
30
36
|
export declare const ActionsOrganizationWorkflowPermissions: typeof import("./actionsOrganizationWorkflowPermissions").ActionsOrganizationWorkflowPermissions;
|
|
@@ -82,6 +88,9 @@ export declare const DependabotOrganizationSecret: typeof import("./dependabotOr
|
|
|
82
88
|
export { DependabotOrganizationSecretRepositoriesArgs, DependabotOrganizationSecretRepositoriesState } from "./dependabotOrganizationSecretRepositories";
|
|
83
89
|
export type DependabotOrganizationSecretRepositories = import("./dependabotOrganizationSecretRepositories").DependabotOrganizationSecretRepositories;
|
|
84
90
|
export declare const DependabotOrganizationSecretRepositories: typeof import("./dependabotOrganizationSecretRepositories").DependabotOrganizationSecretRepositories;
|
|
91
|
+
export { DependabotOrganizationSecretRepositoryArgs, DependabotOrganizationSecretRepositoryState } from "./dependabotOrganizationSecretRepository";
|
|
92
|
+
export type DependabotOrganizationSecretRepository = import("./dependabotOrganizationSecretRepository").DependabotOrganizationSecretRepository;
|
|
93
|
+
export declare const DependabotOrganizationSecretRepository: typeof import("./dependabotOrganizationSecretRepository").DependabotOrganizationSecretRepository;
|
|
85
94
|
export { DependabotSecretArgs, DependabotSecretState } from "./dependabotSecret";
|
|
86
95
|
export type DependabotSecret = import("./dependabotSecret").DependabotSecret;
|
|
87
96
|
export declare const DependabotSecret: typeof import("./dependabotSecret").DependabotSecret;
|
|
@@ -253,6 +262,9 @@ export declare const getRefOutput: typeof import("./getRef").getRefOutput;
|
|
|
253
262
|
export { GetReleaseArgs, GetReleaseResult, GetReleaseOutputArgs } from "./getRelease";
|
|
254
263
|
export declare const getRelease: typeof import("./getRelease").getRelease;
|
|
255
264
|
export declare const getReleaseOutput: typeof import("./getRelease").getReleaseOutput;
|
|
265
|
+
export { GetReleaseAssetArgs, GetReleaseAssetResult, GetReleaseAssetOutputArgs } from "./getReleaseAsset";
|
|
266
|
+
export declare const getReleaseAsset: typeof import("./getReleaseAsset").getReleaseAsset;
|
|
267
|
+
export declare const getReleaseAssetOutput: typeof import("./getReleaseAsset").getReleaseAssetOutput;
|
|
256
268
|
export { GetRepositoriesArgs, GetRepositoriesResult, GetRepositoriesOutputArgs } from "./getRepositories";
|
|
257
269
|
export declare const getRepositories: typeof import("./getRepositories").getRepositories;
|
|
258
270
|
export declare const getRepositoriesOutput: typeof import("./getRepositories").getRepositoriesOutput;
|
package/index.js
CHANGED
|
@@ -16,11 +16,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.types = exports.config = exports.WorkflowRepositoryPermissions = exports.UserSshKey = exports.UserInvitationAccepter = exports.UserGpgKey = exports.TeamSyncGroupMapping = exports.TeamSettings = exports.TeamRepository = exports.TeamMembership = exports.TeamMembers = exports.Team = exports.RepositoryWebhook = exports.RepositoryTopics = exports.RepositoryRuleset = exports.RepositoryPullRequest = exports.RepositoryProject = exports.RepositoryMilestone = exports.RepositoryFile = exports.RepositoryEnvironmentDeploymentPolicy = exports.RepositoryEnvironment = exports.RepositoryDeploymentBranchPolicy = exports.RepositoryDeployKey = exports.RepositoryDependabotSecurityUpdates = exports.RepositoryCustomProperty = exports.RepositoryCollaborators = exports.RepositoryCollaborator = exports.RepositoryAutolinkReference = void 0;
|
|
19
|
+
exports.getActionsOrganizationRegistrationTokenOutput = exports.getActionsOrganizationRegistrationToken = exports.getActionsOrganizationPublicKeyOutput = exports.getActionsOrganizationPublicKey = exports.getActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput = exports.getActionsOrganizationOidcSubjectClaimCustomizationTemplate = exports.getActionsEnvironmentVariablesOutput = exports.getActionsEnvironmentVariables = exports.getActionsEnvironmentSecretsOutput = exports.getActionsEnvironmentSecrets = exports.getActionsEnvironmentPublicKeyOutput = exports.getActionsEnvironmentPublicKey = exports.EnterpriseSecurityAnalysisSettings = exports.EnterpriseOrganization = exports.EnterpriseActionsWorkflowPermissions = exports.EnterpriseActionsRunnerGroup = exports.EnterpriseActionsPermissions = exports.EmuGroupMapping = exports.DependabotSecret = exports.DependabotOrganizationSecretRepository = exports.DependabotOrganizationSecretRepositories = exports.DependabotOrganizationSecret = exports.CodespacesUserSecret = exports.CodespacesSecret = exports.CodespacesOrganizationSecretRepositories = exports.CodespacesOrganizationSecret = exports.BranchProtectionV3 = exports.BranchProtection = exports.BranchDefault = exports.Branch = exports.AppInstallationRepository = exports.AppInstallationRepositories = exports.ActionsVariable = exports.ActionsSecret = exports.ActionsRunnerGroup = exports.ActionsRepositoryPermissions = exports.ActionsRepositoryOidcSubjectClaimCustomizationTemplate = exports.ActionsRepositoryAccessLevel = exports.ActionsOrganizationWorkflowPermissions = exports.ActionsOrganizationVariableRepository = exports.ActionsOrganizationVariableRepositories = exports.ActionsOrganizationVariable = exports.ActionsOrganizationSecretRepository = exports.ActionsOrganizationSecretRepositories = exports.ActionsOrganizationSecret = exports.ActionsOrganizationPermissions = exports.ActionsOrganizationOidcSubjectClaimCustomizationTemplate = exports.ActionsHostedRunner = exports.ActionsEnvironmentVariable = exports.ActionsEnvironmentSecret = void 0;
|
|
20
|
+
exports.getIpRangesOutput = exports.getIpRanges = exports.getGithubAppOutput = exports.getGithubApp = exports.getExternalGroupsOutput = exports.getExternalGroups = exports.getEnterpriseOutput = exports.getEnterprise = exports.getDependabotSecretsOutput = exports.getDependabotSecrets = exports.getDependabotPublicKeyOutput = exports.getDependabotPublicKey = exports.getDependabotOrganizationSecretsOutput = exports.getDependabotOrganizationSecrets = exports.getDependabotOrganizationPublicKeyOutput = exports.getDependabotOrganizationPublicKey = exports.getCollaboratorsOutput = exports.getCollaborators = exports.getCodespacesUserSecretsOutput = exports.getCodespacesUserSecrets = exports.getCodespacesUserPublicKeyOutput = exports.getCodespacesUserPublicKey = exports.getCodespacesSecretsOutput = exports.getCodespacesSecrets = exports.getCodespacesPublicKeyOutput = exports.getCodespacesPublicKey = exports.getCodespacesOrganizationSecretsOutput = exports.getCodespacesOrganizationSecrets = exports.getCodespacesOrganizationPublicKeyOutput = exports.getCodespacesOrganizationPublicKey = exports.getBranchProtectionRulesOutput = exports.getBranchProtectionRules = exports.getBranchOutput = exports.getBranch = exports.getAppTokenOutput = exports.getAppToken = exports.getActionsVariablesOutput = exports.getActionsVariables = exports.getActionsSecretsOutput = exports.getActionsSecrets = exports.getActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput = exports.getActionsRepositoryOidcSubjectClaimCustomizationTemplate = exports.getActionsRegistrationTokenOutput = exports.getActionsRegistrationToken = exports.getActionsPublicKeyOutput = exports.getActionsPublicKey = exports.getActionsOrganizationVariablesOutput = exports.getActionsOrganizationVariables = exports.getActionsOrganizationSecretsOutput = exports.getActionsOrganizationSecrets = void 0;
|
|
21
|
+
exports.getRepositoryCustomPropertiesOutput = exports.getRepositoryCustomProperties = exports.getRepositoryBranchesOutput = exports.getRepositoryBranches = exports.getRepositoryAutolinkReferencesOutput = exports.getRepositoryAutolinkReferences = exports.getRepositoryOutput = exports.getRepository = exports.getRepositoriesOutput = exports.getRepositories = exports.getReleaseAssetOutput = exports.getReleaseAsset = exports.getReleaseOutput = exports.getRelease = exports.getRefOutput = exports.getRef = exports.getOrganizationWebhooksOutput = exports.getOrganizationWebhooks = exports.getOrganizationTeamsOutput = exports.getOrganizationTeams = exports.getOrganizationTeamSyncGroupsOutput = exports.getOrganizationTeamSyncGroups = exports.getOrganizationSecurityManagersOutput = exports.getOrganizationSecurityManagers = exports.getOrganizationRolesOutput = exports.getOrganizationRoles = exports.getOrganizationRoleUsersOutput = exports.getOrganizationRoleUsers = exports.getOrganizationRoleTeamsOutput = exports.getOrganizationRoleTeams = exports.getOrganizationRoleOutput = exports.getOrganizationRole = exports.getOrganizationRepositoryRolesOutput = exports.getOrganizationRepositoryRoles = exports.getOrganizationRepositoryRoleOutput = exports.getOrganizationRepositoryRole = exports.getOrganizationIpAllowListOutput = exports.getOrganizationIpAllowList = exports.getOrganizationExternalIdentitiesOutput = exports.getOrganizationExternalIdentities = exports.getOrganizationCustomRoleOutput = exports.getOrganizationCustomRole = exports.getOrganizationCustomPropertiesOutput = exports.getOrganizationCustomProperties = exports.getOrganizationOutput = exports.getOrganization = exports.getMembershipOutput = exports.getMembership = exports.getIssueLabelsOutput = exports.getIssueLabels = void 0;
|
|
22
|
+
exports.OrganizationSettings = exports.OrganizationSecurityManager = exports.OrganizationRuleset = exports.OrganizationRoleUser = exports.OrganizationRoleTeamAssignment = exports.OrganizationRoleTeam = exports.OrganizationRole = exports.OrganizationRepositoryRole = exports.OrganizationProject = exports.OrganizationCustomRole = exports.OrganizationCustomProperties = exports.OrganizationBlock = exports.Membership = exports.IssueLabels = exports.IssueLabel = exports.Issue = exports.getUsersOutput = exports.getUsers = exports.getUserExternalIdentityOutput = exports.getUserExternalIdentity = exports.getUserOutput = exports.getUser = exports.getTreeOutput = exports.getTree = exports.getTeamOutput = exports.getTeam = exports.getSshKeysOutput = exports.getSshKeys = exports.getRestApiOutput = exports.getRestApi = exports.getRepositoryWebhooksOutput = exports.getRepositoryWebhooks = exports.getRepositoryTeamsOutput = exports.getRepositoryTeams = exports.getRepositoryPullRequestsOutput = exports.getRepositoryPullRequests = exports.getRepositoryPullRequestOutput = exports.getRepositoryPullRequest = exports.getRepositoryMilestoneOutput = exports.getRepositoryMilestone = exports.getRepositoryFileOutput = exports.getRepositoryFile = exports.getRepositoryEnvironmentsOutput = exports.getRepositoryEnvironments = exports.getRepositoryEnvironmentDeploymentPoliciesOutput = exports.getRepositoryEnvironmentDeploymentPolicies = exports.getRepositoryDeploymentBranchPoliciesOutput = exports.getRepositoryDeploymentBranchPolicies = exports.getRepositoryDeployKeysOutput = exports.getRepositoryDeployKeys = void 0;
|
|
23
|
+
exports.types = exports.config = exports.WorkflowRepositoryPermissions = exports.UserSshKey = exports.UserInvitationAccepter = exports.UserGpgKey = exports.TeamSyncGroupMapping = exports.TeamSettings = exports.TeamRepository = exports.TeamMembership = exports.TeamMembers = exports.Team = exports.RepositoryWebhook = exports.RepositoryTopics = exports.RepositoryRuleset = exports.RepositoryPullRequest = exports.RepositoryProject = exports.RepositoryMilestone = exports.RepositoryFile = exports.RepositoryEnvironmentDeploymentPolicy = exports.RepositoryEnvironment = exports.RepositoryDeploymentBranchPolicy = exports.RepositoryDeployKey = exports.RepositoryDependabotSecurityUpdates = exports.RepositoryCustomProperty = exports.RepositoryCollaborators = exports.RepositoryCollaborator = exports.RepositoryAutolinkReference = exports.Repository = exports.Release = exports.ProjectColumn = exports.ProjectCard = exports.OrganizationWebhook = void 0;
|
|
24
24
|
const pulumi = require("@pulumi/pulumi");
|
|
25
25
|
const utilities = require("./utilities");
|
|
26
26
|
exports.ActionsEnvironmentSecret = null;
|
|
@@ -41,6 +41,10 @@ exports.ActionsOrganizationSecretRepository = null;
|
|
|
41
41
|
utilities.lazyLoad(exports, ["ActionsOrganizationSecretRepository"], () => require("./actionsOrganizationSecretRepository"));
|
|
42
42
|
exports.ActionsOrganizationVariable = null;
|
|
43
43
|
utilities.lazyLoad(exports, ["ActionsOrganizationVariable"], () => require("./actionsOrganizationVariable"));
|
|
44
|
+
exports.ActionsOrganizationVariableRepositories = null;
|
|
45
|
+
utilities.lazyLoad(exports, ["ActionsOrganizationVariableRepositories"], () => require("./actionsOrganizationVariableRepositories"));
|
|
46
|
+
exports.ActionsOrganizationVariableRepository = null;
|
|
47
|
+
utilities.lazyLoad(exports, ["ActionsOrganizationVariableRepository"], () => require("./actionsOrganizationVariableRepository"));
|
|
44
48
|
exports.ActionsOrganizationWorkflowPermissions = null;
|
|
45
49
|
utilities.lazyLoad(exports, ["ActionsOrganizationWorkflowPermissions"], () => require("./actionsOrganizationWorkflowPermissions"));
|
|
46
50
|
exports.ActionsRepositoryAccessLevel = null;
|
|
@@ -79,6 +83,8 @@ exports.DependabotOrganizationSecret = null;
|
|
|
79
83
|
utilities.lazyLoad(exports, ["DependabotOrganizationSecret"], () => require("./dependabotOrganizationSecret"));
|
|
80
84
|
exports.DependabotOrganizationSecretRepositories = null;
|
|
81
85
|
utilities.lazyLoad(exports, ["DependabotOrganizationSecretRepositories"], () => require("./dependabotOrganizationSecretRepositories"));
|
|
86
|
+
exports.DependabotOrganizationSecretRepository = null;
|
|
87
|
+
utilities.lazyLoad(exports, ["DependabotOrganizationSecretRepository"], () => require("./dependabotOrganizationSecretRepository"));
|
|
82
88
|
exports.DependabotSecret = null;
|
|
83
89
|
utilities.lazyLoad(exports, ["DependabotSecret"], () => require("./dependabotSecret"));
|
|
84
90
|
exports.EmuGroupMapping = null;
|
|
@@ -243,6 +249,9 @@ utilities.lazyLoad(exports, ["getRef", "getRefOutput"], () => require("./getRef"
|
|
|
243
249
|
exports.getRelease = null;
|
|
244
250
|
exports.getReleaseOutput = null;
|
|
245
251
|
utilities.lazyLoad(exports, ["getRelease", "getReleaseOutput"], () => require("./getRelease"));
|
|
252
|
+
exports.getReleaseAsset = null;
|
|
253
|
+
exports.getReleaseAssetOutput = null;
|
|
254
|
+
utilities.lazyLoad(exports, ["getReleaseAsset", "getReleaseAssetOutput"], () => require("./getReleaseAsset"));
|
|
246
255
|
exports.getRepositories = null;
|
|
247
256
|
exports.getRepositoriesOutput = null;
|
|
248
257
|
utilities.lazyLoad(exports, ["getRepositories", "getRepositoriesOutput"], () => require("./getRepositories"));
|
|
@@ -432,6 +441,10 @@ const _module = {
|
|
|
432
441
|
return new exports.ActionsOrganizationSecretRepository(name, undefined, { urn });
|
|
433
442
|
case "github:index/actionsOrganizationVariable:ActionsOrganizationVariable":
|
|
434
443
|
return new exports.ActionsOrganizationVariable(name, undefined, { urn });
|
|
444
|
+
case "github:index/actionsOrganizationVariableRepositories:ActionsOrganizationVariableRepositories":
|
|
445
|
+
return new exports.ActionsOrganizationVariableRepositories(name, undefined, { urn });
|
|
446
|
+
case "github:index/actionsOrganizationVariableRepository:ActionsOrganizationVariableRepository":
|
|
447
|
+
return new exports.ActionsOrganizationVariableRepository(name, undefined, { urn });
|
|
435
448
|
case "github:index/actionsOrganizationWorkflowPermissions:ActionsOrganizationWorkflowPermissions":
|
|
436
449
|
return new exports.ActionsOrganizationWorkflowPermissions(name, undefined, { urn });
|
|
437
450
|
case "github:index/actionsRepositoryAccessLevel:ActionsRepositoryAccessLevel":
|
|
@@ -470,6 +483,8 @@ const _module = {
|
|
|
470
483
|
return new exports.DependabotOrganizationSecret(name, undefined, { urn });
|
|
471
484
|
case "github:index/dependabotOrganizationSecretRepositories:DependabotOrganizationSecretRepositories":
|
|
472
485
|
return new exports.DependabotOrganizationSecretRepositories(name, undefined, { urn });
|
|
486
|
+
case "github:index/dependabotOrganizationSecretRepository:DependabotOrganizationSecretRepository":
|
|
487
|
+
return new exports.DependabotOrganizationSecretRepository(name, undefined, { urn });
|
|
473
488
|
case "github:index/dependabotSecret:DependabotSecret":
|
|
474
489
|
return new exports.DependabotSecret(name, undefined, { urn });
|
|
475
490
|
case "github:index/emuGroupMapping:EmuGroupMapping":
|
|
@@ -592,6 +607,8 @@ pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationSecret
|
|
|
592
607
|
pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationSecretRepositories", _module);
|
|
593
608
|
pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationSecretRepository", _module);
|
|
594
609
|
pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationVariable", _module);
|
|
610
|
+
pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationVariableRepositories", _module);
|
|
611
|
+
pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationVariableRepository", _module);
|
|
595
612
|
pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationWorkflowPermissions", _module);
|
|
596
613
|
pulumi.runtime.registerResourceModule("github", "index/actionsRepositoryAccessLevel", _module);
|
|
597
614
|
pulumi.runtime.registerResourceModule("github", "index/actionsRepositoryOidcSubjectClaimCustomizationTemplate", _module);
|
|
@@ -611,6 +628,7 @@ pulumi.runtime.registerResourceModule("github", "index/codespacesSecret", _modul
|
|
|
611
628
|
pulumi.runtime.registerResourceModule("github", "index/codespacesUserSecret", _module);
|
|
612
629
|
pulumi.runtime.registerResourceModule("github", "index/dependabotOrganizationSecret", _module);
|
|
613
630
|
pulumi.runtime.registerResourceModule("github", "index/dependabotOrganizationSecretRepositories", _module);
|
|
631
|
+
pulumi.runtime.registerResourceModule("github", "index/dependabotOrganizationSecretRepository", _module);
|
|
614
632
|
pulumi.runtime.registerResourceModule("github", "index/dependabotSecret", _module);
|
|
615
633
|
pulumi.runtime.registerResourceModule("github", "index/emuGroupMapping", _module);
|
|
616
634
|
pulumi.runtime.registerResourceModule("github", "index/enterpriseActionsPermissions", _module);
|