@pulumi/github 4.6.0 → 4.8.0-alpha.1638801727
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.js +17 -16
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +121 -0
- package/actionsOrganizationPermissions.js +96 -0
- package/actionsOrganizationPermissions.js.map +1 -0
- package/actionsOrganizationSecret.js +17 -16
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.js +7 -6
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsRunnerGroup.js +21 -20
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.js +15 -14
- package/actionsSecret.js.map +1 -1
- package/appInstallationRepository.js +9 -8
- package/appInstallationRepository.js.map +1 -1
- package/branch.js +17 -16
- package/branch.js.map +1 -1
- package/branchDefault.js +7 -6
- package/branchDefault.js.map +1 -1
- package/branchProtection.js +23 -22
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.js +19 -18
- package/branchProtectionV3.js.map +1 -1
- package/config/index.js +11 -4
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +7 -7
- package/config/vars.js +44 -30
- package/config/vars.js.map +1 -1
- package/getActionsPublicKey.d.ts +10 -0
- package/getActionsPublicKey.js +5 -0
- package/getActionsPublicKey.js.map +1 -1
- package/getBranch.d.ts +14 -0
- package/getBranch.js +5 -0
- package/getBranch.js.map +1 -1
- package/getCollaborators.d.ts +18 -0
- package/getCollaborators.js +5 -0
- package/getCollaborators.js.map +1 -1
- package/getIpRanges.js +1 -0
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +14 -0
- package/getMembership.js +5 -0
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +10 -0
- package/getOrganization.js +5 -0
- package/getOrganization.js.map +1 -1
- package/getOrganizationTeamSyncGroups.js +1 -0
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +10 -0
- package/getOrganizationTeams.js +5 -0
- package/getOrganizationTeams.js.map +1 -1
- package/getRelease.d.ts +26 -0
- package/getRelease.js +5 -0
- package/getRelease.js.map +1 -1
- package/getRepositories.d.ts +14 -0
- package/getRepositories.js +5 -0
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +22 -0
- package/getRepository.js +5 -0
- package/getRepository.js.map +1 -1
- package/getRepositoryFile.d.ts +92 -0
- package/getRepositoryFile.js +43 -0
- package/getRepositoryFile.js.map +1 -0
- package/getRepositoryMilestone.d.ts +18 -0
- package/getRepositoryMilestone.js +5 -0
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +18 -0
- package/getRepositoryPullRequest.js +5 -0
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +34 -0
- package/getRepositoryPullRequests.js +5 -0
- package/getRepositoryPullRequests.js.map +1 -1
- package/getTeam.d.ts +10 -0
- package/getTeam.js +5 -0
- package/getTeam.js.map +1 -1
- package/getUser.d.ts +10 -0
- package/getUser.js +5 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +65 -0
- package/getUsers.js +46 -0
- package/getUsers.js.map +1 -0
- package/index.d.ts +4 -0
- package/index.js +73 -53
- package/index.js.map +1 -1
- package/issueLabel.js +15 -14
- package/issueLabel.js.map +1 -1
- package/membership.js +9 -8
- package/membership.js.map +1 -1
- package/organizationBlock.js +7 -6
- package/organizationBlock.js.map +1 -1
- package/organizationProject.js +11 -10
- package/organizationProject.js.map +1 -1
- package/organizationWebhook.js +13 -12
- package/organizationWebhook.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +3 -2
- package/package.json.dev +4 -3
- package/projectCard.js +11 -10
- package/projectCard.js.map +1 -1
- package/projectColumn.js +11 -10
- package/projectColumn.js.map +1 -1
- package/provider.js +10 -9
- package/provider.js.map +1 -1
- package/repository.js +71 -70
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +108 -0
- package/repositoryAutolinkReference.js +94 -0
- package/repositoryAutolinkReference.js.map +1 -0
- package/repositoryCollaborator.js +13 -12
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryDeployKey.js +13 -12
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryEnvironment.js +13 -12
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryFile.js +23 -22
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.js +17 -16
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.js +13 -12
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.js +35 -34
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryWebhook.d.ts +8 -8
- package/repositoryWebhook.js +15 -14
- package/repositoryWebhook.js.map +1 -1
- package/team.js +23 -22
- package/team.js.map +1 -1
- package/teamMembership.js +11 -10
- package/teamMembership.js.map +1 -1
- package/teamRepository.js +11 -10
- package/teamRepository.js.map +1 -1
- package/teamSyncGroupMapping.d.ts +0 -20
- package/teamSyncGroupMapping.js +9 -28
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/types/input.d.ts +30 -1
- package/types/output.d.ts +30 -6
- package/userGpgKey.js +9 -8
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.js +5 -4
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.js +11 -10
- package/userSshKey.js.map +1 -1
- package/utilities.js +1 -0
- package/utilities.js.map +1 -1
package/getCollaborators.d.ts
CHANGED
|
@@ -49,3 +49,21 @@ export interface GetCollaboratorsResult {
|
|
|
49
49
|
readonly owner: string;
|
|
50
50
|
readonly repository: string;
|
|
51
51
|
}
|
|
52
|
+
export declare function getCollaboratorsOutput(args: GetCollaboratorsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCollaboratorsResult>;
|
|
53
|
+
/**
|
|
54
|
+
* A collection of arguments for invoking getCollaborators.
|
|
55
|
+
*/
|
|
56
|
+
export interface GetCollaboratorsOutputArgs {
|
|
57
|
+
/**
|
|
58
|
+
* Filter collaborators returned by their affiliation. Can be one of: `outside`, `direct`, `all`. Defaults to `all`.
|
|
59
|
+
*/
|
|
60
|
+
affiliation?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The organization that owns the repository.
|
|
63
|
+
*/
|
|
64
|
+
owner: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The name of the repository.
|
|
67
|
+
*/
|
|
68
|
+
repository: pulumi.Input<string>;
|
|
69
|
+
}
|
package/getCollaborators.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getCollaboratorsOutput = exports.getCollaborators = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -33,4 +34,8 @@ function getCollaborators(args, opts) {
|
|
|
33
34
|
}, opts);
|
|
34
35
|
}
|
|
35
36
|
exports.getCollaborators = getCollaborators;
|
|
37
|
+
function getCollaboratorsOutput(args, opts) {
|
|
38
|
+
return pulumi.output(args).apply(a => getCollaborators(a, opts));
|
|
39
|
+
}
|
|
40
|
+
exports.getCollaboratorsOutput = getCollaboratorsOutput;
|
|
36
41
|
//# sourceMappingURL=getCollaborators.js.map
|
package/getCollaborators.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCollaborators.js","sourceRoot":"","sources":["../getCollaborators.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getCollaborators.js","sourceRoot":"","sources":["../getCollaborators.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,4CAaC;AAqCD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,wDAEC"}
|
package/getIpRanges.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getIpRanges = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
package/getIpRanges.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIpRanges.js","sourceRoot":"","sources":["../getIpRanges.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getIpRanges.js","sourceRoot":"","sources":["../getIpRanges.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kCAUC"}
|
package/getMembership.d.ts
CHANGED
|
@@ -52,3 +52,17 @@ export interface GetMembershipResult {
|
|
|
52
52
|
*/
|
|
53
53
|
readonly username: string;
|
|
54
54
|
}
|
|
55
|
+
export declare function getMembershipOutput(args: GetMembershipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMembershipResult>;
|
|
56
|
+
/**
|
|
57
|
+
* A collection of arguments for invoking getMembership.
|
|
58
|
+
*/
|
|
59
|
+
export interface GetMembershipOutputArgs {
|
|
60
|
+
/**
|
|
61
|
+
* The organization to check for the above username.
|
|
62
|
+
*/
|
|
63
|
+
organization?: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The username to lookup in the organization.
|
|
66
|
+
*/
|
|
67
|
+
username: pulumi.Input<string>;
|
|
68
|
+
}
|
package/getMembership.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getMembershipOutput = exports.getMembership = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -34,4 +35,8 @@ function getMembership(args, opts) {
|
|
|
34
35
|
}, opts);
|
|
35
36
|
}
|
|
36
37
|
exports.getMembership = getMembership;
|
|
38
|
+
function getMembershipOutput(args, opts) {
|
|
39
|
+
return pulumi.output(args).apply(a => getMembership(a, opts));
|
|
40
|
+
}
|
|
41
|
+
exports.getMembershipOutput = getMembershipOutput;
|
|
37
42
|
//# sourceMappingURL=getMembership.js.map
|
package/getMembership.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMembership.js","sourceRoot":"","sources":["../getMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getMembership.js","sourceRoot":"","sources":["../getMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,sCAYC;AAuCD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
package/getOrganization.d.ts
CHANGED
|
@@ -57,3 +57,13 @@ export interface GetOrganizationResult {
|
|
|
57
57
|
*/
|
|
58
58
|
readonly repositories: string[];
|
|
59
59
|
}
|
|
60
|
+
export declare function getOrganizationOutput(args: GetOrganizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOrganizationResult>;
|
|
61
|
+
/**
|
|
62
|
+
* A collection of arguments for invoking getOrganization.
|
|
63
|
+
*/
|
|
64
|
+
export interface GetOrganizationOutputArgs {
|
|
65
|
+
/**
|
|
66
|
+
* The name of the organization account
|
|
67
|
+
*/
|
|
68
|
+
name: pulumi.Input<string>;
|
|
69
|
+
}
|
package/getOrganization.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getOrganizationOutput = exports.getOrganization = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -30,4 +31,8 @@ function getOrganization(args, opts) {
|
|
|
30
31
|
}, opts);
|
|
31
32
|
}
|
|
32
33
|
exports.getOrganization = getOrganization;
|
|
34
|
+
function getOrganizationOutput(args, opts) {
|
|
35
|
+
return pulumi.output(args).apply(a => getOrganization(a, opts));
|
|
36
|
+
}
|
|
37
|
+
exports.getOrganizationOutput = getOrganizationOutput;
|
|
33
38
|
//# sourceMappingURL=getOrganization.js.map
|
package/getOrganization.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganization.js","sourceRoot":"","sources":["../getOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getOrganization.js","sourceRoot":"","sources":["../getOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0CAWC;AA+CD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getOrganizationTeamSyncGroups = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganizationTeamSyncGroups.js","sourceRoot":"","sources":["../getOrganizationTeamSyncGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getOrganizationTeamSyncGroups.js","sourceRoot":"","sources":["../getOrganizationTeamSyncGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,6BAA6B,CAAC,IAA2B;IACrE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0EAA0E,EAAE,EACxG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sEAUC"}
|
|
@@ -53,3 +53,13 @@ export interface GetOrganizationTeamsResult {
|
|
|
53
53
|
*/
|
|
54
54
|
readonly teams: outputs.GetOrganizationTeamsTeam[];
|
|
55
55
|
}
|
|
56
|
+
export declare function getOrganizationTeamsOutput(args?: GetOrganizationTeamsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOrganizationTeamsResult>;
|
|
57
|
+
/**
|
|
58
|
+
* A collection of arguments for invoking getOrganizationTeams.
|
|
59
|
+
*/
|
|
60
|
+
export interface GetOrganizationTeamsOutputArgs {
|
|
61
|
+
/**
|
|
62
|
+
* Only return teams that are at the organization's root, i.e. no nested teams. Defaults to `false`.
|
|
63
|
+
*/
|
|
64
|
+
rootTeamsOnly?: pulumi.Input<boolean>;
|
|
65
|
+
}
|
package/getOrganizationTeams.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getOrganizationTeamsOutput = exports.getOrganizationTeams = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -42,4 +43,8 @@ function getOrganizationTeams(args, opts) {
|
|
|
42
43
|
}, opts);
|
|
43
44
|
}
|
|
44
45
|
exports.getOrganizationTeams = getOrganizationTeams;
|
|
46
|
+
function getOrganizationTeamsOutput(args, opts) {
|
|
47
|
+
return pulumi.output(args).apply(a => getOrganizationTeams(a, opts));
|
|
48
|
+
}
|
|
49
|
+
exports.getOrganizationTeamsOutput = getOrganizationTeamsOutput;
|
|
45
50
|
//# sourceMappingURL=getOrganizationTeams.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganizationTeams.js","sourceRoot":"","sources":["../getOrganizationTeams.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getOrganizationTeams.js","sourceRoot":"","sources":["../getOrganizationTeams.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,oDAYC;AA+BD,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAA2B;IACzG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,gEAEC"}
|
package/getRelease.d.ts
CHANGED
|
@@ -143,3 +143,29 @@ export interface GetReleaseResult {
|
|
|
143
143
|
*/
|
|
144
144
|
readonly zipballUrl: string;
|
|
145
145
|
}
|
|
146
|
+
export declare function getReleaseOutput(args: GetReleaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetReleaseResult>;
|
|
147
|
+
/**
|
|
148
|
+
* A collection of arguments for invoking getRelease.
|
|
149
|
+
*/
|
|
150
|
+
export interface GetReleaseOutputArgs {
|
|
151
|
+
/**
|
|
152
|
+
* Owner of the repository.
|
|
153
|
+
*/
|
|
154
|
+
owner: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* ID of the release to retrieve. Must be specified when `retrieveBy` = `id`.
|
|
157
|
+
*/
|
|
158
|
+
releaseId?: pulumi.Input<number>;
|
|
159
|
+
/**
|
|
160
|
+
* Tag of the release to retrieve. Must be specified when `retrieveBy` = `tag`.
|
|
161
|
+
*/
|
|
162
|
+
releaseTag?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* Name of the repository to retrieve the release from.
|
|
165
|
+
*/
|
|
166
|
+
repository: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Describes how to fetch the release. Valid values are `id`, `tag`, `latest`.
|
|
169
|
+
*/
|
|
170
|
+
retrieveBy: pulumi.Input<string>;
|
|
171
|
+
}
|
package/getRelease.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getReleaseOutput = exports.getRelease = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -66,4 +67,8 @@ function getRelease(args, opts) {
|
|
|
66
67
|
}, opts);
|
|
67
68
|
}
|
|
68
69
|
exports.getRelease = getRelease;
|
|
70
|
+
function getReleaseOutput(args, opts) {
|
|
71
|
+
return pulumi.output(args).apply(a => getRelease(a, opts));
|
|
72
|
+
}
|
|
73
|
+
exports.getReleaseOutput = getReleaseOutput;
|
|
69
74
|
//# sourceMappingURL=getRelease.js.map
|
package/getRelease.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRelease.js","sourceRoot":"","sources":["../getRelease.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getRelease.js","sourceRoot":"","sources":["../getRelease.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,gCAeC;AAqGD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
|
package/getRepositories.d.ts
CHANGED
|
@@ -43,3 +43,17 @@ export interface GetRepositoriesResult {
|
|
|
43
43
|
readonly query: string;
|
|
44
44
|
readonly sort?: string;
|
|
45
45
|
}
|
|
46
|
+
export declare function getRepositoriesOutput(args: GetRepositoriesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoriesResult>;
|
|
47
|
+
/**
|
|
48
|
+
* A collection of arguments for invoking getRepositories.
|
|
49
|
+
*/
|
|
50
|
+
export interface GetRepositoriesOutputArgs {
|
|
51
|
+
/**
|
|
52
|
+
* Search query. See [documentation for the search syntax](https://help.github.com/articles/understanding-the-search-syntax/).
|
|
53
|
+
*/
|
|
54
|
+
query: pulumi.Input<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Sorts the repositories returned by the specified attribute. Valid values include `stars`, `fork`, and `updated`. Defaults to `updated`.
|
|
57
|
+
*/
|
|
58
|
+
sort?: pulumi.Input<string>;
|
|
59
|
+
}
|
package/getRepositories.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getRepositoriesOutput = exports.getRepositories = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -34,4 +35,8 @@ function getRepositories(args, opts) {
|
|
|
34
35
|
}, opts);
|
|
35
36
|
}
|
|
36
37
|
exports.getRepositories = getRepositories;
|
|
38
|
+
function getRepositoriesOutput(args, opts) {
|
|
39
|
+
return pulumi.output(args).apply(a => getRepositories(a, opts));
|
|
40
|
+
}
|
|
41
|
+
exports.getRepositoriesOutput = getRepositoriesOutput;
|
|
37
42
|
//# sourceMappingURL=getRepositories.js.map
|
package/getRepositories.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepositories.js","sourceRoot":"","sources":["../getRepositories.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getRepositories.js","sourceRoot":"","sources":["../getRepositories.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,0CAYC;AA8BD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
|
package/getRepository.d.ts
CHANGED
|
@@ -146,3 +146,25 @@ export interface GetRepositoryResult {
|
|
|
146
146
|
*/
|
|
147
147
|
readonly visibility: string;
|
|
148
148
|
}
|
|
149
|
+
export declare function getRepositoryOutput(args?: GetRepositoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryResult>;
|
|
150
|
+
/**
|
|
151
|
+
* A collection of arguments for invoking getRepository.
|
|
152
|
+
*/
|
|
153
|
+
export interface GetRepositoryOutputArgs {
|
|
154
|
+
/**
|
|
155
|
+
* A description of the repository.
|
|
156
|
+
*/
|
|
157
|
+
description?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Full name of the repository (in `org/name` format).
|
|
160
|
+
*/
|
|
161
|
+
fullName?: pulumi.Input<string>;
|
|
162
|
+
/**
|
|
163
|
+
* URL of a page describing the project.
|
|
164
|
+
*/
|
|
165
|
+
homepageUrl?: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* The name of the repository.
|
|
168
|
+
*/
|
|
169
|
+
name?: pulumi.Input<string>;
|
|
170
|
+
}
|
package/getRepository.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getRepositoryOutput = exports.getRepository = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -34,4 +35,8 @@ function getRepository(args, opts) {
|
|
|
34
35
|
}, opts);
|
|
35
36
|
}
|
|
36
37
|
exports.getRepository = getRepository;
|
|
38
|
+
function getRepositoryOutput(args, opts) {
|
|
39
|
+
return pulumi.output(args).apply(a => getRepository(a, opts));
|
|
40
|
+
}
|
|
41
|
+
exports.getRepositoryOutput = getRepositoryOutput;
|
|
37
42
|
//# sourceMappingURL=getRepository.js.map
|
package/getRepository.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepository.js","sourceRoot":"","sources":["../getRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getRepository.js","sourceRoot":"","sources":["../getRepository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,sCAeC;AAuID,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This data source allows you to read files within a
|
|
4
|
+
* GitHub repository.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as github from "@pulumi/github";
|
|
11
|
+
*
|
|
12
|
+
* const foo = github.getRepositoryFile({
|
|
13
|
+
* repository: github_repository.foo.name,
|
|
14
|
+
* branch: "main",
|
|
15
|
+
* file: ".gitignore",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getRepositoryFile(args: GetRepositoryFileArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryFileResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getRepositoryFile.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetRepositoryFileArgs {
|
|
24
|
+
/**
|
|
25
|
+
* Git branch (defaults to `main`).
|
|
26
|
+
* The branch must already exist, it will not be created if it does not already exist.
|
|
27
|
+
*/
|
|
28
|
+
branch?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The path of the file to manage.
|
|
31
|
+
*/
|
|
32
|
+
file: string;
|
|
33
|
+
/**
|
|
34
|
+
* The repository to create the file in.
|
|
35
|
+
*/
|
|
36
|
+
repository: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A collection of values returned by getRepositoryFile.
|
|
40
|
+
*/
|
|
41
|
+
export interface GetRepositoryFileResult {
|
|
42
|
+
readonly branch?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Committer author name.
|
|
45
|
+
*/
|
|
46
|
+
readonly commitAuthor: string;
|
|
47
|
+
/**
|
|
48
|
+
* Committer email address.
|
|
49
|
+
*/
|
|
50
|
+
readonly commitEmail: string;
|
|
51
|
+
/**
|
|
52
|
+
* Commit message when file was last updated.
|
|
53
|
+
*/
|
|
54
|
+
readonly commitMessage: string;
|
|
55
|
+
/**
|
|
56
|
+
* The SHA of the commit that modified the file.
|
|
57
|
+
*/
|
|
58
|
+
readonly commitSha: string;
|
|
59
|
+
/**
|
|
60
|
+
* The file content.
|
|
61
|
+
*/
|
|
62
|
+
readonly content: string;
|
|
63
|
+
readonly file: string;
|
|
64
|
+
/**
|
|
65
|
+
* The provider-assigned unique ID for this managed resource.
|
|
66
|
+
*/
|
|
67
|
+
readonly id: string;
|
|
68
|
+
readonly repository: string;
|
|
69
|
+
/**
|
|
70
|
+
* The SHA blob of the file.
|
|
71
|
+
*/
|
|
72
|
+
readonly sha: string;
|
|
73
|
+
}
|
|
74
|
+
export declare function getRepositoryFileOutput(args: GetRepositoryFileOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryFileResult>;
|
|
75
|
+
/**
|
|
76
|
+
* A collection of arguments for invoking getRepositoryFile.
|
|
77
|
+
*/
|
|
78
|
+
export interface GetRepositoryFileOutputArgs {
|
|
79
|
+
/**
|
|
80
|
+
* Git branch (defaults to `main`).
|
|
81
|
+
* The branch must already exist, it will not be created if it does not already exist.
|
|
82
|
+
*/
|
|
83
|
+
branch?: pulumi.Input<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The path of the file to manage.
|
|
86
|
+
*/
|
|
87
|
+
file: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The repository to create the file in.
|
|
90
|
+
*/
|
|
91
|
+
repository: pulumi.Input<string>;
|
|
92
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getRepositoryFileOutput = exports.getRepositoryFile = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source allows you to read files within a
|
|
10
|
+
* GitHub repository.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as github from "@pulumi/github";
|
|
17
|
+
*
|
|
18
|
+
* const foo = github.getRepositoryFile({
|
|
19
|
+
* repository: github_repository.foo.name,
|
|
20
|
+
* branch: "main",
|
|
21
|
+
* file: ".gitignore",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
function getRepositoryFile(args, opts) {
|
|
26
|
+
if (!opts) {
|
|
27
|
+
opts = {};
|
|
28
|
+
}
|
|
29
|
+
if (!opts.version) {
|
|
30
|
+
opts.version = utilities.getVersion();
|
|
31
|
+
}
|
|
32
|
+
return pulumi.runtime.invoke("github:index/getRepositoryFile:getRepositoryFile", {
|
|
33
|
+
"branch": args.branch,
|
|
34
|
+
"file": args.file,
|
|
35
|
+
"repository": args.repository,
|
|
36
|
+
}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getRepositoryFile = getRepositoryFile;
|
|
39
|
+
function getRepositoryFileOutput(args, opts) {
|
|
40
|
+
return pulumi.output(args).apply(a => getRepositoryFile(a, opts));
|
|
41
|
+
}
|
|
42
|
+
exports.getRepositoryFileOutput = getRepositoryFileOutput;
|
|
43
|
+
//# sourceMappingURL=getRepositoryFile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRepositoryFile.js","sourceRoot":"","sources":["../getRepositoryFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,8CAaC;AA0DD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
|
|
@@ -61,3 +61,21 @@ export interface GetRepositoryMilestoneResult {
|
|
|
61
61
|
*/
|
|
62
62
|
readonly title: string;
|
|
63
63
|
}
|
|
64
|
+
export declare function getRepositoryMilestoneOutput(args: GetRepositoryMilestoneOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryMilestoneResult>;
|
|
65
|
+
/**
|
|
66
|
+
* A collection of arguments for invoking getRepositoryMilestone.
|
|
67
|
+
*/
|
|
68
|
+
export interface GetRepositoryMilestoneOutputArgs {
|
|
69
|
+
/**
|
|
70
|
+
* The number of the milestone.
|
|
71
|
+
*/
|
|
72
|
+
number: pulumi.Input<number>;
|
|
73
|
+
/**
|
|
74
|
+
* Owner of the repository.
|
|
75
|
+
*/
|
|
76
|
+
owner: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* Name of the repository to retrieve the milestone from.
|
|
79
|
+
*/
|
|
80
|
+
repository: pulumi.Input<string>;
|
|
81
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getRepositoryMilestoneOutput = exports.getRepositoryMilestone = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -34,4 +35,8 @@ function getRepositoryMilestone(args, opts) {
|
|
|
34
35
|
}, opts);
|
|
35
36
|
}
|
|
36
37
|
exports.getRepositoryMilestone = getRepositoryMilestone;
|
|
38
|
+
function getRepositoryMilestoneOutput(args, opts) {
|
|
39
|
+
return pulumi.output(args).apply(a => getRepositoryMilestone(a, opts));
|
|
40
|
+
}
|
|
41
|
+
exports.getRepositoryMilestoneOutput = getRepositoryMilestoneOutput;
|
|
37
42
|
//# sourceMappingURL=getRepositoryMilestone.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepositoryMilestone.js","sourceRoot":"","sources":["../getRepositoryMilestone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getRepositoryMilestone.js","sourceRoot":"","sources":["../getRepositoryMilestone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,wDAaC;AAiDD,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,oEAEC"}
|
|
@@ -101,3 +101,21 @@ export interface GetRepositoryPullRequestResult {
|
|
|
101
101
|
*/
|
|
102
102
|
readonly updatedAt: number;
|
|
103
103
|
}
|
|
104
|
+
export declare function getRepositoryPullRequestOutput(args: GetRepositoryPullRequestOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryPullRequestResult>;
|
|
105
|
+
/**
|
|
106
|
+
* A collection of arguments for invoking getRepositoryPullRequest.
|
|
107
|
+
*/
|
|
108
|
+
export interface GetRepositoryPullRequestOutputArgs {
|
|
109
|
+
/**
|
|
110
|
+
* Name of the base repository to retrieve the Pull Request from.
|
|
111
|
+
*/
|
|
112
|
+
baseRepository: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The number of the Pull Request within the repository.
|
|
115
|
+
*/
|
|
116
|
+
number: pulumi.Input<number>;
|
|
117
|
+
/**
|
|
118
|
+
* Owner of the repository. If not provided, the provider's default owner is used.
|
|
119
|
+
*/
|
|
120
|
+
owner?: pulumi.Input<string>;
|
|
121
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getRepositoryPullRequestOutput = exports.getRepositoryPullRequest = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -33,4 +34,8 @@ function getRepositoryPullRequest(args, opts) {
|
|
|
33
34
|
}, opts);
|
|
34
35
|
}
|
|
35
36
|
exports.getRepositoryPullRequest = getRepositoryPullRequest;
|
|
37
|
+
function getRepositoryPullRequestOutput(args, opts) {
|
|
38
|
+
return pulumi.output(args).apply(a => getRepositoryPullRequest(a, opts));
|
|
39
|
+
}
|
|
40
|
+
exports.getRepositoryPullRequestOutput = getRepositoryPullRequestOutput;
|
|
36
41
|
//# sourceMappingURL=getRepositoryPullRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepositoryPullRequest.js","sourceRoot":"","sources":["../getRepositoryPullRequest.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getRepositoryPullRequest.js","sourceRoot":"","sources":["../getRepositoryPullRequest.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,4DAaC;AA0FD,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,wEAEC"}
|
|
@@ -81,3 +81,37 @@ export interface GetRepositoryPullRequestsResult {
|
|
|
81
81
|
*/
|
|
82
82
|
readonly state?: string;
|
|
83
83
|
}
|
|
84
|
+
export declare function getRepositoryPullRequestsOutput(args: GetRepositoryPullRequestsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryPullRequestsResult>;
|
|
85
|
+
/**
|
|
86
|
+
* A collection of arguments for invoking getRepositoryPullRequests.
|
|
87
|
+
*/
|
|
88
|
+
export interface GetRepositoryPullRequestsOutputArgs {
|
|
89
|
+
/**
|
|
90
|
+
* If set, filters Pull Requests by base branch name.
|
|
91
|
+
*/
|
|
92
|
+
baseRef?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Name of the base repository to retrieve the Pull Requests from.
|
|
95
|
+
*/
|
|
96
|
+
baseRepository: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* If set, filters Pull Requests by head user or head organization and branch name in the format of "user:ref-name" or "organization:ref-name". For example: "github:new-script-format" or "octocat:test-branch".
|
|
99
|
+
*/
|
|
100
|
+
headRef?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Owner of the repository. If not provided, the provider's default owner is used.
|
|
103
|
+
*/
|
|
104
|
+
owner?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* If set, indicates what to sort results by. Can be either "created", "updated", "popularity" (comment count) or "long-running" (age, filtering by pulls updated in the last month). Default: "created".
|
|
107
|
+
*/
|
|
108
|
+
sortBy?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* If set, controls the direction of the sort. Can be either "asc" or "desc". Default: "asc".
|
|
111
|
+
*/
|
|
112
|
+
sortDirection?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* If set, filters Pull Requests by state. Can be "open", "closed", or "all". Default: "open".
|
|
115
|
+
*/
|
|
116
|
+
state?: pulumi.Input<string>;
|
|
117
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getRepositoryPullRequestsOutput = exports.getRepositoryPullRequests = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -40,4 +41,8 @@ function getRepositoryPullRequests(args, opts) {
|
|
|
40
41
|
}, opts);
|
|
41
42
|
}
|
|
42
43
|
exports.getRepositoryPullRequests = getRepositoryPullRequests;
|
|
44
|
+
function getRepositoryPullRequestsOutput(args, opts) {
|
|
45
|
+
return pulumi.output(args).apply(a => getRepositoryPullRequests(a, opts));
|
|
46
|
+
}
|
|
47
|
+
exports.getRepositoryPullRequestsOutput = getRepositoryPullRequestsOutput;
|
|
43
48
|
//# sourceMappingURL=getRepositoryPullRequests.js.map
|