@pulumi/github 6.13.0-alpha.1777011674 → 6.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionsEnvironmentSecret.d.ts +52 -16
- package/actionsEnvironmentSecret.js +10 -6
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +3 -3
- package/actionsOrganizationSecret.d.ts +56 -20
- package/actionsOrganizationSecret.js +13 -9
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +1 -1
- package/actionsOrganizationSecretRepositories.js +1 -1
- package/actionsOrganizationSecretRepository.d.ts +1 -1
- package/actionsOrganizationSecretRepository.js +1 -1
- package/actionsOrganizationVariableRepositories.d.ts +1 -1
- package/actionsOrganizationVariableRepositories.js +1 -1
- package/actionsOrganizationVariableRepository.d.ts +1 -1
- package/actionsOrganizationVariableRepository.js +1 -1
- package/actionsRepositoryPermissions.d.ts +3 -3
- package/actionsSecret.d.ts +51 -15
- package/actionsSecret.js +11 -7
- package/actionsSecret.js.map +1 -1
- package/dependabotOrganizationSecret.d.ts +57 -15
- package/dependabotOrganizationSecret.js +11 -7
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.d.ts +1 -1
- package/dependabotOrganizationSecretRepositories.js +1 -1
- package/dependabotOrganizationSecretRepository.d.ts +1 -1
- package/dependabotOrganizationSecretRepository.js +1 -1
- package/dependabotSecret.d.ts +54 -18
- package/dependabotSecret.js +11 -7
- package/dependabotSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +12 -6
- package/emuGroupMapping.js +2 -2
- package/emuGroupMapping.js.map +1 -1
- package/enterpriseIpAllowListEntry.d.ts +125 -0
- package/enterpriseIpAllowListEntry.js +90 -0
- package/enterpriseIpAllowListEntry.js.map +1 -0
- package/getIpRanges.d.ts +28 -4
- package/getIpRanges.js.map +1 -1
- package/getOrganizationAppInstallations.d.ts +45 -0
- package/getOrganizationAppInstallations.js +46 -0
- package/getOrganizationAppInstallations.js.map +1 -0
- package/getRepository.d.ts +3 -1
- package/getRepository.js.map +1 -1
- package/getRepositoryPages.d.ts +96 -0
- package/getRepositoryPages.js +50 -0
- package/getRepositoryPages.js.map +1 -0
- package/index.d.ts +15 -0
- package/index.js +26 -5
- package/index.js.map +1 -1
- package/organizationRuleset.d.ts +38 -0
- package/organizationRuleset.js +38 -0
- package/organizationRuleset.js.map +1 -1
- package/package.json +2 -2
- package/repository.d.ts +28 -35
- package/repository.js +0 -19
- package/repository.js.map +1 -1
- package/repositoryCollaborators.d.ts +8 -8
- package/repositoryCollaborators.js +2 -8
- package/repositoryCollaborators.js.map +1 -1
- package/repositoryEnvironment.d.ts +13 -1
- package/repositoryEnvironment.js +7 -1
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryEnvironmentDeploymentPolicy.d.ts +21 -1
- package/repositoryEnvironmentDeploymentPolicy.js +9 -1
- package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
- package/repositoryPages.d.ts +228 -0
- package/repositoryPages.js +150 -0
- package/repositoryPages.js.map +1 -0
- package/repositoryVulnerabilityAlerts.d.ts +98 -0
- package/repositoryVulnerabilityAlerts.js +86 -0
- package/repositoryVulnerabilityAlerts.js.map +1 -0
- package/teamSettings.d.ts +35 -12
- package/teamSettings.js +21 -8
- package/teamSettings.js.map +1 -1
- package/types/input.d.ts +52 -8
- package/types/output.d.ts +118 -8
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.RepositoryVulnerabilityAlerts = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource allows you to manage vulnerability alerts for a GitHub repository. See the
|
|
10
|
+
* [documentation](https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)
|
|
11
|
+
* for details of usage and how this will impact your repository.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as github from "@pulumi/github";
|
|
18
|
+
*
|
|
19
|
+
* const example = new github.Repository("example", {
|
|
20
|
+
* name: "my-repo",
|
|
21
|
+
* description: "GitHub repo managed by Terraform",
|
|
22
|
+
* visibility: "private",
|
|
23
|
+
* });
|
|
24
|
+
* const exampleRepositoryVulnerabilityAlerts = new github.RepositoryVulnerabilityAlerts("example", {
|
|
25
|
+
* repository: example.name,
|
|
26
|
+
* enabled: true,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* ## Import
|
|
31
|
+
*
|
|
32
|
+
* Repository vulnerability alerts can be imported using the `repositoryName`:
|
|
33
|
+
*
|
|
34
|
+
* ```sh
|
|
35
|
+
* $ pulumi import github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts example my-repo
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
class RepositoryVulnerabilityAlerts extends pulumi.CustomResource {
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing RepositoryVulnerabilityAlerts resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name, id, state, opts) {
|
|
49
|
+
return new RepositoryVulnerabilityAlerts(name, state, { ...opts, id: id });
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of RepositoryVulnerabilityAlerts. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === RepositoryVulnerabilityAlerts.__pulumiType;
|
|
60
|
+
}
|
|
61
|
+
constructor(name, argsOrState, opts) {
|
|
62
|
+
let resourceInputs = {};
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
if (opts.id) {
|
|
65
|
+
const state = argsOrState;
|
|
66
|
+
resourceInputs["enabled"] = state?.enabled;
|
|
67
|
+
resourceInputs["repository"] = state?.repository;
|
|
68
|
+
resourceInputs["repositoryId"] = state?.repositoryId;
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
const args = argsOrState;
|
|
72
|
+
if (args?.repository === undefined && !opts.urn) {
|
|
73
|
+
throw new Error("Missing required property 'repository'");
|
|
74
|
+
}
|
|
75
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
76
|
+
resourceInputs["repository"] = args?.repository;
|
|
77
|
+
resourceInputs["repositoryId"] = undefined /*out*/;
|
|
78
|
+
}
|
|
79
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
|
+
super(RepositoryVulnerabilityAlerts.__pulumiType, name, resourceInputs, opts);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.RepositoryVulnerabilityAlerts = RepositoryVulnerabilityAlerts;
|
|
84
|
+
/** @internal */
|
|
85
|
+
RepositoryVulnerabilityAlerts.__pulumiType = 'github:index/repositoryVulnerabilityAlerts:RepositoryVulnerabilityAlerts';
|
|
86
|
+
//# sourceMappingURL=repositoryVulnerabilityAlerts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repositoryVulnerabilityAlerts.js","sourceRoot":"","sources":["../repositoryVulnerabilityAlerts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0C,EAAE,IAAmC;QACxI,OAAO,IAAI,6BAA6B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpF,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,6BAA6B,CAAC,YAAY,CAAC;IAC9E,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAoF,EAAE,IAAmC;QAC/I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6D,CAAC;YAC5E,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;SACxD;aAAM;YACH,MAAM,IAAI,GAAG,WAA4D,CAAC;YAC1E,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AApEL,sEAqEC;AAvDG,gBAAgB;AACO,0CAAY,GAAG,0EAA0E,CAAC"}
|
package/teamSettings.d.ts
CHANGED
|
@@ -12,21 +12,38 @@ import * as outputs from "./types/output";
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* ### Notify without delegation
|
|
16
|
+
*
|
|
15
17
|
* ```typescript
|
|
16
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
19
|
* import * as github from "@pulumi/github";
|
|
18
20
|
*
|
|
19
|
-
* // Add a repository to the team
|
|
20
21
|
* const someTeam = new github.Team("some_team", {
|
|
21
22
|
* name: "SomeTeam",
|
|
22
23
|
* description: "Some cool team",
|
|
23
24
|
* });
|
|
24
25
|
* const codeReviewSettings = new github.TeamSettings("code_review_settings", {
|
|
25
26
|
* teamId: someTeam.id,
|
|
27
|
+
* notify: true,
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ### Notify with delegation
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as github from "@pulumi/github";
|
|
36
|
+
*
|
|
37
|
+
* const someTeam = new github.Team("some_team", {
|
|
38
|
+
* name: "SomeTeam",
|
|
39
|
+
* description: "Some cool team",
|
|
40
|
+
* });
|
|
41
|
+
* const codeReviewSettings = new github.TeamSettings("code_review_settings", {
|
|
42
|
+
* teamId: someTeam.id,
|
|
43
|
+
* notify: true,
|
|
26
44
|
* reviewRequestDelegation: {
|
|
27
45
|
* algorithm: "ROUND_ROBIN",
|
|
28
46
|
* memberCount: 1,
|
|
29
|
-
* notify: true,
|
|
30
47
|
* },
|
|
31
48
|
* });
|
|
32
49
|
* ```
|
|
@@ -35,13 +52,7 @@ import * as outputs from "./types/output";
|
|
|
35
52
|
*
|
|
36
53
|
* GitHub Teams can be imported using the GitHub team ID, or the team slug e.g.
|
|
37
54
|
*
|
|
38
|
-
* ```sh
|
|
39
|
-
* $ pulumi import github:index/teamSettings:TeamSettings code_review_settings 1234567
|
|
40
|
-
* ```
|
|
41
55
|
* or,
|
|
42
|
-
* ```sh
|
|
43
|
-
* $ pulumi import github:index/teamSettings:TeamSettings code_review_settings SomeTeam
|
|
44
|
-
* ```
|
|
45
56
|
*/
|
|
46
57
|
export declare class TeamSettings extends pulumi.CustomResource {
|
|
47
58
|
/**
|
|
@@ -59,6 +70,10 @@ export declare class TeamSettings extends pulumi.CustomResource {
|
|
|
59
70
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
71
|
*/
|
|
61
72
|
static isInstance(obj: any): obj is TeamSettings;
|
|
73
|
+
/**
|
|
74
|
+
* Whether to notify the entire team when at least one member is also assigned to the pull request. Can be set independently of `reviewRequestDelegation`. Default value is `false`.
|
|
75
|
+
*/
|
|
76
|
+
readonly notify: pulumi.Output<boolean | undefined>;
|
|
62
77
|
/**
|
|
63
78
|
* The settings for delegating code reviews to individuals on behalf of the team. If this block is present, even without any fields, then review request delegation will be enabled for the team. See GitHub Review Request Delegation below for details. See [GitHub's documentation](https://docs.github.com/en/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team#configuring-team-notifications) for more configuration details.
|
|
64
79
|
*/
|
|
@@ -68,11 +83,11 @@ export declare class TeamSettings extends pulumi.CustomResource {
|
|
|
68
83
|
*/
|
|
69
84
|
readonly teamId: pulumi.Output<string>;
|
|
70
85
|
/**
|
|
71
|
-
* The slug of the Team
|
|
86
|
+
* The slug of the Team.
|
|
72
87
|
*/
|
|
73
88
|
readonly teamSlug: pulumi.Output<string>;
|
|
74
89
|
/**
|
|
75
|
-
* The unique ID of the Team on GitHub. Corresponds to the ID of the
|
|
90
|
+
* The unique node ID of the Team on GitHub. Corresponds to the ID of the `github.TeamSettings` resource.
|
|
76
91
|
*/
|
|
77
92
|
readonly teamUid: pulumi.Output<string>;
|
|
78
93
|
/**
|
|
@@ -88,6 +103,10 @@ export declare class TeamSettings extends pulumi.CustomResource {
|
|
|
88
103
|
* Input properties used for looking up and filtering TeamSettings resources.
|
|
89
104
|
*/
|
|
90
105
|
export interface TeamSettingsState {
|
|
106
|
+
/**
|
|
107
|
+
* Whether to notify the entire team when at least one member is also assigned to the pull request. Can be set independently of `reviewRequestDelegation`. Default value is `false`.
|
|
108
|
+
*/
|
|
109
|
+
notify?: pulumi.Input<boolean>;
|
|
91
110
|
/**
|
|
92
111
|
* The settings for delegating code reviews to individuals on behalf of the team. If this block is present, even without any fields, then review request delegation will be enabled for the team. See GitHub Review Request Delegation below for details. See [GitHub's documentation](https://docs.github.com/en/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team#configuring-team-notifications) for more configuration details.
|
|
93
112
|
*/
|
|
@@ -97,11 +116,11 @@ export interface TeamSettingsState {
|
|
|
97
116
|
*/
|
|
98
117
|
teamId?: pulumi.Input<string>;
|
|
99
118
|
/**
|
|
100
|
-
* The slug of the Team
|
|
119
|
+
* The slug of the Team.
|
|
101
120
|
*/
|
|
102
121
|
teamSlug?: pulumi.Input<string>;
|
|
103
122
|
/**
|
|
104
|
-
* The unique ID of the Team on GitHub. Corresponds to the ID of the
|
|
123
|
+
* The unique node ID of the Team on GitHub. Corresponds to the ID of the `github.TeamSettings` resource.
|
|
105
124
|
*/
|
|
106
125
|
teamUid?: pulumi.Input<string>;
|
|
107
126
|
}
|
|
@@ -109,6 +128,10 @@ export interface TeamSettingsState {
|
|
|
109
128
|
* The set of arguments for constructing a TeamSettings resource.
|
|
110
129
|
*/
|
|
111
130
|
export interface TeamSettingsArgs {
|
|
131
|
+
/**
|
|
132
|
+
* Whether to notify the entire team when at least one member is also assigned to the pull request. Can be set independently of `reviewRequestDelegation`. Default value is `false`.
|
|
133
|
+
*/
|
|
134
|
+
notify?: pulumi.Input<boolean>;
|
|
112
135
|
/**
|
|
113
136
|
* The settings for delegating code reviews to individuals on behalf of the team. If this block is present, even without any fields, then review request delegation will be enabled for the team. See GitHub Review Request Delegation below for details. See [GitHub's documentation](https://docs.github.com/en/organizations/organizing-members-into-teams/managing-code-review-settings-for-your-team#configuring-team-notifications) for more configuration details.
|
|
114
137
|
*/
|
package/teamSettings.js
CHANGED
|
@@ -16,21 +16,38 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* ## Example Usage
|
|
18
18
|
*
|
|
19
|
+
* ### Notify without delegation
|
|
20
|
+
*
|
|
19
21
|
* ```typescript
|
|
20
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
23
|
* import * as github from "@pulumi/github";
|
|
22
24
|
*
|
|
23
|
-
* // Add a repository to the team
|
|
24
25
|
* const someTeam = new github.Team("some_team", {
|
|
25
26
|
* name: "SomeTeam",
|
|
26
27
|
* description: "Some cool team",
|
|
27
28
|
* });
|
|
28
29
|
* const codeReviewSettings = new github.TeamSettings("code_review_settings", {
|
|
29
30
|
* teamId: someTeam.id,
|
|
31
|
+
* notify: true,
|
|
32
|
+
* });
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* ### Notify with delegation
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as github from "@pulumi/github";
|
|
40
|
+
*
|
|
41
|
+
* const someTeam = new github.Team("some_team", {
|
|
42
|
+
* name: "SomeTeam",
|
|
43
|
+
* description: "Some cool team",
|
|
44
|
+
* });
|
|
45
|
+
* const codeReviewSettings = new github.TeamSettings("code_review_settings", {
|
|
46
|
+
* teamId: someTeam.id,
|
|
47
|
+
* notify: true,
|
|
30
48
|
* reviewRequestDelegation: {
|
|
31
49
|
* algorithm: "ROUND_ROBIN",
|
|
32
50
|
* memberCount: 1,
|
|
33
|
-
* notify: true,
|
|
34
51
|
* },
|
|
35
52
|
* });
|
|
36
53
|
* ```
|
|
@@ -39,13 +56,7 @@ const utilities = require("./utilities");
|
|
|
39
56
|
*
|
|
40
57
|
* GitHub Teams can be imported using the GitHub team ID, or the team slug e.g.
|
|
41
58
|
*
|
|
42
|
-
* ```sh
|
|
43
|
-
* $ pulumi import github:index/teamSettings:TeamSettings code_review_settings 1234567
|
|
44
|
-
* ```
|
|
45
59
|
* or,
|
|
46
|
-
* ```sh
|
|
47
|
-
* $ pulumi import github:index/teamSettings:TeamSettings code_review_settings SomeTeam
|
|
48
|
-
* ```
|
|
49
60
|
*/
|
|
50
61
|
class TeamSettings extends pulumi.CustomResource {
|
|
51
62
|
/**
|
|
@@ -75,6 +86,7 @@ class TeamSettings extends pulumi.CustomResource {
|
|
|
75
86
|
opts = opts || {};
|
|
76
87
|
if (opts.id) {
|
|
77
88
|
const state = argsOrState;
|
|
89
|
+
resourceInputs["notify"] = state?.notify;
|
|
78
90
|
resourceInputs["reviewRequestDelegation"] = state?.reviewRequestDelegation;
|
|
79
91
|
resourceInputs["teamId"] = state?.teamId;
|
|
80
92
|
resourceInputs["teamSlug"] = state?.teamSlug;
|
|
@@ -85,6 +97,7 @@ class TeamSettings extends pulumi.CustomResource {
|
|
|
85
97
|
if (args?.teamId === undefined && !opts.urn) {
|
|
86
98
|
throw new Error("Missing required property 'teamId'");
|
|
87
99
|
}
|
|
100
|
+
resourceInputs["notify"] = args?.notify;
|
|
88
101
|
resourceInputs["reviewRequestDelegation"] = args?.reviewRequestDelegation;
|
|
89
102
|
resourceInputs["teamId"] = args?.teamId;
|
|
90
103
|
resourceInputs["teamSlug"] = undefined /*out*/;
|
package/teamSettings.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teamSettings.js","sourceRoot":"","sources":["../teamSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"teamSettings.js","sourceRoot":"","sources":["../teamSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,yBAAyB,CAAC,GAAG,KAAK,EAAE,uBAAuB,CAAC;YAC3E,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;SAC9C;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,EAAE,uBAAuB,CAAC;YAC1E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAhFL,oCAiFC;AAnEG,gBAAgB;AACO,yBAAY,GAAG,wCAAwC,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -294,17 +294,21 @@ export interface OrganizationRulesetConditions {
|
|
|
294
294
|
*/
|
|
295
295
|
refName?: pulumi.Input<inputs.OrganizationRulesetConditionsRefName>;
|
|
296
296
|
/**
|
|
297
|
-
* The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.
|
|
297
|
+
* The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.
|
|
298
298
|
*/
|
|
299
299
|
repositoryIds?: pulumi.Input<pulumi.Input<number>[]>;
|
|
300
300
|
/**
|
|
301
|
-
*
|
|
301
|
+
* Targets repositories that match the specified name patterns. (see below for nested schema)
|
|
302
|
+
*/
|
|
303
|
+
repositoryName?: pulumi.Input<inputs.OrganizationRulesetConditionsRepositoryName>;
|
|
304
|
+
/**
|
|
305
|
+
* Targets repositories by custom or system properties. (see below for nested schema)
|
|
302
306
|
*
|
|
303
|
-
*
|
|
307
|
+
* Exactly one of `repositoryId`, `repositoryName`, or `repositoryProperty` must be set for the rule to target repositories.
|
|
304
308
|
*
|
|
305
309
|
* > **Note:** For `push` targets, do not include `refName` in conditions. Push rulesets operate on file content, not on refs.
|
|
306
310
|
*/
|
|
307
|
-
|
|
311
|
+
repositoryProperty?: pulumi.Input<inputs.OrganizationRulesetConditionsRepositoryProperty>;
|
|
308
312
|
}
|
|
309
313
|
export interface OrganizationRulesetConditionsRefName {
|
|
310
314
|
/**
|
|
@@ -330,6 +334,44 @@ export interface OrganizationRulesetConditionsRepositoryName {
|
|
|
330
334
|
*/
|
|
331
335
|
protected?: pulumi.Input<boolean>;
|
|
332
336
|
}
|
|
337
|
+
export interface OrganizationRulesetConditionsRepositoryProperty {
|
|
338
|
+
/**
|
|
339
|
+
* The repository properties and values to exclude. The ruleset will not apply if any of these properties match.
|
|
340
|
+
*/
|
|
341
|
+
excludes?: pulumi.Input<pulumi.Input<inputs.OrganizationRulesetConditionsRepositoryPropertyExclude>[]>;
|
|
342
|
+
/**
|
|
343
|
+
* The repository properties and values to include. All of these properties must match for the condition to pass.
|
|
344
|
+
*/
|
|
345
|
+
includes?: pulumi.Input<pulumi.Input<inputs.OrganizationRulesetConditionsRepositoryPropertyInclude>[]>;
|
|
346
|
+
}
|
|
347
|
+
export interface OrganizationRulesetConditionsRepositoryPropertyExclude {
|
|
348
|
+
/**
|
|
349
|
+
* (String) The name of the ruleset.
|
|
350
|
+
*/
|
|
351
|
+
name: pulumi.Input<string>;
|
|
352
|
+
/**
|
|
353
|
+
* The values to match for the repository property.
|
|
354
|
+
*/
|
|
355
|
+
propertyValues: pulumi.Input<pulumi.Input<string>[]>;
|
|
356
|
+
/**
|
|
357
|
+
* The source of the repository property. Defaults to 'custom' if not specified. Can be one of: custom, system
|
|
358
|
+
*/
|
|
359
|
+
source?: pulumi.Input<string>;
|
|
360
|
+
}
|
|
361
|
+
export interface OrganizationRulesetConditionsRepositoryPropertyInclude {
|
|
362
|
+
/**
|
|
363
|
+
* (String) The name of the ruleset.
|
|
364
|
+
*/
|
|
365
|
+
name: pulumi.Input<string>;
|
|
366
|
+
/**
|
|
367
|
+
* The values to match for the repository property.
|
|
368
|
+
*/
|
|
369
|
+
propertyValues: pulumi.Input<pulumi.Input<string>[]>;
|
|
370
|
+
/**
|
|
371
|
+
* The source of the repository property. Defaults to 'custom' if not specified. Can be one of: custom, system
|
|
372
|
+
*/
|
|
373
|
+
source?: pulumi.Input<string>;
|
|
374
|
+
}
|
|
333
375
|
export interface OrganizationRulesetRules {
|
|
334
376
|
/**
|
|
335
377
|
* (Block List, Max: 1) Parameters to be used for the branchNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `tagNamePattern` as it only applies to rulesets with target `branch`. (see below for nested schema)
|
|
@@ -769,11 +811,11 @@ export interface RepositoryPages {
|
|
|
769
811
|
}
|
|
770
812
|
export interface RepositoryPagesSource {
|
|
771
813
|
/**
|
|
772
|
-
* The repository branch used to publish the site's source files
|
|
814
|
+
* The repository branch used to publish the site's source files (e.g., `main` or `gh-pages`).
|
|
773
815
|
*/
|
|
774
816
|
branch: pulumi.Input<string>;
|
|
775
817
|
/**
|
|
776
|
-
* The repository directory from which the site publishes
|
|
818
|
+
* The repository directory from which the site publishes. Defaults to `/`. Can be `/` or `/docs`.
|
|
777
819
|
*/
|
|
778
820
|
path?: pulumi.Input<string>;
|
|
779
821
|
}
|
|
@@ -1271,7 +1313,7 @@ export interface TeamMembersMember {
|
|
|
1271
1313
|
}
|
|
1272
1314
|
export interface TeamSettingsReviewRequestDelegation {
|
|
1273
1315
|
/**
|
|
1274
|
-
* The algorithm to use when assigning pull requests to team members. Supported values are
|
|
1316
|
+
* The algorithm to use when assigning pull requests to team members. Supported values are ROUND_ROBIN and LOAD_BALANCE.
|
|
1275
1317
|
*/
|
|
1276
1318
|
algorithm?: pulumi.Input<string>;
|
|
1277
1319
|
/**
|
|
@@ -1279,7 +1321,9 @@ export interface TeamSettingsReviewRequestDelegation {
|
|
|
1279
1321
|
*/
|
|
1280
1322
|
memberCount?: pulumi.Input<number>;
|
|
1281
1323
|
/**
|
|
1282
|
-
*
|
|
1324
|
+
* Whether to notify the entire team when at least one member is also assigned to the pull request. Can be set independently of `reviewRequestDelegation`. Default value is `false`.
|
|
1325
|
+
*
|
|
1326
|
+
* @deprecated Use the top-level notify attribute instead.
|
|
1283
1327
|
*/
|
|
1284
1328
|
notify?: pulumi.Input<boolean>;
|
|
1285
1329
|
}
|
package/types/output.d.ts
CHANGED
|
@@ -540,6 +540,62 @@ export interface GetIssueLabelsLabel {
|
|
|
540
540
|
*/
|
|
541
541
|
url: string;
|
|
542
542
|
}
|
|
543
|
+
export interface GetOrganizationAppInstallationsInstallation {
|
|
544
|
+
/**
|
|
545
|
+
* The ID of the GitHub App.
|
|
546
|
+
*/
|
|
547
|
+
appId: number;
|
|
548
|
+
/**
|
|
549
|
+
* The URL-friendly name of the GitHub App.
|
|
550
|
+
*/
|
|
551
|
+
appSlug: string;
|
|
552
|
+
/**
|
|
553
|
+
* The OAuth client ID of the GitHub App.
|
|
554
|
+
*/
|
|
555
|
+
clientId: string;
|
|
556
|
+
/**
|
|
557
|
+
* The date the GitHub App installation was created.
|
|
558
|
+
*/
|
|
559
|
+
createdAt: string;
|
|
560
|
+
/**
|
|
561
|
+
* The list of events the GitHub App installation subscribes to.
|
|
562
|
+
*/
|
|
563
|
+
events: string[];
|
|
564
|
+
/**
|
|
565
|
+
* The ID of the GitHub App installation.
|
|
566
|
+
*/
|
|
567
|
+
id: number;
|
|
568
|
+
/**
|
|
569
|
+
* A map of the permissions granted to the GitHub App installation.
|
|
570
|
+
*/
|
|
571
|
+
permissions: {
|
|
572
|
+
[key: string]: string;
|
|
573
|
+
};
|
|
574
|
+
/**
|
|
575
|
+
* Whether the installation has access to all repositories or only selected ones. Possible values are `all` or `selected`.
|
|
576
|
+
*/
|
|
577
|
+
repositorySelection: string;
|
|
578
|
+
/**
|
|
579
|
+
* The list of single file paths the GitHub App installation has access to.
|
|
580
|
+
*/
|
|
581
|
+
singleFilePaths: string[];
|
|
582
|
+
/**
|
|
583
|
+
* Whether the GitHub App installation is currently suspended.
|
|
584
|
+
*/
|
|
585
|
+
suspended: boolean;
|
|
586
|
+
/**
|
|
587
|
+
* The ID of the account the GitHub App is installed on.
|
|
588
|
+
*/
|
|
589
|
+
targetId: number;
|
|
590
|
+
/**
|
|
591
|
+
* The type of account the GitHub App is installed on. Possible values are `Organization` or `User`.
|
|
592
|
+
*/
|
|
593
|
+
targetType: string;
|
|
594
|
+
/**
|
|
595
|
+
* The date the GitHub App installation was last updated.
|
|
596
|
+
*/
|
|
597
|
+
updatedAt: string;
|
|
598
|
+
}
|
|
543
599
|
export interface GetOrganizationExternalIdentitiesIdentity {
|
|
544
600
|
/**
|
|
545
601
|
* The username of the GitHub user
|
|
@@ -912,6 +968,16 @@ export interface GetRepositoryPageSource {
|
|
|
912
968
|
*/
|
|
913
969
|
path: string;
|
|
914
970
|
}
|
|
971
|
+
export interface GetRepositoryPagesSource {
|
|
972
|
+
/**
|
|
973
|
+
* The repository branch used to publish the site's source files.
|
|
974
|
+
*/
|
|
975
|
+
branch: string;
|
|
976
|
+
/**
|
|
977
|
+
* The repository directory from which the site publishes.
|
|
978
|
+
*/
|
|
979
|
+
path: string;
|
|
980
|
+
}
|
|
915
981
|
export interface GetRepositoryPullRequestsResult {
|
|
916
982
|
/**
|
|
917
983
|
* If set, filters Pull Requests by base branch name.
|
|
@@ -1173,17 +1239,21 @@ export interface OrganizationRulesetConditions {
|
|
|
1173
1239
|
*/
|
|
1174
1240
|
refName?: outputs.OrganizationRulesetConditionsRefName;
|
|
1175
1241
|
/**
|
|
1176
|
-
* The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.
|
|
1242
|
+
* The repository IDs that the ruleset applies to. One of these IDs must match for the condition to pass.
|
|
1177
1243
|
*/
|
|
1178
1244
|
repositoryIds?: number[];
|
|
1179
1245
|
/**
|
|
1180
|
-
*
|
|
1246
|
+
* Targets repositories that match the specified name patterns. (see below for nested schema)
|
|
1247
|
+
*/
|
|
1248
|
+
repositoryName?: outputs.OrganizationRulesetConditionsRepositoryName;
|
|
1249
|
+
/**
|
|
1250
|
+
* Targets repositories by custom or system properties. (see below for nested schema)
|
|
1181
1251
|
*
|
|
1182
|
-
*
|
|
1252
|
+
* Exactly one of `repositoryId`, `repositoryName`, or `repositoryProperty` must be set for the rule to target repositories.
|
|
1183
1253
|
*
|
|
1184
1254
|
* > **Note:** For `push` targets, do not include `refName` in conditions. Push rulesets operate on file content, not on refs.
|
|
1185
1255
|
*/
|
|
1186
|
-
|
|
1256
|
+
repositoryProperty?: outputs.OrganizationRulesetConditionsRepositoryProperty;
|
|
1187
1257
|
}
|
|
1188
1258
|
export interface OrganizationRulesetConditionsRefName {
|
|
1189
1259
|
/**
|
|
@@ -1209,6 +1279,44 @@ export interface OrganizationRulesetConditionsRepositoryName {
|
|
|
1209
1279
|
*/
|
|
1210
1280
|
protected?: boolean;
|
|
1211
1281
|
}
|
|
1282
|
+
export interface OrganizationRulesetConditionsRepositoryProperty {
|
|
1283
|
+
/**
|
|
1284
|
+
* The repository properties and values to exclude. The ruleset will not apply if any of these properties match.
|
|
1285
|
+
*/
|
|
1286
|
+
excludes?: outputs.OrganizationRulesetConditionsRepositoryPropertyExclude[];
|
|
1287
|
+
/**
|
|
1288
|
+
* The repository properties and values to include. All of these properties must match for the condition to pass.
|
|
1289
|
+
*/
|
|
1290
|
+
includes?: outputs.OrganizationRulesetConditionsRepositoryPropertyInclude[];
|
|
1291
|
+
}
|
|
1292
|
+
export interface OrganizationRulesetConditionsRepositoryPropertyExclude {
|
|
1293
|
+
/**
|
|
1294
|
+
* (String) The name of the ruleset.
|
|
1295
|
+
*/
|
|
1296
|
+
name: string;
|
|
1297
|
+
/**
|
|
1298
|
+
* The values to match for the repository property.
|
|
1299
|
+
*/
|
|
1300
|
+
propertyValues: string[];
|
|
1301
|
+
/**
|
|
1302
|
+
* The source of the repository property. Defaults to 'custom' if not specified. Can be one of: custom, system
|
|
1303
|
+
*/
|
|
1304
|
+
source?: string;
|
|
1305
|
+
}
|
|
1306
|
+
export interface OrganizationRulesetConditionsRepositoryPropertyInclude {
|
|
1307
|
+
/**
|
|
1308
|
+
* (String) The name of the ruleset.
|
|
1309
|
+
*/
|
|
1310
|
+
name: string;
|
|
1311
|
+
/**
|
|
1312
|
+
* The values to match for the repository property.
|
|
1313
|
+
*/
|
|
1314
|
+
propertyValues: string[];
|
|
1315
|
+
/**
|
|
1316
|
+
* The source of the repository property. Defaults to 'custom' if not specified. Can be one of: custom, system
|
|
1317
|
+
*/
|
|
1318
|
+
source?: string;
|
|
1319
|
+
}
|
|
1212
1320
|
export interface OrganizationRulesetRules {
|
|
1213
1321
|
/**
|
|
1214
1322
|
* (Block List, Max: 1) Parameters to be used for the branchNamePattern rule. This rule only applies to repositories within an enterprise, it cannot be applied to repositories owned by individuals or regular organizations. Conflicts with `tagNamePattern` as it only applies to rulesets with target `branch`. (see below for nested schema)
|
|
@@ -1634,11 +1742,11 @@ export interface RepositoryPages {
|
|
|
1634
1742
|
}
|
|
1635
1743
|
export interface RepositoryPagesSource {
|
|
1636
1744
|
/**
|
|
1637
|
-
* The repository branch used to publish the site's source files
|
|
1745
|
+
* The repository branch used to publish the site's source files (e.g., `main` or `gh-pages`).
|
|
1638
1746
|
*/
|
|
1639
1747
|
branch: string;
|
|
1640
1748
|
/**
|
|
1641
|
-
* The repository directory from which the site publishes
|
|
1749
|
+
* The repository directory from which the site publishes. Defaults to `/`. Can be `/` or `/docs`.
|
|
1642
1750
|
*/
|
|
1643
1751
|
path?: string;
|
|
1644
1752
|
}
|
|
@@ -2136,7 +2244,7 @@ export interface TeamMembersMember {
|
|
|
2136
2244
|
}
|
|
2137
2245
|
export interface TeamSettingsReviewRequestDelegation {
|
|
2138
2246
|
/**
|
|
2139
|
-
* The algorithm to use when assigning pull requests to team members. Supported values are
|
|
2247
|
+
* The algorithm to use when assigning pull requests to team members. Supported values are ROUND_ROBIN and LOAD_BALANCE.
|
|
2140
2248
|
*/
|
|
2141
2249
|
algorithm?: string;
|
|
2142
2250
|
/**
|
|
@@ -2144,7 +2252,9 @@ export interface TeamSettingsReviewRequestDelegation {
|
|
|
2144
2252
|
*/
|
|
2145
2253
|
memberCount?: number;
|
|
2146
2254
|
/**
|
|
2147
|
-
*
|
|
2255
|
+
* Whether to notify the entire team when at least one member is also assigned to the pull request. Can be set independently of `reviewRequestDelegation`. Default value is `false`.
|
|
2256
|
+
*
|
|
2257
|
+
* @deprecated Use the top-level notify attribute instead.
|
|
2148
2258
|
*/
|
|
2149
2259
|
notify?: boolean;
|
|
2150
2260
|
}
|