@pulumi/github 6.11.0-alpha.1768542226 → 6.11.0-alpha.1768966924

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.
@@ -37,10 +37,10 @@ import * as pulumi from "@pulumi/pulumi";
37
37
  *
38
38
  * ## Import
39
39
  *
40
- * This resource can be imported using an ID made up of the repository name, environment name, and variable name:
40
+ * This resource can be imported using an ID made of the repository name, environment name (any `:` in the name need to be escaped as `??`), and variable name all separated by a `:`.
41
41
  *
42
42
  * ```sh
43
- * $ pulumi import github:index/actionsEnvironmentVariable:ActionsEnvironmentVariable test_variable myrepo:myenv:myvariable
43
+ * $ pulumi import github:index/actionsEnvironmentVariable:ActionsEnvironmentVariable example myrepo:myenv:myvariable
44
44
  * ```
45
45
  */
46
46
  export declare class ActionsEnvironmentVariable extends pulumi.CustomResource {
@@ -43,10 +43,10 @@ const utilities = require("./utilities");
43
43
  *
44
44
  * ## Import
45
45
  *
46
- * This resource can be imported using an ID made up of the repository name, environment name, and variable name:
46
+ * This resource can be imported using an ID made of the repository name, environment name (any `:` in the name need to be escaped as `??`), and variable name all separated by a `:`.
47
47
  *
48
48
  * ```sh
49
- * $ pulumi import github:index/actionsEnvironmentVariable:ActionsEnvironmentVariable test_variable myrepo:myenv:myvariable
49
+ * $ pulumi import github:index/actionsEnvironmentVariable:ActionsEnvironmentVariable example myrepo:myenv:myvariable
50
50
  * ```
51
51
  */
52
52
  class ActionsEnvironmentVariable extends pulumi.CustomResource {
@@ -0,0 +1,114 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * This resource allows you to manage GitHub Actions workflow permissions for a GitHub Organization account. This controls the default permissions granted to the GITHUB_TOKEN when running workflows and whether GitHub Actions can approve pull request reviews.
4
+ *
5
+ * You must have organization admin access 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
+ * // Basic workflow permissions configuration
14
+ * const example = new github.ActionsOrganizationWorkflowPermissions("example", {
15
+ * organizationSlug: "my-organization",
16
+ * defaultWorkflowPermissions: "read",
17
+ * canApprovePullRequestReviews: false,
18
+ * });
19
+ * // Allow write permissions and PR approvals
20
+ * const permissive = new github.ActionsOrganizationWorkflowPermissions("permissive", {
21
+ * organizationSlug: "my-organization",
22
+ * defaultWorkflowPermissions: "write",
23
+ * canApprovePullRequestReviews: true,
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Notes
28
+ *
29
+ * > **Note:** This resource requires a GitHub Organization account and organization admin permissions.
30
+ *
31
+ * When this resource is destroyed, the workflow permissions will be reset to safe defaults:
32
+ *
33
+ * * `defaultWorkflowPermissions` = `read`
34
+ * * `canApprovePullRequestReviews` = `false`
35
+ *
36
+ * ## Import
37
+ *
38
+ * Organization Actions workflow permissions can be imported using the organization slug:
39
+ *
40
+ * ```sh
41
+ * $ pulumi import github:index/actionsOrganizationWorkflowPermissions:ActionsOrganizationWorkflowPermissions example my-organization
42
+ * ```
43
+ */
44
+ export declare class ActionsOrganizationWorkflowPermissions extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing ActionsOrganizationWorkflowPermissions resource's state with the given name, ID, and optional extra
47
+ * properties used to qualify the lookup.
48
+ *
49
+ * @param name The _unique_ name of the resulting resource.
50
+ * @param id The _unique_ provider ID of the resource to lookup.
51
+ * @param state Any extra arguments used during the lookup.
52
+ * @param opts Optional settings to control the behavior of the CustomResource.
53
+ */
54
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ActionsOrganizationWorkflowPermissionsState, opts?: pulumi.CustomResourceOptions): ActionsOrganizationWorkflowPermissions;
55
+ /**
56
+ * Returns true if the given object is an instance of ActionsOrganizationWorkflowPermissions. This is designed to work even
57
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
58
+ */
59
+ static isInstance(obj: any): obj is ActionsOrganizationWorkflowPermissions;
60
+ /**
61
+ * Whether GitHub Actions can approve pull request reviews. Defaults to `false`.
62
+ */
63
+ readonly canApprovePullRequestReviews: pulumi.Output<boolean | undefined>;
64
+ /**
65
+ * The default workflow permissions granted to the GITHUB_TOKEN when running workflows. Can be `read` or `write`. Defaults to `read`.
66
+ */
67
+ readonly defaultWorkflowPermissions: pulumi.Output<string | undefined>;
68
+ /**
69
+ * The slug of the organization.
70
+ */
71
+ readonly organizationSlug: pulumi.Output<string>;
72
+ /**
73
+ * Create a ActionsOrganizationWorkflowPermissions resource with the given unique name, arguments, and options.
74
+ *
75
+ * @param name The _unique_ name of the resource.
76
+ * @param args The arguments to use to populate this resource's properties.
77
+ * @param opts A bag of options that control this resource's behavior.
78
+ */
79
+ constructor(name: string, args: ActionsOrganizationWorkflowPermissionsArgs, opts?: pulumi.CustomResourceOptions);
80
+ }
81
+ /**
82
+ * Input properties used for looking up and filtering ActionsOrganizationWorkflowPermissions resources.
83
+ */
84
+ export interface ActionsOrganizationWorkflowPermissionsState {
85
+ /**
86
+ * Whether GitHub Actions can approve pull request reviews. Defaults to `false`.
87
+ */
88
+ canApprovePullRequestReviews?: pulumi.Input<boolean>;
89
+ /**
90
+ * The default workflow permissions granted to the GITHUB_TOKEN when running workflows. Can be `read` or `write`. Defaults to `read`.
91
+ */
92
+ defaultWorkflowPermissions?: pulumi.Input<string>;
93
+ /**
94
+ * The slug of the organization.
95
+ */
96
+ organizationSlug?: pulumi.Input<string>;
97
+ }
98
+ /**
99
+ * The set of arguments for constructing a ActionsOrganizationWorkflowPermissions resource.
100
+ */
101
+ export interface ActionsOrganizationWorkflowPermissionsArgs {
102
+ /**
103
+ * Whether GitHub Actions can approve pull request reviews. Defaults to `false`.
104
+ */
105
+ canApprovePullRequestReviews?: pulumi.Input<boolean>;
106
+ /**
107
+ * The default workflow permissions granted to the GITHUB_TOKEN when running workflows. Can be `read` or `write`. Defaults to `read`.
108
+ */
109
+ defaultWorkflowPermissions?: pulumi.Input<string>;
110
+ /**
111
+ * The slug of the organization.
112
+ */
113
+ organizationSlug: pulumi.Input<string>;
114
+ }
@@ -0,0 +1,98 @@
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.ActionsOrganizationWorkflowPermissions = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This resource allows you to manage GitHub Actions workflow permissions for a GitHub Organization account. This controls the default permissions granted to the GITHUB_TOKEN when running workflows and whether GitHub Actions can approve pull request reviews.
10
+ *
11
+ * You must have organization admin access to use this resource.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as github from "@pulumi/github";
18
+ *
19
+ * // Basic workflow permissions configuration
20
+ * const example = new github.ActionsOrganizationWorkflowPermissions("example", {
21
+ * organizationSlug: "my-organization",
22
+ * defaultWorkflowPermissions: "read",
23
+ * canApprovePullRequestReviews: false,
24
+ * });
25
+ * // Allow write permissions and PR approvals
26
+ * const permissive = new github.ActionsOrganizationWorkflowPermissions("permissive", {
27
+ * organizationSlug: "my-organization",
28
+ * defaultWorkflowPermissions: "write",
29
+ * canApprovePullRequestReviews: true,
30
+ * });
31
+ * ```
32
+ *
33
+ * ## Notes
34
+ *
35
+ * > **Note:** This resource requires a GitHub Organization account and organization admin permissions.
36
+ *
37
+ * When this resource is destroyed, the workflow permissions will be reset to safe defaults:
38
+ *
39
+ * * `defaultWorkflowPermissions` = `read`
40
+ * * `canApprovePullRequestReviews` = `false`
41
+ *
42
+ * ## Import
43
+ *
44
+ * Organization Actions workflow permissions can be imported using the organization slug:
45
+ *
46
+ * ```sh
47
+ * $ pulumi import github:index/actionsOrganizationWorkflowPermissions:ActionsOrganizationWorkflowPermissions example my-organization
48
+ * ```
49
+ */
50
+ class ActionsOrganizationWorkflowPermissions extends pulumi.CustomResource {
51
+ /**
52
+ * Get an existing ActionsOrganizationWorkflowPermissions resource's state with the given name, ID, and optional extra
53
+ * properties used to qualify the lookup.
54
+ *
55
+ * @param name The _unique_ name of the resulting resource.
56
+ * @param id The _unique_ provider ID of the resource to lookup.
57
+ * @param state Any extra arguments used during the lookup.
58
+ * @param opts Optional settings to control the behavior of the CustomResource.
59
+ */
60
+ static get(name, id, state, opts) {
61
+ return new ActionsOrganizationWorkflowPermissions(name, state, { ...opts, id: id });
62
+ }
63
+ /**
64
+ * Returns true if the given object is an instance of ActionsOrganizationWorkflowPermissions. This is designed to work even
65
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
66
+ */
67
+ static isInstance(obj) {
68
+ if (obj === undefined || obj === null) {
69
+ return false;
70
+ }
71
+ return obj['__pulumiType'] === ActionsOrganizationWorkflowPermissions.__pulumiType;
72
+ }
73
+ constructor(name, argsOrState, opts) {
74
+ let resourceInputs = {};
75
+ opts = opts || {};
76
+ if (opts.id) {
77
+ const state = argsOrState;
78
+ resourceInputs["canApprovePullRequestReviews"] = state?.canApprovePullRequestReviews;
79
+ resourceInputs["defaultWorkflowPermissions"] = state?.defaultWorkflowPermissions;
80
+ resourceInputs["organizationSlug"] = state?.organizationSlug;
81
+ }
82
+ else {
83
+ const args = argsOrState;
84
+ if (args?.organizationSlug === undefined && !opts.urn) {
85
+ throw new Error("Missing required property 'organizationSlug'");
86
+ }
87
+ resourceInputs["canApprovePullRequestReviews"] = args?.canApprovePullRequestReviews;
88
+ resourceInputs["defaultWorkflowPermissions"] = args?.defaultWorkflowPermissions;
89
+ resourceInputs["organizationSlug"] = args?.organizationSlug;
90
+ }
91
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
92
+ super(ActionsOrganizationWorkflowPermissions.__pulumiType, name, resourceInputs, opts);
93
+ }
94
+ }
95
+ exports.ActionsOrganizationWorkflowPermissions = ActionsOrganizationWorkflowPermissions;
96
+ /** @internal */
97
+ ActionsOrganizationWorkflowPermissions.__pulumiType = 'github:index/actionsOrganizationWorkflowPermissions:ActionsOrganizationWorkflowPermissions';
98
+ //# sourceMappingURL=actionsOrganizationWorkflowPermissions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionsOrganizationWorkflowPermissions.js","sourceRoot":"","sources":["../actionsOrganizationWorkflowPermissions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,sCAAuC,SAAQ,MAAM,CAAC,cAAc;IAC7E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmD,EAAE,IAAmC;QACjJ,OAAO,IAAI,sCAAsC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7F,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,sCAAsC,CAAC,YAAY,CAAC;IACvF,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAsG,EAAE,IAAmC;QACjK,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsE,CAAC;YACrF,cAAc,CAAC,8BAA8B,CAAC,GAAG,KAAK,EAAE,4BAA4B,CAAC;YACrF,cAAc,CAAC,4BAA4B,CAAC,GAAG,KAAK,EAAE,0BAA0B,CAAC;YACjF,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;SAChE;aAAM;YACH,MAAM,IAAI,GAAG,WAAqE,CAAC;YACnF,IAAI,IAAI,EAAE,gBAAgB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,cAAc,CAAC,8BAA8B,CAAC,GAAG,IAAI,EAAE,4BAA4B,CAAC;YACpF,cAAc,CAAC,4BAA4B,CAAC,GAAG,IAAI,EAAE,0BAA0B,CAAC;YAChF,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sCAAsC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3F,CAAC;;AApEL,wFAqEC;AAvDG,gBAAgB;AACO,mDAAY,GAAG,4FAA4F,CAAC"}
@@ -1,7 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * This resource manages mappings between external groups for enterprise managed users and GitHub teams. It wraps the API detailed [here](https://docs.github.com/en/rest/reference/teams#external-groups). Note that this is a distinct resource from `github.TeamSyncGroupMapping`. `github.EmuGroupMapping` is special to the Enterprise Managed User (EMU) external group feature, whereas `github.TeamSyncGroupMapping` is specific to Identity Provider Groups.
4
- *
5
3
  * ## Example Usage
6
4
  *
7
5
  * ```typescript
@@ -16,10 +14,10 @@ import * as pulumi from "@pulumi/pulumi";
16
14
  *
17
15
  * ## Import
18
16
  *
19
- * GitHub EMU External Group Mappings can be imported using the external `group_id`, e.g.
17
+ * GitHub EMU External Group Mappings can be imported using the external `group_id` and `team_slug` separated by a colon, e.g.
20
18
  *
21
19
  * ```sh
22
- * $ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping 28836
20
+ * $ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping 28836:emu-test-team
23
21
  * ```
24
22
  */
25
23
  export declare class EmuGroupMapping extends pulumi.CustomResource {
@@ -6,8 +6,6 @@ exports.EmuGroupMapping = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * This resource manages mappings between external groups for enterprise managed users and GitHub teams. It wraps the API detailed [here](https://docs.github.com/en/rest/reference/teams#external-groups). Note that this is a distinct resource from `github.TeamSyncGroupMapping`. `github.EmuGroupMapping` is special to the Enterprise Managed User (EMU) external group feature, whereas `github.TeamSyncGroupMapping` is specific to Identity Provider Groups.
10
- *
11
9
  * ## Example Usage
12
10
  *
13
11
  * ```typescript
@@ -22,10 +20,10 @@ const utilities = require("./utilities");
22
20
  *
23
21
  * ## Import
24
22
  *
25
- * GitHub EMU External Group Mappings can be imported using the external `group_id`, e.g.
23
+ * GitHub EMU External Group Mappings can be imported using the external `group_id` and `team_slug` separated by a colon, e.g.
26
24
  *
27
25
  * ```sh
28
- * $ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping 28836
26
+ * $ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping 28836:emu-test-team
29
27
  * ```
30
28
  */
31
29
  class EmuGroupMapping extends pulumi.CustomResource {
@@ -1 +1 @@
1
- {"version":3,"file":"emuGroupMapping.js","sourceRoot":"","sources":["../emuGroupMapping.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC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,WAA8C,CAAC;YAC5D,IAAI,IAAI,EAAE,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AApEL,0CAqEC;AAvDG,gBAAgB;AACO,4BAAY,GAAG,8CAA8C,CAAC"}
package/getIpRanges.d.ts CHANGED
@@ -42,14 +42,20 @@ export interface GetIpRangesResult {
42
42
  readonly apis: string[];
43
43
  /**
44
44
  * A subset of the `dependabot` array that contains IP addresses in IPv4 CIDR format.
45
+ *
46
+ * @deprecated This attribute is no longer returned form the API, Dependabot now uses the GitHub Actions IP addresses.
45
47
  */
46
48
  readonly dependabotIpv4s: string[];
47
49
  /**
48
50
  * A subset of the `dependabot` array that contains IP addresses in IPv6 CIDR format.
51
+ *
52
+ * @deprecated This attribute is no longer returned form the API, Dependabot now uses the GitHub Actions IP addresses.
49
53
  */
50
54
  readonly dependabotIpv6s: string[];
51
55
  /**
52
56
  * An array of IP addresses in CIDR format specifying the A records for dependabot.
57
+ *
58
+ * @deprecated This attribute is no longer returned form the API, Dependabot now uses the GitHub Actions IP addresses.
53
59
  */
54
60
  readonly dependabots: string[];
55
61
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getIpRanges.js","sourceRoot":"","sources":["../getIpRanges.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kCAIC;AAuHD;;;;;;;;;;;GAWG;AACH,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE,EAC1E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
1
+ {"version":3,"file":"getIpRanges.js","sourceRoot":"","sources":["../getIpRanges.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kCAIC;AA6HD;;;;;;;;;;;GAWG;AACH,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sCAAsC,EAAE,EAC1E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
@@ -44,6 +44,10 @@ export interface GetRepositoryResult {
44
44
  * Whether the repository allows auto-merging pull requests.
45
45
  */
46
46
  readonly allowAutoMerge: boolean;
47
+ /**
48
+ * Whether the repository allows private forking; this is only relevant if the repository is owned by an organization and is private or internal.
49
+ */
50
+ readonly allowForking: boolean;
47
51
  /**
48
52
  * Whether the repository allows merge commits.
49
53
  */
@@ -84,7 +88,9 @@ export interface GetRepositoryResult {
84
88
  */
85
89
  readonly hasDiscussions: boolean;
86
90
  /**
87
- * Whether the repository has Downloads feature enabled.
91
+ * (**DEPRECATED**) Whether the repository has Downloads feature enabled. This attribute is no longer in use, but it hasn't been removed yet. It will be removed in a future version. See [this discussion](https://github.com/orgs/community/discussions/102145#discussioncomment-8351756).
92
+ *
93
+ * @deprecated This attribute is no longer in use, but it hasn't been removed yet. It will be removed in a future version. See https://github.com/orgs/community/discussions/102145#discussioncomment-8351756
88
94
  */
89
95
  readonly hasDownloads: boolean;
90
96
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getRepository.js","sourceRoot":"","sources":["../getRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C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AE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sCASC;AAkLD;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAAiC;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE;QAC3E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kDASC"}
package/getTeam.d.ts CHANGED
@@ -20,11 +20,13 @@ export declare function getTeam(args: GetTeamArgs, opts?: pulumi.InvokeOptions):
20
20
  */
21
21
  export interface GetTeamArgs {
22
22
  /**
23
- * Type of membership to be requested to fill the list of members. Can be either "all" or "immediate". Default: "all"
23
+ * Type of membership to be requested to fill the list of members. Can be either `all` _(default)_ or `immediate`.
24
24
  */
25
25
  membershipType?: string;
26
26
  /**
27
- * Set the number of results per graphql query. Reducing this number can alleviate timeout errors. Accepts a value between 0 - 100. Defaults to `100`.
27
+ * (Optional) Set the number of results per REST API query. Accepts a value between 0 - 100 _(defaults to `100`)_.
28
+ *
29
+ * @deprecated This is deprecated and will be removed in a future release.
28
30
  */
29
31
  resultsPerPage?: number;
30
32
  /**
@@ -41,7 +43,7 @@ export interface GetTeamArgs {
41
43
  */
42
44
  export interface GetTeamResult {
43
45
  /**
44
- * the team's description.
46
+ * Team's description.
45
47
  */
46
48
  readonly description: string;
47
49
  /**
@@ -49,36 +51,45 @@ export interface GetTeamResult {
49
51
  */
50
52
  readonly id: string;
51
53
  /**
52
- * List of team members (list of GitHub usernames). Not returned if `summaryOnly = true`
54
+ * List of team members (list of GitHub usernames). Not returned if `summaryOnly = true`.
53
55
  */
54
56
  readonly members: string[];
55
57
  readonly membershipType?: string;
56
58
  /**
57
- * the team's full name.
59
+ * Team's full name.
58
60
  */
59
61
  readonly name: string;
60
62
  /**
61
- * the Node ID of the team.
63
+ * Node ID of the team.
62
64
  */
63
65
  readonly nodeId: string;
64
66
  /**
65
- * the team's permission level.
67
+ * Teams's notification setting. Can be either `notificationsEnabled` or `notificationsDisabled`.
68
+ */
69
+ readonly notificationSetting: string;
70
+ /**
71
+ * (**DEPRECATED**) The permission that new repositories will be added to the team with when none is specified.
72
+ *
73
+ * @deprecated Closing down notice.
66
74
  */
67
75
  readonly permission: string;
68
76
  /**
69
- * the team's privacy type.
77
+ * Team's privacy type. Can either be `closed` or `secret`.
70
78
  */
71
79
  readonly privacy: string;
72
80
  /**
73
- * (**DEPRECATED**) List of team repositories (list of repo names). Not returned if `summaryOnly = true`
81
+ * (**DEPRECATED**) List of team repositories (list of repo names). Not returned if `summaryOnly = true`.
74
82
  *
75
83
  * @deprecated Use repositoriesDetailed instead.
76
84
  */
77
85
  readonly repositories: string[];
78
86
  /**
79
- * List of team repositories (each item comprises of `repoId`, `repoName` & `roleName`). Not returned if `summaryOnly = true`
87
+ * List of team repositories (each item comprises of `repoId`, `repoName` & `roleName`). Not returned if `summaryOnly = true`.
80
88
  */
81
89
  readonly repositoriesDetaileds: outputs.GetTeamRepositoriesDetailed[];
90
+ /**
91
+ * @deprecated This is deprecated and will be removed in a future release.
92
+ */
82
93
  readonly resultsPerPage?: number;
83
94
  readonly slug: string;
84
95
  readonly summaryOnly?: boolean;
@@ -103,11 +114,13 @@ export declare function getTeamOutput(args: GetTeamOutputArgs, opts?: pulumi.Inv
103
114
  */
104
115
  export interface GetTeamOutputArgs {
105
116
  /**
106
- * Type of membership to be requested to fill the list of members. Can be either "all" or "immediate". Default: "all"
117
+ * Type of membership to be requested to fill the list of members. Can be either `all` _(default)_ or `immediate`.
107
118
  */
108
119
  membershipType?: pulumi.Input<string>;
109
120
  /**
110
- * Set the number of results per graphql query. Reducing this number can alleviate timeout errors. Accepts a value between 0 - 100. Defaults to `100`.
121
+ * (Optional) Set the number of results per REST API query. Accepts a value between 0 - 100 _(defaults to `100`)_.
122
+ *
123
+ * @deprecated This is deprecated and will be removed in a future release.
111
124
  */
112
125
  resultsPerPage?: pulumi.Input<number>;
113
126
  /**
package/getTeam.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getTeam.js","sourceRoot":"","sources":["../getTeam.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;AAuED;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAAiC;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8BAA8B,EAAE;QAC/D,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC"}
1
+ {"version":3,"file":"getTeam.js","sourceRoot":"","sources":["../getTeam.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;AAkFD;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAAiC;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8BAA8B,EAAE;QAC/D,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sCAQC"}
package/index.d.ts CHANGED
@@ -25,6 +25,9 @@ export declare const ActionsOrganizationSecretRepository: typeof import("./actio
25
25
  export { ActionsOrganizationVariableArgs, ActionsOrganizationVariableState } from "./actionsOrganizationVariable";
26
26
  export type ActionsOrganizationVariable = import("./actionsOrganizationVariable").ActionsOrganizationVariable;
27
27
  export declare const ActionsOrganizationVariable: typeof import("./actionsOrganizationVariable").ActionsOrganizationVariable;
28
+ export { ActionsOrganizationWorkflowPermissionsArgs, ActionsOrganizationWorkflowPermissionsState } from "./actionsOrganizationWorkflowPermissions";
29
+ export type ActionsOrganizationWorkflowPermissions = import("./actionsOrganizationWorkflowPermissions").ActionsOrganizationWorkflowPermissions;
30
+ export declare const ActionsOrganizationWorkflowPermissions: typeof import("./actionsOrganizationWorkflowPermissions").ActionsOrganizationWorkflowPermissions;
28
31
  export { ActionsRepositoryAccessLevelArgs, ActionsRepositoryAccessLevelState } from "./actionsRepositoryAccessLevel";
29
32
  export type ActionsRepositoryAccessLevel = import("./actionsRepositoryAccessLevel").ActionsRepositoryAccessLevel;
30
33
  export declare const ActionsRepositoryAccessLevel: typeof import("./actionsRepositoryAccessLevel").ActionsRepositoryAccessLevel;
package/index.js CHANGED
@@ -16,11 +16,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.getActionsOrganizationVariablesOutput = exports.getActionsOrganizationVariables = exports.getActionsOrganizationSecretsOutput = exports.getActionsOrganizationSecrets = exports.getActionsOrganizationRegistrationTokenOutput = exports.getActionsOrganizationRegistrationToken = exports.getActionsOrganizationPublicKeyOutput = exports.getActionsOrganizationPublicKey = exports.getActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput = exports.getActionsOrganizationOidcSubjectClaimCustomizationTemplate = exports.getActionsEnvironmentVariablesOutput = exports.getActionsEnvironmentVariables = exports.getActionsEnvironmentSecretsOutput = exports.getActionsEnvironmentSecrets = exports.getActionsEnvironmentPublicKeyOutput = exports.getActionsEnvironmentPublicKey = exports.EnterpriseSecurityAnalysisSettings = exports.EnterpriseOrganization = exports.EnterpriseActionsWorkflowPermissions = exports.EnterpriseActionsRunnerGroup = exports.EnterpriseActionsPermissions = exports.EmuGroupMapping = exports.DependabotSecret = exports.DependabotOrganizationSecretRepositories = exports.DependabotOrganizationSecret = exports.CodespacesUserSecret = exports.CodespacesSecret = exports.CodespacesOrganizationSecretRepositories = exports.CodespacesOrganizationSecret = exports.BranchProtectionV3 = exports.BranchProtection = exports.BranchDefault = exports.Branch = exports.AppInstallationRepository = exports.AppInstallationRepositories = exports.ActionsVariable = exports.ActionsSecret = exports.ActionsRunnerGroup = exports.ActionsRepositoryPermissions = exports.ActionsRepositoryOidcSubjectClaimCustomizationTemplate = exports.ActionsRepositoryAccessLevel = exports.ActionsOrganizationVariable = exports.ActionsOrganizationSecretRepository = exports.ActionsOrganizationSecretRepositories = exports.ActionsOrganizationSecret = exports.ActionsOrganizationPermissions = exports.ActionsOrganizationOidcSubjectClaimCustomizationTemplate = exports.ActionsHostedRunner = exports.ActionsEnvironmentVariable = exports.ActionsEnvironmentSecret = void 0;
20
- exports.getMembershipOutput = exports.getMembership = exports.getIssueLabelsOutput = exports.getIssueLabels = exports.getIpRangesOutput = exports.getIpRanges = exports.getGithubAppOutput = exports.getGithubApp = exports.getExternalGroupsOutput = exports.getExternalGroups = exports.getEnterpriseOutput = exports.getEnterprise = exports.getDependabotSecretsOutput = exports.getDependabotSecrets = exports.getDependabotPublicKeyOutput = exports.getDependabotPublicKey = exports.getDependabotOrganizationSecretsOutput = exports.getDependabotOrganizationSecrets = exports.getDependabotOrganizationPublicKeyOutput = exports.getDependabotOrganizationPublicKey = exports.getCollaboratorsOutput = exports.getCollaborators = exports.getCodespacesUserSecretsOutput = exports.getCodespacesUserSecrets = exports.getCodespacesUserPublicKeyOutput = exports.getCodespacesUserPublicKey = exports.getCodespacesSecretsOutput = exports.getCodespacesSecrets = exports.getCodespacesPublicKeyOutput = exports.getCodespacesPublicKey = exports.getCodespacesOrganizationSecretsOutput = exports.getCodespacesOrganizationSecrets = exports.getCodespacesOrganizationPublicKeyOutput = exports.getCodespacesOrganizationPublicKey = exports.getBranchProtectionRulesOutput = exports.getBranchProtectionRules = exports.getBranchOutput = exports.getBranch = exports.getAppTokenOutput = exports.getAppToken = exports.getActionsVariablesOutput = exports.getActionsVariables = exports.getActionsSecretsOutput = exports.getActionsSecrets = exports.getActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput = exports.getActionsRepositoryOidcSubjectClaimCustomizationTemplate = exports.getActionsRegistrationTokenOutput = exports.getActionsRegistrationToken = exports.getActionsPublicKeyOutput = exports.getActionsPublicKey = void 0;
21
- exports.getRepositoryEnvironmentDeploymentPoliciesOutput = exports.getRepositoryEnvironmentDeploymentPolicies = exports.getRepositoryDeploymentBranchPoliciesOutput = exports.getRepositoryDeploymentBranchPolicies = exports.getRepositoryDeployKeysOutput = exports.getRepositoryDeployKeys = exports.getRepositoryCustomPropertiesOutput = exports.getRepositoryCustomProperties = exports.getRepositoryBranchesOutput = exports.getRepositoryBranches = exports.getRepositoryAutolinkReferencesOutput = exports.getRepositoryAutolinkReferences = exports.getRepositoryOutput = exports.getRepository = exports.getRepositoriesOutput = exports.getRepositories = exports.getReleaseOutput = exports.getRelease = exports.getRefOutput = exports.getRef = exports.getOrganizationWebhooksOutput = exports.getOrganizationWebhooks = exports.getOrganizationTeamsOutput = exports.getOrganizationTeams = exports.getOrganizationTeamSyncGroupsOutput = exports.getOrganizationTeamSyncGroups = exports.getOrganizationSecurityManagersOutput = exports.getOrganizationSecurityManagers = exports.getOrganizationRolesOutput = exports.getOrganizationRoles = exports.getOrganizationRoleUsersOutput = exports.getOrganizationRoleUsers = exports.getOrganizationRoleTeamsOutput = exports.getOrganizationRoleTeams = exports.getOrganizationRoleOutput = exports.getOrganizationRole = exports.getOrganizationRepositoryRolesOutput = exports.getOrganizationRepositoryRoles = exports.getOrganizationRepositoryRoleOutput = exports.getOrganizationRepositoryRole = exports.getOrganizationIpAllowListOutput = exports.getOrganizationIpAllowList = exports.getOrganizationExternalIdentitiesOutput = exports.getOrganizationExternalIdentities = exports.getOrganizationCustomRoleOutput = exports.getOrganizationCustomRole = exports.getOrganizationCustomPropertiesOutput = exports.getOrganizationCustomProperties = exports.getOrganizationOutput = exports.getOrganization = void 0;
22
- exports.RepositoryAutolinkReference = exports.Repository = exports.Release = exports.ProjectColumn = exports.ProjectCard = exports.OrganizationWebhook = exports.OrganizationSettings = exports.OrganizationSecurityManager = exports.OrganizationRuleset = exports.OrganizationRoleUser = exports.OrganizationRoleTeamAssignment = exports.OrganizationRoleTeam = exports.OrganizationRole = exports.OrganizationRepositoryRole = exports.OrganizationProject = exports.OrganizationCustomRole = exports.OrganizationCustomProperties = exports.OrganizationBlock = exports.Membership = exports.IssueLabels = exports.IssueLabel = exports.Issue = exports.getUsersOutput = exports.getUsers = exports.getUserExternalIdentityOutput = exports.getUserExternalIdentity = exports.getUserOutput = exports.getUser = exports.getTreeOutput = exports.getTree = exports.getTeamOutput = exports.getTeam = exports.getSshKeysOutput = exports.getSshKeys = exports.getRestApiOutput = exports.getRestApi = exports.getRepositoryWebhooksOutput = exports.getRepositoryWebhooks = exports.getRepositoryTeamsOutput = exports.getRepositoryTeams = exports.getRepositoryPullRequestsOutput = exports.getRepositoryPullRequests = exports.getRepositoryPullRequestOutput = exports.getRepositoryPullRequest = exports.getRepositoryMilestoneOutput = exports.getRepositoryMilestone = exports.getRepositoryFileOutput = exports.getRepositoryFile = exports.getRepositoryEnvironmentsOutput = exports.getRepositoryEnvironments = void 0;
23
- exports.types = exports.config = exports.WorkflowRepositoryPermissions = exports.UserSshKey = exports.UserInvitationAccepter = exports.UserGpgKey = exports.TeamSyncGroupMapping = exports.TeamSettings = exports.TeamRepository = exports.TeamMembership = exports.TeamMembers = exports.Team = exports.RepositoryWebhook = exports.RepositoryTopics = exports.RepositoryRuleset = exports.RepositoryPullRequest = exports.RepositoryProject = exports.RepositoryMilestone = exports.RepositoryFile = exports.RepositoryEnvironmentDeploymentPolicy = exports.RepositoryEnvironment = exports.RepositoryDeploymentBranchPolicy = exports.RepositoryDeployKey = exports.RepositoryDependabotSecurityUpdates = exports.RepositoryCustomProperty = exports.RepositoryCollaborators = exports.RepositoryCollaborator = void 0;
19
+ exports.getActionsOrganizationVariables = exports.getActionsOrganizationSecretsOutput = exports.getActionsOrganizationSecrets = exports.getActionsOrganizationRegistrationTokenOutput = exports.getActionsOrganizationRegistrationToken = exports.getActionsOrganizationPublicKeyOutput = exports.getActionsOrganizationPublicKey = exports.getActionsOrganizationOidcSubjectClaimCustomizationTemplateOutput = exports.getActionsOrganizationOidcSubjectClaimCustomizationTemplate = exports.getActionsEnvironmentVariablesOutput = exports.getActionsEnvironmentVariables = exports.getActionsEnvironmentSecretsOutput = exports.getActionsEnvironmentSecrets = exports.getActionsEnvironmentPublicKeyOutput = exports.getActionsEnvironmentPublicKey = exports.EnterpriseSecurityAnalysisSettings = exports.EnterpriseOrganization = exports.EnterpriseActionsWorkflowPermissions = exports.EnterpriseActionsRunnerGroup = exports.EnterpriseActionsPermissions = exports.EmuGroupMapping = exports.DependabotSecret = exports.DependabotOrganizationSecretRepositories = exports.DependabotOrganizationSecret = exports.CodespacesUserSecret = exports.CodespacesSecret = exports.CodespacesOrganizationSecretRepositories = exports.CodespacesOrganizationSecret = exports.BranchProtectionV3 = exports.BranchProtection = exports.BranchDefault = exports.Branch = exports.AppInstallationRepository = exports.AppInstallationRepositories = exports.ActionsVariable = exports.ActionsSecret = exports.ActionsRunnerGroup = exports.ActionsRepositoryPermissions = exports.ActionsRepositoryOidcSubjectClaimCustomizationTemplate = exports.ActionsRepositoryAccessLevel = exports.ActionsOrganizationWorkflowPermissions = exports.ActionsOrganizationVariable = exports.ActionsOrganizationSecretRepository = exports.ActionsOrganizationSecretRepositories = exports.ActionsOrganizationSecret = exports.ActionsOrganizationPermissions = exports.ActionsOrganizationOidcSubjectClaimCustomizationTemplate = exports.ActionsHostedRunner = exports.ActionsEnvironmentVariable = exports.ActionsEnvironmentSecret = void 0;
20
+ exports.getMembership = exports.getIssueLabelsOutput = exports.getIssueLabels = exports.getIpRangesOutput = exports.getIpRanges = exports.getGithubAppOutput = exports.getGithubApp = exports.getExternalGroupsOutput = exports.getExternalGroups = exports.getEnterpriseOutput = exports.getEnterprise = exports.getDependabotSecretsOutput = exports.getDependabotSecrets = exports.getDependabotPublicKeyOutput = exports.getDependabotPublicKey = exports.getDependabotOrganizationSecretsOutput = exports.getDependabotOrganizationSecrets = exports.getDependabotOrganizationPublicKeyOutput = exports.getDependabotOrganizationPublicKey = exports.getCollaboratorsOutput = exports.getCollaborators = exports.getCodespacesUserSecretsOutput = exports.getCodespacesUserSecrets = exports.getCodespacesUserPublicKeyOutput = exports.getCodespacesUserPublicKey = exports.getCodespacesSecretsOutput = exports.getCodespacesSecrets = exports.getCodespacesPublicKeyOutput = exports.getCodespacesPublicKey = exports.getCodespacesOrganizationSecretsOutput = exports.getCodespacesOrganizationSecrets = exports.getCodespacesOrganizationPublicKeyOutput = exports.getCodespacesOrganizationPublicKey = exports.getBranchProtectionRulesOutput = exports.getBranchProtectionRules = exports.getBranchOutput = exports.getBranch = exports.getAppTokenOutput = exports.getAppToken = exports.getActionsVariablesOutput = exports.getActionsVariables = exports.getActionsSecretsOutput = exports.getActionsSecrets = exports.getActionsRepositoryOidcSubjectClaimCustomizationTemplateOutput = exports.getActionsRepositoryOidcSubjectClaimCustomizationTemplate = exports.getActionsRegistrationTokenOutput = exports.getActionsRegistrationToken = exports.getActionsPublicKeyOutput = exports.getActionsPublicKey = exports.getActionsOrganizationVariablesOutput = void 0;
21
+ exports.getRepositoryEnvironmentDeploymentPolicies = exports.getRepositoryDeploymentBranchPoliciesOutput = exports.getRepositoryDeploymentBranchPolicies = exports.getRepositoryDeployKeysOutput = exports.getRepositoryDeployKeys = exports.getRepositoryCustomPropertiesOutput = exports.getRepositoryCustomProperties = exports.getRepositoryBranchesOutput = exports.getRepositoryBranches = exports.getRepositoryAutolinkReferencesOutput = exports.getRepositoryAutolinkReferences = exports.getRepositoryOutput = exports.getRepository = exports.getRepositoriesOutput = exports.getRepositories = exports.getReleaseOutput = exports.getRelease = exports.getRefOutput = exports.getRef = exports.getOrganizationWebhooksOutput = exports.getOrganizationWebhooks = exports.getOrganizationTeamsOutput = exports.getOrganizationTeams = exports.getOrganizationTeamSyncGroupsOutput = exports.getOrganizationTeamSyncGroups = exports.getOrganizationSecurityManagersOutput = exports.getOrganizationSecurityManagers = exports.getOrganizationRolesOutput = exports.getOrganizationRoles = exports.getOrganizationRoleUsersOutput = exports.getOrganizationRoleUsers = exports.getOrganizationRoleTeamsOutput = exports.getOrganizationRoleTeams = exports.getOrganizationRoleOutput = exports.getOrganizationRole = exports.getOrganizationRepositoryRolesOutput = exports.getOrganizationRepositoryRoles = exports.getOrganizationRepositoryRoleOutput = exports.getOrganizationRepositoryRole = exports.getOrganizationIpAllowListOutput = exports.getOrganizationIpAllowList = exports.getOrganizationExternalIdentitiesOutput = exports.getOrganizationExternalIdentities = exports.getOrganizationCustomRoleOutput = exports.getOrganizationCustomRole = exports.getOrganizationCustomPropertiesOutput = exports.getOrganizationCustomProperties = exports.getOrganizationOutput = exports.getOrganization = exports.getMembershipOutput = void 0;
22
+ exports.Repository = exports.Release = exports.ProjectColumn = exports.ProjectCard = exports.OrganizationWebhook = exports.OrganizationSettings = exports.OrganizationSecurityManager = exports.OrganizationRuleset = exports.OrganizationRoleUser = exports.OrganizationRoleTeamAssignment = exports.OrganizationRoleTeam = exports.OrganizationRole = exports.OrganizationRepositoryRole = exports.OrganizationProject = exports.OrganizationCustomRole = exports.OrganizationCustomProperties = exports.OrganizationBlock = exports.Membership = exports.IssueLabels = exports.IssueLabel = exports.Issue = exports.getUsersOutput = exports.getUsers = exports.getUserExternalIdentityOutput = exports.getUserExternalIdentity = exports.getUserOutput = exports.getUser = exports.getTreeOutput = exports.getTree = exports.getTeamOutput = exports.getTeam = exports.getSshKeysOutput = exports.getSshKeys = exports.getRestApiOutput = exports.getRestApi = exports.getRepositoryWebhooksOutput = exports.getRepositoryWebhooks = exports.getRepositoryTeamsOutput = exports.getRepositoryTeams = exports.getRepositoryPullRequestsOutput = exports.getRepositoryPullRequests = exports.getRepositoryPullRequestOutput = exports.getRepositoryPullRequest = exports.getRepositoryMilestoneOutput = exports.getRepositoryMilestone = exports.getRepositoryFileOutput = exports.getRepositoryFile = exports.getRepositoryEnvironmentsOutput = exports.getRepositoryEnvironments = exports.getRepositoryEnvironmentDeploymentPoliciesOutput = void 0;
23
+ exports.types = exports.config = exports.WorkflowRepositoryPermissions = exports.UserSshKey = exports.UserInvitationAccepter = exports.UserGpgKey = exports.TeamSyncGroupMapping = exports.TeamSettings = exports.TeamRepository = exports.TeamMembership = exports.TeamMembers = exports.Team = exports.RepositoryWebhook = exports.RepositoryTopics = exports.RepositoryRuleset = exports.RepositoryPullRequest = exports.RepositoryProject = exports.RepositoryMilestone = exports.RepositoryFile = exports.RepositoryEnvironmentDeploymentPolicy = exports.RepositoryEnvironment = exports.RepositoryDeploymentBranchPolicy = exports.RepositoryDeployKey = exports.RepositoryDependabotSecurityUpdates = exports.RepositoryCustomProperty = exports.RepositoryCollaborators = exports.RepositoryCollaborator = exports.RepositoryAutolinkReference = void 0;
24
24
  const pulumi = require("@pulumi/pulumi");
25
25
  const utilities = require("./utilities");
26
26
  exports.ActionsEnvironmentSecret = null;
@@ -41,6 +41,8 @@ exports.ActionsOrganizationSecretRepository = null;
41
41
  utilities.lazyLoad(exports, ["ActionsOrganizationSecretRepository"], () => require("./actionsOrganizationSecretRepository"));
42
42
  exports.ActionsOrganizationVariable = null;
43
43
  utilities.lazyLoad(exports, ["ActionsOrganizationVariable"], () => require("./actionsOrganizationVariable"));
44
+ exports.ActionsOrganizationWorkflowPermissions = null;
45
+ utilities.lazyLoad(exports, ["ActionsOrganizationWorkflowPermissions"], () => require("./actionsOrganizationWorkflowPermissions"));
44
46
  exports.ActionsRepositoryAccessLevel = null;
45
47
  utilities.lazyLoad(exports, ["ActionsRepositoryAccessLevel"], () => require("./actionsRepositoryAccessLevel"));
46
48
  exports.ActionsRepositoryOidcSubjectClaimCustomizationTemplate = null;
@@ -430,6 +432,8 @@ const _module = {
430
432
  return new exports.ActionsOrganizationSecretRepository(name, undefined, { urn });
431
433
  case "github:index/actionsOrganizationVariable:ActionsOrganizationVariable":
432
434
  return new exports.ActionsOrganizationVariable(name, undefined, { urn });
435
+ case "github:index/actionsOrganizationWorkflowPermissions:ActionsOrganizationWorkflowPermissions":
436
+ return new exports.ActionsOrganizationWorkflowPermissions(name, undefined, { urn });
433
437
  case "github:index/actionsRepositoryAccessLevel:ActionsRepositoryAccessLevel":
434
438
  return new exports.ActionsRepositoryAccessLevel(name, undefined, { urn });
435
439
  case "github:index/actionsRepositoryOidcSubjectClaimCustomizationTemplate:ActionsRepositoryOidcSubjectClaimCustomizationTemplate":
@@ -588,6 +592,7 @@ pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationSecret
588
592
  pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationSecretRepositories", _module);
589
593
  pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationSecretRepository", _module);
590
594
  pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationVariable", _module);
595
+ pulumi.runtime.registerResourceModule("github", "index/actionsOrganizationWorkflowPermissions", _module);
591
596
  pulumi.runtime.registerResourceModule("github", "index/actionsRepositoryAccessLevel", _module);
592
597
  pulumi.runtime.registerResourceModule("github", "index/actionsRepositoryOidcSubjectClaimCustomizationTemplate", _module);
593
598
  pulumi.runtime.registerResourceModule("github", "index/actionsRepositoryPermissions", _module);