@pulumi/github 4.5.0 → 4.7.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/actionsOrganizationPermissions.d.ts +121 -0
- package/actionsOrganizationPermissions.js +95 -0
- package/actionsOrganizationPermissions.js.map +1 -0
- package/branch.d.ts +2 -2
- package/branch.js +2 -2
- package/branchProtection.d.ts +1 -1
- package/branchProtection.js +1 -1
- package/config/vars.d.ts +4 -0
- package/config/vars.js +4 -0
- package/config/vars.js.map +1 -1
- package/getRepository.d.ts +4 -0
- package/getRepositoryFile.d.ts +73 -0
- package/getRepositoryFile.js +38 -0
- package/getRepositoryFile.js.map +1 -0
- package/getUsers.d.ts +55 -0
- package/getUsers.js +41 -0
- package/getUsers.js.map +1 -0
- package/index.d.ts +4 -0
- package/index.js +12 -0
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/provider.d.ts +4 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/repository.d.ts +12 -0
- package/repository.js +2 -0
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +108 -0
- package/repositoryAutolinkReference.js +93 -0
- package/repositoryAutolinkReference.js.map +1 -0
- package/repositoryEnvironment.d.ts +8 -0
- package/repositoryEnvironment.js +8 -0
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryWebhook.d.ts +8 -8
- package/types/input.d.ts +30 -1
- package/types/output.d.ts +30 -1
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise organizations.
|
|
5
|
+
* You must have admin access to an organization to use this resource.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as github from "@pulumi/github";
|
|
12
|
+
*
|
|
13
|
+
* const example = new github.Repository("example", {});
|
|
14
|
+
* const test = new github.ActionsOrganizationPermissions("test", {
|
|
15
|
+
* allowedActions: "selected",
|
|
16
|
+
* enabledRepositories: "selected",
|
|
17
|
+
* allowedActionsConfig: {
|
|
18
|
+
* githubOwnedAllowed: true,
|
|
19
|
+
* patternsAlloweds: [
|
|
20
|
+
* "actions/cache@*",
|
|
21
|
+
* "actions/checkout@*",
|
|
22
|
+
* ],
|
|
23
|
+
* verifiedAllowed: true,
|
|
24
|
+
* },
|
|
25
|
+
* enabledRepositoriesConfig: {
|
|
26
|
+
* repositoryIds: [example.repoId],
|
|
27
|
+
* },
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* This resource can be imported using the ID of the GitHub organization
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import github:index/actionsOrganizationPermissions:ActionsOrganizationPermissions test <github_organization_name>
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export declare class ActionsOrganizationPermissions extends pulumi.CustomResource {
|
|
40
|
+
/**
|
|
41
|
+
* Get an existing ActionsOrganizationPermissions resource's state with the given name, ID, and optional extra
|
|
42
|
+
* properties used to qualify the lookup.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resulting resource.
|
|
45
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
46
|
+
* @param state Any extra arguments used during the lookup.
|
|
47
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
48
|
+
*/
|
|
49
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ActionsOrganizationPermissionsState, opts?: pulumi.CustomResourceOptions): ActionsOrganizationPermissions;
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of ActionsOrganizationPermissions. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj: any): obj is ActionsOrganizationPermissions;
|
|
55
|
+
/**
|
|
56
|
+
* The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `localOnly`, or `selected`.
|
|
57
|
+
*/
|
|
58
|
+
readonly allowedActions: pulumi.Output<string | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Sets the actions that are allowed in an organization. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.
|
|
61
|
+
*/
|
|
62
|
+
readonly allowedActionsConfig: pulumi.Output<outputs.ActionsOrganizationPermissionsAllowedActionsConfig | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`.
|
|
65
|
+
*/
|
|
66
|
+
readonly enabledRepositories: pulumi.Output<string>;
|
|
67
|
+
/**
|
|
68
|
+
* Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when `enabledRepositories` = `selected`. See Enabled Repositories Config below for details.
|
|
69
|
+
*/
|
|
70
|
+
readonly enabledRepositoriesConfig: pulumi.Output<outputs.ActionsOrganizationPermissionsEnabledRepositoriesConfig | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a ActionsOrganizationPermissions resource with the given unique name, arguments, and options.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resource.
|
|
75
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
76
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
77
|
+
*/
|
|
78
|
+
constructor(name: string, args: ActionsOrganizationPermissionsArgs, opts?: pulumi.CustomResourceOptions);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Input properties used for looking up and filtering ActionsOrganizationPermissions resources.
|
|
82
|
+
*/
|
|
83
|
+
export interface ActionsOrganizationPermissionsState {
|
|
84
|
+
/**
|
|
85
|
+
* The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `localOnly`, or `selected`.
|
|
86
|
+
*/
|
|
87
|
+
allowedActions?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Sets the actions that are allowed in an organization. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.
|
|
90
|
+
*/
|
|
91
|
+
allowedActionsConfig?: pulumi.Input<inputs.ActionsOrganizationPermissionsAllowedActionsConfig>;
|
|
92
|
+
/**
|
|
93
|
+
* The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`.
|
|
94
|
+
*/
|
|
95
|
+
enabledRepositories?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when `enabledRepositories` = `selected`. See Enabled Repositories Config below for details.
|
|
98
|
+
*/
|
|
99
|
+
enabledRepositoriesConfig?: pulumi.Input<inputs.ActionsOrganizationPermissionsEnabledRepositoriesConfig>;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* The set of arguments for constructing a ActionsOrganizationPermissions resource.
|
|
103
|
+
*/
|
|
104
|
+
export interface ActionsOrganizationPermissionsArgs {
|
|
105
|
+
/**
|
|
106
|
+
* The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `localOnly`, or `selected`.
|
|
107
|
+
*/
|
|
108
|
+
allowedActions?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Sets the actions that are allowed in an organization. Only available when `allowedActions` = `selected`. See Allowed Actions Config below for details.
|
|
111
|
+
*/
|
|
112
|
+
allowedActionsConfig?: pulumi.Input<inputs.ActionsOrganizationPermissionsAllowedActionsConfig>;
|
|
113
|
+
/**
|
|
114
|
+
* The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`.
|
|
115
|
+
*/
|
|
116
|
+
enabledRepositories: pulumi.Input<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Sets the list of selected repositories that are enabled for GitHub Actions in an organization. Only available when `enabledRepositories` = `selected`. See Enabled Repositories Config below for details.
|
|
119
|
+
*/
|
|
120
|
+
enabledRepositoriesConfig?: pulumi.Input<inputs.ActionsOrganizationPermissionsEnabledRepositoriesConfig>;
|
|
121
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("./utilities");
|
|
7
|
+
/**
|
|
8
|
+
* This resource allows you to create and manage GitHub Actions permissions within your GitHub enterprise organizations.
|
|
9
|
+
* You must have admin access to an organization to use this resource.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as github from "@pulumi/github";
|
|
16
|
+
*
|
|
17
|
+
* const example = new github.Repository("example", {});
|
|
18
|
+
* const test = new github.ActionsOrganizationPermissions("test", {
|
|
19
|
+
* allowedActions: "selected",
|
|
20
|
+
* enabledRepositories: "selected",
|
|
21
|
+
* allowedActionsConfig: {
|
|
22
|
+
* githubOwnedAllowed: true,
|
|
23
|
+
* patternsAlloweds: [
|
|
24
|
+
* "actions/cache@*",
|
|
25
|
+
* "actions/checkout@*",
|
|
26
|
+
* ],
|
|
27
|
+
* verifiedAllowed: true,
|
|
28
|
+
* },
|
|
29
|
+
* enabledRepositoriesConfig: {
|
|
30
|
+
* repositoryIds: [example.repoId],
|
|
31
|
+
* },
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* This resource can be imported using the ID of the GitHub organization
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import github:index/actionsOrganizationPermissions:ActionsOrganizationPermissions test <github_organization_name>
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
class ActionsOrganizationPermissions extends pulumi.CustomResource {
|
|
44
|
+
constructor(name, argsOrState, opts) {
|
|
45
|
+
let inputs = {};
|
|
46
|
+
opts = opts || {};
|
|
47
|
+
if (opts.id) {
|
|
48
|
+
const state = argsOrState;
|
|
49
|
+
inputs["allowedActions"] = state ? state.allowedActions : undefined;
|
|
50
|
+
inputs["allowedActionsConfig"] = state ? state.allowedActionsConfig : undefined;
|
|
51
|
+
inputs["enabledRepositories"] = state ? state.enabledRepositories : undefined;
|
|
52
|
+
inputs["enabledRepositoriesConfig"] = state ? state.enabledRepositoriesConfig : undefined;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
const args = argsOrState;
|
|
56
|
+
if ((!args || args.enabledRepositories === undefined) && !opts.urn) {
|
|
57
|
+
throw new Error("Missing required property 'enabledRepositories'");
|
|
58
|
+
}
|
|
59
|
+
inputs["allowedActions"] = args ? args.allowedActions : undefined;
|
|
60
|
+
inputs["allowedActionsConfig"] = args ? args.allowedActionsConfig : undefined;
|
|
61
|
+
inputs["enabledRepositories"] = args ? args.enabledRepositories : undefined;
|
|
62
|
+
inputs["enabledRepositoriesConfig"] = args ? args.enabledRepositoriesConfig : undefined;
|
|
63
|
+
}
|
|
64
|
+
if (!opts.version) {
|
|
65
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
66
|
+
}
|
|
67
|
+
super(ActionsOrganizationPermissions.__pulumiType, name, inputs, opts);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Get an existing ActionsOrganizationPermissions resource's state with the given name, ID, and optional extra
|
|
71
|
+
* properties used to qualify the lookup.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resulting resource.
|
|
74
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
75
|
+
* @param state Any extra arguments used during the lookup.
|
|
76
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
77
|
+
*/
|
|
78
|
+
static get(name, id, state, opts) {
|
|
79
|
+
return new ActionsOrganizationPermissions(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Returns true if the given object is an instance of ActionsOrganizationPermissions. This is designed to work even
|
|
83
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
84
|
+
*/
|
|
85
|
+
static isInstance(obj) {
|
|
86
|
+
if (obj === undefined || obj === null) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
return obj['__pulumiType'] === ActionsOrganizationPermissions.__pulumiType;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
exports.ActionsOrganizationPermissions = ActionsOrganizationPermissions;
|
|
93
|
+
/** @internal */
|
|
94
|
+
ActionsOrganizationPermissions.__pulumiType = 'github:index/actionsOrganizationPermissions:ActionsOrganizationPermissions';
|
|
95
|
+
//# sourceMappingURL=actionsOrganizationPermissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionsOrganizationPermissions.js","sourceRoot":"","sources":["../actionsOrganizationPermissions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IAqDrE,YAAY,IAAY,EAAE,WAAsF,EAAE,IAAmC;QACjJ,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8D,CAAC;YAC7E,MAAM,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc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B,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;IA3ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrF,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,8BAA8B,CAAC,YAAY,CAAC;IAC/E,CAAC;;AA1BL,wEA6EC;AA/DG,gBAAgB;AACO,2CAAY,GAAG,4EAA4E,CAAC"}
|
package/branch.d.ts
CHANGED
|
@@ -22,10 +22,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
22
22
|
* GitHub Branch can be imported using an ID made up of `repository:branch`, e.g.
|
|
23
23
|
*
|
|
24
24
|
* ```sh
|
|
25
|
-
* $ pulumi import github:index/branch:Branch terraform terraform:
|
|
25
|
+
* $ pulumi import github:index/branch:Branch terraform terraform:main
|
|
26
26
|
* ```
|
|
27
27
|
*
|
|
28
|
-
* Optionally, a source branch may be specified using an ID of `repository:branch:source_branch`. This is useful for importing branches that do not branch directly off
|
|
28
|
+
* Optionally, a source branch may be specified using an ID of `repository:branch:source_branch`. This is useful for importing branches that do not branch directly off main.
|
|
29
29
|
*
|
|
30
30
|
* ```sh
|
|
31
31
|
* $ pulumi import github:index/branch:Branch terraform terraform:feature-branch:dev
|
package/branch.js
CHANGED
|
@@ -27,10 +27,10 @@ const utilities = require("./utilities");
|
|
|
27
27
|
* GitHub Branch can be imported using an ID made up of `repository:branch`, e.g.
|
|
28
28
|
*
|
|
29
29
|
* ```sh
|
|
30
|
-
* $ pulumi import github:index/branch:Branch terraform terraform:
|
|
30
|
+
* $ pulumi import github:index/branch:Branch terraform terraform:main
|
|
31
31
|
* ```
|
|
32
32
|
*
|
|
33
|
-
* Optionally, a source branch may be specified using an ID of `repository:branch:source_branch`. This is useful for importing branches that do not branch directly off
|
|
33
|
+
* Optionally, a source branch may be specified using an ID of `repository:branch:source_branch`. This is useful for importing branches that do not branch directly off main.
|
|
34
34
|
*
|
|
35
35
|
* ```sh
|
|
36
36
|
* $ pulumi import github:index/branch:Branch terraform terraform:feature-branch:dev
|
package/branchProtection.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
16
16
|
* username: "example",
|
|
17
17
|
* });
|
|
18
18
|
* const exampleTeam = new github.Team("exampleTeam", {});
|
|
19
|
-
* // Protect the
|
|
19
|
+
* // Protect the main branch of the foo repository. Additionally, require that
|
|
20
20
|
* // the "ci/travis" context to be passing and only allow the engineers team merge
|
|
21
21
|
* // to the branch.
|
|
22
22
|
* const exampleBranchProtection = new github.BranchProtection("exampleBranchProtection", {
|
package/branchProtection.js
CHANGED
|
@@ -20,7 +20,7 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* username: "example",
|
|
21
21
|
* });
|
|
22
22
|
* const exampleTeam = new github.Team("exampleTeam", {});
|
|
23
|
-
* // Protect the
|
|
23
|
+
* // Protect the main branch of the foo repository. Additionally, require that
|
|
24
24
|
* // the "ci/travis" context to be passing and only allow the engineers team merge
|
|
25
25
|
* // to the branch.
|
|
26
26
|
* const exampleBranchProtection = new github.BranchProtection("exampleBranchProtection", {
|
package/config/vars.d.ts
CHANGED
|
@@ -24,3 +24,7 @@ export declare let owner: string | undefined;
|
|
|
24
24
|
* The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `app_auth` are not set.
|
|
25
25
|
*/
|
|
26
26
|
export declare let token: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Amount of time in milliseconds to sleep in between writes to GitHub API. Defaults to 1000ms or 1s if not set.
|
|
29
|
+
*/
|
|
30
|
+
export declare let writeDelayMs: number | undefined;
|
package/config/vars.js
CHANGED
|
@@ -30,4 +30,8 @@ exports.owner = __config.get("owner");
|
|
|
30
30
|
* The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `app_auth` are not set.
|
|
31
31
|
*/
|
|
32
32
|
exports.token = __config.get("token");
|
|
33
|
+
/**
|
|
34
|
+
* Amount of time in milliseconds to sleep in between writes to GitHub API. Defaults to 1000ms or 1s if not set.
|
|
35
|
+
*/
|
|
36
|
+
exports.writeDelayMs = __config.getObject("writeDelayMs");
|
|
33
37
|
//# sourceMappingURL=vars.js.map
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C,IAAI,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAE3C;;;GAGG;AACQ,QAAA,OAAO,GAAuC,QAAQ,CAAC,SAAS,CAAyB,SAAS,CAAC,CAAC;AAC/G;;GAEG;AACQ,QAAA,OAAO,GAAuB,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,iBAAiB,CAAC,IAAI,yBAAyB,CAAC,CAAC;AACvI;;GAEG;AACQ,QAAA,QAAQ,GAAwB,QAAQ,CAAC,SAAS,CAAU,UAAU,CAAC,CAAC;AACnF;;GAEG;AACQ,QAAA,YAAY,GAAuB,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;AAC3E;;GAEG;AACQ,QAAA,KAAK,GAAuB,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAC7D;;GAEG;AACQ,QAAA,KAAK,GAAuB,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C,IAAI,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAE3C;;;GAGG;AACQ,QAAA,OAAO,GAAuC,QAAQ,CAAC,SAAS,CAAyB,SAAS,CAAC,CAAC;AAC/G;;GAEG;AACQ,QAAA,OAAO,GAAuB,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,iBAAiB,CAAC,IAAI,yBAAyB,CAAC,CAAC;AACvI;;GAEG;AACQ,QAAA,QAAQ,GAAwB,QAAQ,CAAC,SAAS,CAAU,UAAU,CAAC,CAAC;AACnF;;GAEG;AACQ,QAAA,YAAY,GAAuB,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;AAC3E;;GAEG;AACQ,QAAA,KAAK,GAAuB,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAC7D;;GAEG;AACQ,QAAA,KAAK,GAAuB,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAC7D;;GAEG;AACQ,QAAA,YAAY,GAAuB,QAAQ,CAAC,SAAS,CAAS,cAAc,CAAC,CAAC"}
|
package/getRepository.d.ts
CHANGED
|
@@ -40,6 +40,10 @@ export interface GetRepositoryArgs {
|
|
|
40
40
|
* A collection of values returned by getRepository.
|
|
41
41
|
*/
|
|
42
42
|
export interface GetRepositoryResult {
|
|
43
|
+
/**
|
|
44
|
+
* Whether the repository allows auto-merging pull requests.
|
|
45
|
+
*/
|
|
46
|
+
readonly allowAutoMerge: boolean;
|
|
43
47
|
/**
|
|
44
48
|
* Whether the repository allows merge commits.
|
|
45
49
|
*/
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("./utilities");
|
|
7
|
+
/**
|
|
8
|
+
* This data source allows you to read files within a
|
|
9
|
+
* GitHub repository.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as github from "@pulumi/github";
|
|
16
|
+
*
|
|
17
|
+
* const foo = github.getRepositoryFile({
|
|
18
|
+
* repository: github_repository.foo.name,
|
|
19
|
+
* branch: "main",
|
|
20
|
+
* file: ".gitignore",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getRepositoryFile(args, opts) {
|
|
25
|
+
if (!opts) {
|
|
26
|
+
opts = {};
|
|
27
|
+
}
|
|
28
|
+
if (!opts.version) {
|
|
29
|
+
opts.version = utilities.getVersion();
|
|
30
|
+
}
|
|
31
|
+
return pulumi.runtime.invoke("github:index/getRepositoryFile:getRepositoryFile", {
|
|
32
|
+
"branch": args.branch,
|
|
33
|
+
"file": args.file,
|
|
34
|
+
"repository": args.repository,
|
|
35
|
+
}, opts);
|
|
36
|
+
}
|
|
37
|
+
exports.getRepositoryFile = getRepositoryFile;
|
|
38
|
+
//# 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;AAEzC,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"}
|
package/getUsers.d.ts
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to retrieve information about multiple GitHub users at once.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as github from "@pulumi/github";
|
|
10
|
+
*
|
|
11
|
+
* // Retrieve information about multiple GitHub users.
|
|
12
|
+
* const example = pulumi.output(github.getUsers({
|
|
13
|
+
* usernames: [
|
|
14
|
+
* "example1",
|
|
15
|
+
* "example2",
|
|
16
|
+
* "example3",
|
|
17
|
+
* ],
|
|
18
|
+
* }));
|
|
19
|
+
*
|
|
20
|
+
* export const validUsers = github_user_example.logins;
|
|
21
|
+
* export const invalidUsers = github_user_example.unknownLogins;
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function getUsers(args: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
|
|
25
|
+
/**
|
|
26
|
+
* A collection of arguments for invoking getUsers.
|
|
27
|
+
*/
|
|
28
|
+
export interface GetUsersArgs {
|
|
29
|
+
/**
|
|
30
|
+
* List of usernames.
|
|
31
|
+
*/
|
|
32
|
+
usernames: string[];
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A collection of values returned by getUsers.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetUsersResult {
|
|
38
|
+
/**
|
|
39
|
+
* The provider-assigned unique ID for this managed resource.
|
|
40
|
+
*/
|
|
41
|
+
readonly id: string;
|
|
42
|
+
/**
|
|
43
|
+
* list of logins of users that could be found.
|
|
44
|
+
*/
|
|
45
|
+
readonly logins: string[];
|
|
46
|
+
/**
|
|
47
|
+
* list of Node IDs of users that could be found.
|
|
48
|
+
*/
|
|
49
|
+
readonly nodeIds: string[];
|
|
50
|
+
/**
|
|
51
|
+
* list of logins without matching user.
|
|
52
|
+
*/
|
|
53
|
+
readonly unknownLogins: string[];
|
|
54
|
+
readonly usernames: string[];
|
|
55
|
+
}
|
package/getUsers.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("./utilities");
|
|
7
|
+
/**
|
|
8
|
+
* Use this data source to retrieve information about multiple GitHub users at once.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as github from "@pulumi/github";
|
|
15
|
+
*
|
|
16
|
+
* // Retrieve information about multiple GitHub users.
|
|
17
|
+
* const example = pulumi.output(github.getUsers({
|
|
18
|
+
* usernames: [
|
|
19
|
+
* "example1",
|
|
20
|
+
* "example2",
|
|
21
|
+
* "example3",
|
|
22
|
+
* ],
|
|
23
|
+
* }));
|
|
24
|
+
*
|
|
25
|
+
* export const validUsers = github_user_example.logins;
|
|
26
|
+
* export const invalidUsers = github_user_example.unknownLogins;
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
function getUsers(args, opts) {
|
|
30
|
+
if (!opts) {
|
|
31
|
+
opts = {};
|
|
32
|
+
}
|
|
33
|
+
if (!opts.version) {
|
|
34
|
+
opts.version = utilities.getVersion();
|
|
35
|
+
}
|
|
36
|
+
return pulumi.runtime.invoke("github:index/getUsers:getUsers", {
|
|
37
|
+
"usernames": args.usernames,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getUsers = getUsers;
|
|
41
|
+
//# sourceMappingURL=getUsers.js.map
|
package/getUsers.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,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,gCAAgC,EAAE;QAC3D,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4BAWC"}
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./actionsEnvironmentSecret";
|
|
2
|
+
export * from "./actionsOrganizationPermissions";
|
|
2
3
|
export * from "./actionsOrganizationSecret";
|
|
3
4
|
export * from "./actionsOrganizationSecretRepositories";
|
|
4
5
|
export * from "./actionsRunnerGroup";
|
|
@@ -19,11 +20,13 @@ export * from "./getOrganizationTeams";
|
|
|
19
20
|
export * from "./getRelease";
|
|
20
21
|
export * from "./getRepositories";
|
|
21
22
|
export * from "./getRepository";
|
|
23
|
+
export * from "./getRepositoryFile";
|
|
22
24
|
export * from "./getRepositoryMilestone";
|
|
23
25
|
export * from "./getRepositoryPullRequest";
|
|
24
26
|
export * from "./getRepositoryPullRequests";
|
|
25
27
|
export * from "./getTeam";
|
|
26
28
|
export * from "./getUser";
|
|
29
|
+
export * from "./getUsers";
|
|
27
30
|
export * from "./issueLabel";
|
|
28
31
|
export * from "./membership";
|
|
29
32
|
export * from "./organizationBlock";
|
|
@@ -33,6 +36,7 @@ export * from "./projectCard";
|
|
|
33
36
|
export * from "./projectColumn";
|
|
34
37
|
export * from "./provider";
|
|
35
38
|
export * from "./repository";
|
|
39
|
+
export * from "./repositoryAutolinkReference";
|
|
36
40
|
export * from "./repositoryCollaborator";
|
|
37
41
|
export * from "./repositoryDeployKey";
|
|
38
42
|
export * from "./repositoryEnvironment";
|
package/index.js
CHANGED
|
@@ -9,6 +9,7 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
9
9
|
const utilities = require("./utilities");
|
|
10
10
|
// Export members:
|
|
11
11
|
__export(require("./actionsEnvironmentSecret"));
|
|
12
|
+
__export(require("./actionsOrganizationPermissions"));
|
|
12
13
|
__export(require("./actionsOrganizationSecret"));
|
|
13
14
|
__export(require("./actionsOrganizationSecretRepositories"));
|
|
14
15
|
__export(require("./actionsRunnerGroup"));
|
|
@@ -29,11 +30,13 @@ __export(require("./getOrganizationTeams"));
|
|
|
29
30
|
__export(require("./getRelease"));
|
|
30
31
|
__export(require("./getRepositories"));
|
|
31
32
|
__export(require("./getRepository"));
|
|
33
|
+
__export(require("./getRepositoryFile"));
|
|
32
34
|
__export(require("./getRepositoryMilestone"));
|
|
33
35
|
__export(require("./getRepositoryPullRequest"));
|
|
34
36
|
__export(require("./getRepositoryPullRequests"));
|
|
35
37
|
__export(require("./getTeam"));
|
|
36
38
|
__export(require("./getUser"));
|
|
39
|
+
__export(require("./getUsers"));
|
|
37
40
|
__export(require("./issueLabel"));
|
|
38
41
|
__export(require("./membership"));
|
|
39
42
|
__export(require("./organizationBlock"));
|
|
@@ -43,6 +46,7 @@ __export(require("./projectCard"));
|
|
|
43
46
|
__export(require("./projectColumn"));
|
|
44
47
|
__export(require("./provider"));
|
|
45
48
|
__export(require("./repository"));
|
|
49
|
+
__export(require("./repositoryAutolinkReference"));
|
|
46
50
|
__export(require("./repositoryCollaborator"));
|
|
47
51
|
__export(require("./repositoryDeployKey"));
|
|
48
52
|
__export(require("./repositoryEnvironment"));
|
|
@@ -65,6 +69,7 @@ const types = require("./types");
|
|
|
65
69
|
exports.types = types;
|
|
66
70
|
// Import resources to register:
|
|
67
71
|
const actionsEnvironmentSecret_1 = require("./actionsEnvironmentSecret");
|
|
72
|
+
const actionsOrganizationPermissions_1 = require("./actionsOrganizationPermissions");
|
|
68
73
|
const actionsOrganizationSecret_1 = require("./actionsOrganizationSecret");
|
|
69
74
|
const actionsOrganizationSecretRepositories_1 = require("./actionsOrganizationSecretRepositories");
|
|
70
75
|
const actionsRunnerGroup_1 = require("./actionsRunnerGroup");
|
|
@@ -82,6 +87,7 @@ const organizationWebhook_1 = require("./organizationWebhook");
|
|
|
82
87
|
const projectCard_1 = require("./projectCard");
|
|
83
88
|
const projectColumn_1 = require("./projectColumn");
|
|
84
89
|
const repository_1 = require("./repository");
|
|
90
|
+
const repositoryAutolinkReference_1 = require("./repositoryAutolinkReference");
|
|
85
91
|
const repositoryCollaborator_1 = require("./repositoryCollaborator");
|
|
86
92
|
const repositoryDeployKey_1 = require("./repositoryDeployKey");
|
|
87
93
|
const repositoryEnvironment_1 = require("./repositoryEnvironment");
|
|
@@ -103,6 +109,8 @@ const _module = {
|
|
|
103
109
|
switch (type) {
|
|
104
110
|
case "github:index/actionsEnvironmentSecret:ActionsEnvironmentSecret":
|
|
105
111
|
return new actionsEnvironmentSecret_1.ActionsEnvironmentSecret(name, undefined, { urn });
|
|
112
|
+
case "github:index/actionsOrganizationPermissions:ActionsOrganizationPermissions":
|
|
113
|
+
return new actionsOrganizationPermissions_1.ActionsOrganizationPermissions(name, undefined, { urn });
|
|
106
114
|
case "github:index/actionsOrganizationSecret:ActionsOrganizationSecret":
|
|
107
115
|
return new actionsOrganizationSecret_1.ActionsOrganizationSecret(name, undefined, { urn });
|
|
108
116
|
case "github:index/actionsOrganizationSecretRepositories:ActionsOrganizationSecretRepositories":
|
|
@@ -137,6 +145,8 @@ const _module = {
|
|
|
137
145
|
return new projectColumn_1.ProjectColumn(name, undefined, { urn });
|
|
138
146
|
case "github:index/repository:Repository":
|
|
139
147
|
return new repository_1.Repository(name, undefined, { urn });
|
|
148
|
+
case "github:index/repositoryAutolinkReference:RepositoryAutolinkReference":
|
|
149
|
+
return new repositoryAutolinkReference_1.RepositoryAutolinkReference(name, undefined, { urn });
|
|
140
150
|
case "github:index/repositoryCollaborator:RepositoryCollaborator":
|
|
141
151
|
return new repositoryCollaborator_1.RepositoryCollaborator(name, undefined, { urn });
|
|
142
152
|
case "github:index/repositoryDeployKey:RepositoryDeployKey":
|
|
@@ -173,6 +183,7 @@ const _module = {
|
|
|
173
183
|
},
|
|
174
184
|
};
|
|
175
185
|
pulumi.runtime.registerResourceModule("github", "index/actionsEnvironmentSecret", _module);
|
|
186
|
+
pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationPermissions", _module);
|
|
176
187
|
pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationSecret", _module);
|
|
177
188
|
pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationSecretRepositories", _module);
|
|
178
189
|
pulumi.runtime.registerResourceModule("github", "index/actionsRunnerGroup", _module);
|
|
@@ -190,6 +201,7 @@ pulumi.runtime.registerResourceModule("github", "index/organizationWebhook", _mo
|
|
|
190
201
|
pulumi.runtime.registerResourceModule("github", "index/projectCard", _module);
|
|
191
202
|
pulumi.runtime.registerResourceModule("github", "index/projectColumn", _module);
|
|
192
203
|
pulumi.runtime.registerResourceModule("github", "index/repository", _module);
|
|
204
|
+
pulumi.runtime.registerResourceModule("github", "index/repositoryAutolinkReference", _module);
|
|
193
205
|
pulumi.runtime.registerResourceModule("github", "index/repositoryCollaborator", _module);
|
|
194
206
|
pulumi.runtime.registerResourceModule("github", "index/repositoryDeployKey", _module);
|
|
195
207
|
pulumi.runtime.registerResourceModule("github", "index/repositoryEnvironment", _module);
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,gDAA2C;AAC3C,iDAA4C;AAC5C,6DAAwD;AACxD,0CAAqC;AACrC,qCAAgC;AAChC,iDAA4C;AAC5C,8BAAyB;AACzB,qCAAgC;AAChC,wCAAmC;AACnC,0CAAqC;AACrC,2CAAsC;AACtC,iCAA4B;AAC5B,wCAAmC;AACnC,mCAA8B;AAC9B,qCAAgC;AAChC,uCAAkC;AAClC,qDAAgD;AAChD,4CAAuC;AACvC,kCAA6B;AAC7B,uCAAkC;AAClC,qCAAgC;AAChC,8CAAyC;AACzC,gDAA2C;AAC3C,iDAA4C;AA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AAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/github",
|
|
3
|
-
"version": "v4.
|
|
3
|
+
"version": "v4.7.0",
|
|
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 v4.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource github v4.7.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
package/provider.d.ts
CHANGED
|
@@ -70,4 +70,8 @@ export interface ProviderArgs {
|
|
|
70
70
|
* The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `app_auth` are not set.
|
|
71
71
|
*/
|
|
72
72
|
token?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Amount of time in milliseconds to sleep in between writes to GitHub API. Defaults to 1000ms or 1s if not set.
|
|
75
|
+
*/
|
|
76
|
+
writeDelayMs?: pulumi.Input<number>;
|
|
73
77
|
}
|
package/provider.js
CHANGED
|
@@ -29,6 +29,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
29
29
|
inputs["organization"] = args ? args.organization : undefined;
|
|
30
30
|
inputs["owner"] = args ? args.owner : undefined;
|
|
31
31
|
inputs["token"] = args ? args.token : undefined;
|
|
32
|
+
inputs["writeDelayMs"] = pulumi.output(args ? args.writeDelayMs : undefined).apply(JSON.stringify);
|
|
32
33
|
}
|
|
33
34
|
if (!opts.version) {
|
|
34
35
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAkCjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;;QACxE,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,MAAM,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACzF,MAAM,CAAC,SAAS,CAAC,SAAG,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,uCAAI,CAAC,SAAS,CAAC,MAAM,CAAC,iBAAiB,CAAC,IAAI,yBAAyB,CAAC,EAAA,CAAC;YAC5H,MAAM,CAAC,UAAU,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAC3F,MAAM,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAA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AS,CAAC;YAChD,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAChD,MAAM,CAAC,cAAc,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SACtG;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACrD,CAAC;IArDD;;;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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAbL,4BA0DC;AAzDG,gBAAgB;AACO,qBAAY,GAAG,QAAQ,CAAC"}
|
package/repository.d.ts
CHANGED
|
@@ -61,6 +61,10 @@ export declare class Repository extends pulumi.CustomResource {
|
|
|
61
61
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
62
62
|
*/
|
|
63
63
|
static isInstance(obj: any): obj is Repository;
|
|
64
|
+
/**
|
|
65
|
+
* Set to `true` to allow auto-merging pull requests on the repository.
|
|
66
|
+
*/
|
|
67
|
+
readonly allowAutoMerge: pulumi.Output<boolean | undefined>;
|
|
64
68
|
/**
|
|
65
69
|
* Set to `false` to disable merge commits on the repository.
|
|
66
70
|
*/
|
|
@@ -212,6 +216,10 @@ export declare class Repository extends pulumi.CustomResource {
|
|
|
212
216
|
* Input properties used for looking up and filtering Repository resources.
|
|
213
217
|
*/
|
|
214
218
|
export interface RepositoryState {
|
|
219
|
+
/**
|
|
220
|
+
* Set to `true` to allow auto-merging pull requests on the repository.
|
|
221
|
+
*/
|
|
222
|
+
allowAutoMerge?: pulumi.Input<boolean>;
|
|
215
223
|
/**
|
|
216
224
|
* Set to `false` to disable merge commits on the repository.
|
|
217
225
|
*/
|
|
@@ -355,6 +363,10 @@ export interface RepositoryState {
|
|
|
355
363
|
* The set of arguments for constructing a Repository resource.
|
|
356
364
|
*/
|
|
357
365
|
export interface RepositoryArgs {
|
|
366
|
+
/**
|
|
367
|
+
* Set to `true` to allow auto-merging pull requests on the repository.
|
|
368
|
+
*/
|
|
369
|
+
allowAutoMerge?: pulumi.Input<boolean>;
|
|
358
370
|
/**
|
|
359
371
|
* Set to `false` to disable merge commits on the repository.
|
|
360
372
|
*/
|
package/repository.js
CHANGED
|
@@ -55,6 +55,7 @@ class Repository extends pulumi.CustomResource {
|
|
|
55
55
|
opts = opts || {};
|
|
56
56
|
if (opts.id) {
|
|
57
57
|
const state = argsOrState;
|
|
58
|
+
inputs["allowAutoMerge"] = state ? state.allowAutoMerge : undefined;
|
|
58
59
|
inputs["allowMergeCommit"] = state ? state.allowMergeCommit : undefined;
|
|
59
60
|
inputs["allowRebaseMerge"] = state ? state.allowRebaseMerge : undefined;
|
|
60
61
|
inputs["allowSquashMerge"] = state ? state.allowSquashMerge : undefined;
|
|
@@ -91,6 +92,7 @@ class Repository extends pulumi.CustomResource {
|
|
|
91
92
|
}
|
|
92
93
|
else {
|
|
93
94
|
const args = argsOrState;
|
|
95
|
+
inputs["allowAutoMerge"] = args ? args.allowAutoMerge : undefined;
|
|
94
96
|
inputs["allowMergeCommit"] = args ? args.allowMergeCommit : undefined;
|
|
95
97
|
inputs["allowRebaseMerge"] = args ? args.allowRebaseMerge : undefined;
|
|
96
98
|
inputs["allowSquashMerge"] = args ? args.allowSquashMerge : undefined;
|
package/repository.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.js","sourceRoot":"","sources":["../repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"repository.js","sourceRoot":"","sources":["../repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAmLjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,MAAM,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,MAAM,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,MAAM,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,MAAM,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,MAAM,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,C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* as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource allows you to create and manage an autolink reference for a single repository.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as github from "@pulumi/github";
|
|
10
|
+
*
|
|
11
|
+
* const repo = new github.Repository("repo", {
|
|
12
|
+
* description: "GitHub repo managed by Terraform",
|
|
13
|
+
* "private": false,
|
|
14
|
+
* });
|
|
15
|
+
* const auto = new github.RepositoryAutolinkReference("auto", {
|
|
16
|
+
* repository: repo.name,
|
|
17
|
+
* keyPrefix: "TICKET-",
|
|
18
|
+
* targetUrlTemplate: "https://hello.there/TICKET?query=<num>",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* Autolink references can be imported using the `name` of the repository, combined with the `id` of the autolink reference and a `/` character for separating components, e.g.
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import github:index/repositoryAutolinkReference:RepositoryAutolinkReference auto oof/123
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class RepositoryAutolinkReference extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing RepositoryAutolinkReference resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RepositoryAutolinkReferenceState, opts?: pulumi.CustomResourceOptions): RepositoryAutolinkReference;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of RepositoryAutolinkReference. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is RepositoryAutolinkReference;
|
|
46
|
+
/**
|
|
47
|
+
* An etag representing the autolink reference object.
|
|
48
|
+
*/
|
|
49
|
+
readonly etag: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* This prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit.
|
|
52
|
+
*/
|
|
53
|
+
readonly keyPrefix: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The repository of the autolink reference.
|
|
56
|
+
*/
|
|
57
|
+
readonly repository: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The template of the target URL used for the links; must be a valid URL and contain `<num>` for the reference number
|
|
60
|
+
*/
|
|
61
|
+
readonly targetUrlTemplate: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Create a RepositoryAutolinkReference resource with the given unique name, arguments, and options.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resource.
|
|
66
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
67
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
68
|
+
*/
|
|
69
|
+
constructor(name: string, args: RepositoryAutolinkReferenceArgs, opts?: pulumi.CustomResourceOptions);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Input properties used for looking up and filtering RepositoryAutolinkReference resources.
|
|
73
|
+
*/
|
|
74
|
+
export interface RepositoryAutolinkReferenceState {
|
|
75
|
+
/**
|
|
76
|
+
* An etag representing the autolink reference object.
|
|
77
|
+
*/
|
|
78
|
+
etag?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* This prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit.
|
|
81
|
+
*/
|
|
82
|
+
keyPrefix?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The repository of the autolink reference.
|
|
85
|
+
*/
|
|
86
|
+
repository?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The template of the target URL used for the links; must be a valid URL and contain `<num>` for the reference number
|
|
89
|
+
*/
|
|
90
|
+
targetUrlTemplate?: pulumi.Input<string>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a RepositoryAutolinkReference resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface RepositoryAutolinkReferenceArgs {
|
|
96
|
+
/**
|
|
97
|
+
* This prefix appended by a number will generate a link any time it is found in an issue, pull request, or commit.
|
|
98
|
+
*/
|
|
99
|
+
keyPrefix: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The repository of the autolink reference.
|
|
102
|
+
*/
|
|
103
|
+
repository: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The template of the target URL used for the links; must be a valid URL and contain `<num>` for the reference number
|
|
106
|
+
*/
|
|
107
|
+
targetUrlTemplate: pulumi.Input<string>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const utilities = require("./utilities");
|
|
7
|
+
/**
|
|
8
|
+
* This resource allows you to create and manage an autolink reference for a single repository.
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as github from "@pulumi/github";
|
|
15
|
+
*
|
|
16
|
+
* const repo = new github.Repository("repo", {
|
|
17
|
+
* description: "GitHub repo managed by Terraform",
|
|
18
|
+
* "private": false,
|
|
19
|
+
* });
|
|
20
|
+
* const auto = new github.RepositoryAutolinkReference("auto", {
|
|
21
|
+
* repository: repo.name,
|
|
22
|
+
* keyPrefix: "TICKET-",
|
|
23
|
+
* targetUrlTemplate: "https://hello.there/TICKET?query=<num>",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* Autolink references can be imported using the `name` of the repository, combined with the `id` of the autolink reference and a `/` character for separating components, e.g.
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import github:index/repositoryAutolinkReference:RepositoryAutolinkReference auto oof/123
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class RepositoryAutolinkReference extends pulumi.CustomResource {
|
|
36
|
+
constructor(name, argsOrState, opts) {
|
|
37
|
+
let inputs = {};
|
|
38
|
+
opts = opts || {};
|
|
39
|
+
if (opts.id) {
|
|
40
|
+
const state = argsOrState;
|
|
41
|
+
inputs["etag"] = state ? state.etag : undefined;
|
|
42
|
+
inputs["keyPrefix"] = state ? state.keyPrefix : undefined;
|
|
43
|
+
inputs["repository"] = state ? state.repository : undefined;
|
|
44
|
+
inputs["targetUrlTemplate"] = state ? state.targetUrlTemplate : undefined;
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
const args = argsOrState;
|
|
48
|
+
if ((!args || args.keyPrefix === undefined) && !opts.urn) {
|
|
49
|
+
throw new Error("Missing required property 'keyPrefix'");
|
|
50
|
+
}
|
|
51
|
+
if ((!args || args.repository === undefined) && !opts.urn) {
|
|
52
|
+
throw new Error("Missing required property 'repository'");
|
|
53
|
+
}
|
|
54
|
+
if ((!args || args.targetUrlTemplate === undefined) && !opts.urn) {
|
|
55
|
+
throw new Error("Missing required property 'targetUrlTemplate'");
|
|
56
|
+
}
|
|
57
|
+
inputs["keyPrefix"] = args ? args.keyPrefix : undefined;
|
|
58
|
+
inputs["repository"] = args ? args.repository : undefined;
|
|
59
|
+
inputs["targetUrlTemplate"] = args ? args.targetUrlTemplate : undefined;
|
|
60
|
+
inputs["etag"] = undefined /*out*/;
|
|
61
|
+
}
|
|
62
|
+
if (!opts.version) {
|
|
63
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
64
|
+
}
|
|
65
|
+
super(RepositoryAutolinkReference.__pulumiType, name, inputs, opts);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Get an existing RepositoryAutolinkReference resource's state with the given name, ID, and optional extra
|
|
69
|
+
* properties used to qualify the lookup.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resulting resource.
|
|
72
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
73
|
+
* @param state Any extra arguments used during the lookup.
|
|
74
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
75
|
+
*/
|
|
76
|
+
static get(name, id, state, opts) {
|
|
77
|
+
return new RepositoryAutolinkReference(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the given object is an instance of RepositoryAutolinkReference. This is designed to work even
|
|
81
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
82
|
+
*/
|
|
83
|
+
static isInstance(obj) {
|
|
84
|
+
if (obj === undefined || obj === null) {
|
|
85
|
+
return false;
|
|
86
|
+
}
|
|
87
|
+
return obj['__pulumiType'] === RepositoryAutolinkReference.__pulumiType;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.RepositoryAutolinkReference = RepositoryAutolinkReference;
|
|
91
|
+
/** @internal */
|
|
92
|
+
RepositoryAutolinkReference.__pulumiType = 'github:index/repositoryAutolinkReference:RepositoryAutolinkReference';
|
|
93
|
+
//# sourceMappingURL=repositoryAutolinkReference.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repositoryAutolinkReference.js","sourceRoot":"","sources":["../repositoryAutolinkReference.ts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G,gBAAgB;AACO,wCAAY,GAAG,sEAAsE,CAAC"}
|
|
@@ -25,6 +25,14 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
25
25
|
* },
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Import
|
|
30
|
+
*
|
|
31
|
+
* GitHub Repository Environment can be imported using an ID made up of `name` of the repository combined with the `environment` name of the environment, separated by a `:` character, e.g.
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import github:index/repositoryEnvironment:RepositoryEnvironment daily terraform:daily
|
|
35
|
+
* ```
|
|
28
36
|
*/
|
|
29
37
|
export declare class RepositoryEnvironment extends pulumi.CustomResource {
|
|
30
38
|
/**
|
package/repositoryEnvironment.js
CHANGED
|
@@ -29,6 +29,14 @@ const utilities = require("./utilities");
|
|
|
29
29
|
* },
|
|
30
30
|
* });
|
|
31
31
|
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* GitHub Repository Environment can be imported using an ID made up of `name` of the repository combined with the `environment` name of the environment, separated by a `:` character, e.g.
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import github:index/repositoryEnvironment:RepositoryEnvironment daily terraform:daily
|
|
39
|
+
* ```
|
|
32
40
|
*/
|
|
33
41
|
class RepositoryEnvironment extends pulumi.CustomResource {
|
|
34
42
|
constructor(name, argsOrState, opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryEnvironment.js","sourceRoot":"","sources":["../repositoryEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryEnvironment.js","sourceRoot":"","sources":["../repositoryEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AA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,CAAC;;AA1BL,sDAgFC;AAlEG,gBAAgB;AACO,kCAAY,GAAG,0DAA0D,CAAC"}
|
package/repositoryWebhook.d.ts
CHANGED
|
@@ -54,11 +54,11 @@ export declare class RepositoryWebhook extends pulumi.CustomResource {
|
|
|
54
54
|
*/
|
|
55
55
|
static isInstance(obj: any): obj is RepositoryWebhook;
|
|
56
56
|
/**
|
|
57
|
-
* Indicate
|
|
57
|
+
* Indicate if the webhook should receive events. Defaults to `true`.
|
|
58
58
|
*/
|
|
59
59
|
readonly active: pulumi.Output<boolean | undefined>;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Configuration block for the webhook. Detailed below.
|
|
62
62
|
*/
|
|
63
63
|
readonly configuration: pulumi.Output<outputs.RepositoryWebhookConfiguration | undefined>;
|
|
64
64
|
readonly etag: pulumi.Output<string>;
|
|
@@ -71,7 +71,7 @@ export declare class RepositoryWebhook extends pulumi.CustomResource {
|
|
|
71
71
|
*/
|
|
72
72
|
readonly repository: pulumi.Output<string>;
|
|
73
73
|
/**
|
|
74
|
-
* URL of the webhook.
|
|
74
|
+
* The URL of the webhook.
|
|
75
75
|
*/
|
|
76
76
|
readonly url: pulumi.Output<string>;
|
|
77
77
|
/**
|
|
@@ -88,11 +88,11 @@ export declare class RepositoryWebhook extends pulumi.CustomResource {
|
|
|
88
88
|
*/
|
|
89
89
|
export interface RepositoryWebhookState {
|
|
90
90
|
/**
|
|
91
|
-
* Indicate
|
|
91
|
+
* Indicate if the webhook should receive events. Defaults to `true`.
|
|
92
92
|
*/
|
|
93
93
|
active?: pulumi.Input<boolean>;
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* Configuration block for the webhook. Detailed below.
|
|
96
96
|
*/
|
|
97
97
|
configuration?: pulumi.Input<inputs.RepositoryWebhookConfiguration>;
|
|
98
98
|
etag?: pulumi.Input<string>;
|
|
@@ -105,7 +105,7 @@ export interface RepositoryWebhookState {
|
|
|
105
105
|
*/
|
|
106
106
|
repository?: pulumi.Input<string>;
|
|
107
107
|
/**
|
|
108
|
-
* URL of the webhook.
|
|
108
|
+
* The URL of the webhook.
|
|
109
109
|
*/
|
|
110
110
|
url?: pulumi.Input<string>;
|
|
111
111
|
}
|
|
@@ -114,11 +114,11 @@ export interface RepositoryWebhookState {
|
|
|
114
114
|
*/
|
|
115
115
|
export interface RepositoryWebhookArgs {
|
|
116
116
|
/**
|
|
117
|
-
* Indicate
|
|
117
|
+
* Indicate if the webhook should receive events. Defaults to `true`.
|
|
118
118
|
*/
|
|
119
119
|
active?: pulumi.Input<boolean>;
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
121
|
+
* Configuration block for the webhook. Detailed below.
|
|
122
122
|
*/
|
|
123
123
|
configuration?: pulumi.Input<inputs.RepositoryWebhookConfiguration>;
|
|
124
124
|
/**
|
package/types/input.d.ts
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs } from "../types";
|
|
3
|
+
export interface ActionsOrganizationPermissionsAllowedActionsConfig {
|
|
4
|
+
/**
|
|
5
|
+
* Whether GitHub-owned actions are allowed in the organization.
|
|
6
|
+
*/
|
|
7
|
+
githubOwnedAllowed: pulumi.Input<boolean>;
|
|
8
|
+
/**
|
|
9
|
+
* Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*."
|
|
10
|
+
*/
|
|
11
|
+
patternsAlloweds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
12
|
+
/**
|
|
13
|
+
* Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
|
|
14
|
+
*/
|
|
15
|
+
verifiedAllowed?: pulumi.Input<boolean>;
|
|
16
|
+
}
|
|
17
|
+
export interface ActionsOrganizationPermissionsEnabledRepositoriesConfig {
|
|
18
|
+
/**
|
|
19
|
+
* List of repository IDs to enable for GitHub Actions.
|
|
20
|
+
*/
|
|
21
|
+
repositoryIds: pulumi.Input<pulumi.Input<number>[]>;
|
|
22
|
+
}
|
|
3
23
|
export interface BranchProtectionRequiredPullRequestReview {
|
|
4
24
|
dismissStaleReviews?: pulumi.Input<boolean>;
|
|
5
25
|
dismissalRestrictions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
@@ -107,11 +127,20 @@ export interface RepositoryTemplate {
|
|
|
107
127
|
repository: pulumi.Input<string>;
|
|
108
128
|
}
|
|
109
129
|
export interface RepositoryWebhookConfiguration {
|
|
130
|
+
/**
|
|
131
|
+
* The content type for the payload. Valid values are either `form` or `json`.
|
|
132
|
+
*/
|
|
110
133
|
contentType?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* Insecure SSL boolean toggle. Defaults to `false`.
|
|
136
|
+
*/
|
|
111
137
|
insecureSsl?: pulumi.Input<boolean>;
|
|
138
|
+
/**
|
|
139
|
+
* The shared secret for the webhook. [See API documentation](https://developer.github.com/v3/repos/hooks/#create-a-hook).
|
|
140
|
+
*/
|
|
112
141
|
secret?: pulumi.Input<string>;
|
|
113
142
|
/**
|
|
114
|
-
* URL of the webhook.
|
|
143
|
+
* The URL of the webhook.
|
|
115
144
|
*/
|
|
116
145
|
url: pulumi.Input<string>;
|
|
117
146
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
1
|
import { output as outputs } from "../types";
|
|
2
|
+
export interface ActionsOrganizationPermissionsAllowedActionsConfig {
|
|
3
|
+
/**
|
|
4
|
+
* Whether GitHub-owned actions are allowed in the organization.
|
|
5
|
+
*/
|
|
6
|
+
githubOwnedAllowed: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*."
|
|
9
|
+
*/
|
|
10
|
+
patternsAlloweds?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
|
|
13
|
+
*/
|
|
14
|
+
verifiedAllowed?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface ActionsOrganizationPermissionsEnabledRepositoriesConfig {
|
|
17
|
+
/**
|
|
18
|
+
* List of repository IDs to enable for GitHub Actions.
|
|
19
|
+
*/
|
|
20
|
+
repositoryIds: number[];
|
|
21
|
+
}
|
|
2
22
|
export interface BranchProtectionRequiredPullRequestReview {
|
|
3
23
|
dismissStaleReviews?: boolean;
|
|
4
24
|
dismissalRestrictions?: string[];
|
|
@@ -311,11 +331,20 @@ export interface RepositoryTemplate {
|
|
|
311
331
|
repository: string;
|
|
312
332
|
}
|
|
313
333
|
export interface RepositoryWebhookConfiguration {
|
|
334
|
+
/**
|
|
335
|
+
* The content type for the payload. Valid values are either `form` or `json`.
|
|
336
|
+
*/
|
|
314
337
|
contentType?: string;
|
|
338
|
+
/**
|
|
339
|
+
* Insecure SSL boolean toggle. Defaults to `false`.
|
|
340
|
+
*/
|
|
315
341
|
insecureSsl?: boolean;
|
|
342
|
+
/**
|
|
343
|
+
* The shared secret for the webhook. [See API documentation](https://developer.github.com/v3/repos/hooks/#create-a-hook).
|
|
344
|
+
*/
|
|
316
345
|
secret?: string;
|
|
317
346
|
/**
|
|
318
|
-
* URL of the webhook.
|
|
347
|
+
* The URL of the webhook.
|
|
319
348
|
*/
|
|
320
349
|
url: string;
|
|
321
350
|
}
|