@pulumi/github 6.8.0-alpha.1761113005 → 6.8.0-alpha.1761189922
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/actionsOrganizationSecret.d.ts +3 -0
- package/actionsOrganizationSecret.js +2 -0
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepository.d.ts +89 -0
- package/actionsOrganizationSecretRepository.js +86 -0
- package/actionsOrganizationSecretRepository.js.map +1 -0
- package/config/vars.d.ts +1 -1
- package/getOrganizationCustomProperties.d.ts +122 -0
- package/getOrganizationCustomProperties.js +60 -0
- package/getOrganizationCustomProperties.js.map +1 -0
- package/getOrganizationCustomRole.d.ts +4 -0
- package/getOrganizationCustomRole.js +4 -0
- package/getOrganizationCustomRole.js.map +1 -1
- package/getOrganizationRepositoryRole.d.ts +82 -0
- package/getOrganizationRepositoryRole.js +54 -0
- package/getOrganizationRepositoryRole.js.map +1 -0
- package/getOrganizationRepositoryRoles.d.ts +65 -0
- package/getOrganizationRepositoryRoles.js +66 -0
- package/getOrganizationRepositoryRoles.js.map +1 -0
- package/getOrganizationRole.d.ts +82 -0
- package/getOrganizationRole.js +50 -0
- package/getOrganizationRole.js.map +1 -0
- package/getOrganizationRoleTeams.d.ts +85 -0
- package/getOrganizationRoleTeams.js +68 -0
- package/getOrganizationRoleTeams.js.map +1 -0
- package/getOrganizationRoleUsers.d.ts +81 -0
- package/getOrganizationRoleUsers.js +64 -0
- package/getOrganizationRoleUsers.js.map +1 -0
- package/getOrganizationRoles.d.ts +63 -0
- package/getOrganizationRoles.js +64 -0
- package/getOrganizationRoles.js.map +1 -0
- package/getOrganizationSecurityManagers.d.ts +41 -0
- package/getOrganizationSecurityManagers.js +42 -0
- package/getOrganizationSecurityManagers.js.map +1 -0
- package/getTeam.d.ts +4 -2
- package/getTeam.js.map +1 -1
- package/index.d.ts +45 -0
- package/index.js +64 -4
- package/index.js.map +1 -1
- package/organizationCustomProperties.d.ts +170 -0
- package/organizationCustomProperties.js +124 -0
- package/organizationCustomProperties.js.map +1 -0
- package/organizationCustomRole.d.ts +2 -0
- package/organizationCustomRole.js +2 -0
- package/organizationCustomRole.js.map +1 -1
- package/organizationProject.d.ts +2 -0
- package/organizationProject.js +2 -0
- package/organizationProject.js.map +1 -1
- package/organizationRepositoryRole.d.ts +121 -0
- package/organizationRepositoryRole.js +92 -0
- package/organizationRepositoryRole.js.map +1 -0
- package/organizationRole.d.ts +121 -0
- package/organizationRole.js +89 -0
- package/organizationRole.js.map +1 -0
- package/organizationRoleTeam.d.ts +83 -0
- package/organizationRoleTeam.js +80 -0
- package/organizationRoleTeam.js.map +1 -0
- package/organizationRoleTeamAssignment.d.ts +90 -0
- package/organizationRoleTeamAssignment.js +87 -0
- package/organizationRoleTeamAssignment.js.map +1 -0
- package/organizationRoleUser.d.ts +83 -0
- package/organizationRoleUser.js +80 -0
- package/organizationRoleUser.js.map +1 -0
- package/organizationRuleset.d.ts +8 -0
- package/organizationRuleset.js +8 -0
- package/organizationRuleset.js.map +1 -1
- package/package.json +2 -2
- package/projectCard.d.ts +2 -0
- package/projectCard.js +2 -0
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +2 -0
- package/projectColumn.js +2 -0
- package/projectColumn.js.map +1 -1
- package/provider.d.ts +1 -1
- package/repository.d.ts +1 -1
- package/repositoryProject.d.ts +2 -0
- package/repositoryProject.js +2 -0
- package/repositoryProject.js.map +1 -1
- package/repositoryRuleset.d.ts +28 -3
- package/repositoryRuleset.js +25 -0
- package/repositoryRuleset.js.map +1 -1
- package/types/input.d.ts +44 -6
- package/types/output.d.ts +158 -15
|
@@ -0,0 +1,80 @@
|
|
|
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.OrganizationRoleUser = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manage an association between an organization role and a user.
|
|
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.OrganizationRoleUser("example", {
|
|
18
|
+
* roleId: 1234,
|
|
19
|
+
* login: "example-user",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* An organization role user association can be imported using the role ID and the user login separated by a `:`.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import github:index/organizationRoleUser:OrganizationRoleUser example "1234:example-user"
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class OrganizationRoleUser extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing OrganizationRoleUser resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new OrganizationRoleUser(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of OrganizationRoleUser. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === OrganizationRoleUser.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
constructor(name, argsOrState, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (opts.id) {
|
|
58
|
+
const state = argsOrState;
|
|
59
|
+
resourceInputs["login"] = state?.login;
|
|
60
|
+
resourceInputs["roleId"] = state?.roleId;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
const args = argsOrState;
|
|
64
|
+
if (args?.login === undefined && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'login'");
|
|
66
|
+
}
|
|
67
|
+
if (args?.roleId === undefined && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'roleId'");
|
|
69
|
+
}
|
|
70
|
+
resourceInputs["login"] = args?.login;
|
|
71
|
+
resourceInputs["roleId"] = args?.roleId;
|
|
72
|
+
}
|
|
73
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
74
|
+
super(OrganizationRoleUser.__pulumiType, name, resourceInputs, opts);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.OrganizationRoleUser = OrganizationRoleUser;
|
|
78
|
+
/** @internal */
|
|
79
|
+
OrganizationRoleUser.__pulumiType = 'github:index/organizationRoleUser:OrganizationRoleUser';
|
|
80
|
+
//# sourceMappingURL=organizationRoleUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organizationRoleUser.js","sourceRoot":"","sources":["../organizationRoleUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QA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oB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAjEL,oDAkEC;AApDG,gBAAgB;AACO,iCAAY,GAAG,wDAAwD,CAAC"}
|
package/organizationRuleset.d.ts
CHANGED
|
@@ -39,6 +39,14 @@ import * as outputs from "./types/output";
|
|
|
39
39
|
* operator: "starts_with",
|
|
40
40
|
* pattern: "ex",
|
|
41
41
|
* },
|
|
42
|
+
* requiredWorkflows: {
|
|
43
|
+
* doNotEnforceOnCreate: true,
|
|
44
|
+
* requiredWorkflows: [{
|
|
45
|
+
* repositoryId: 1234,
|
|
46
|
+
* path: ".github/workflows/ci.yml",
|
|
47
|
+
* ref: "main",
|
|
48
|
+
* }],
|
|
49
|
+
* },
|
|
42
50
|
* },
|
|
43
51
|
* });
|
|
44
52
|
* ```
|
package/organizationRuleset.js
CHANGED
|
@@ -43,6 +43,14 @@ const utilities = require("./utilities");
|
|
|
43
43
|
* operator: "starts_with",
|
|
44
44
|
* pattern: "ex",
|
|
45
45
|
* },
|
|
46
|
+
* requiredWorkflows: {
|
|
47
|
+
* doNotEnforceOnCreate: true,
|
|
48
|
+
* requiredWorkflows: [{
|
|
49
|
+
* repositoryId: 1234,
|
|
50
|
+
* path: ".github/workflows/ci.yml",
|
|
51
|
+
* ref: "main",
|
|
52
|
+
* }],
|
|
53
|
+
* },
|
|
46
54
|
* },
|
|
47
55
|
* });
|
|
48
56
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationRuleset.js","sourceRoot":"","sources":["../organizationRuleset.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"organizationRuleset.js","sourceRoot":"","sources":["../organizationRuleset.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;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c,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA9GL,kDA+GC;AAjGG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/github",
|
|
3
|
-
"version": "6.8.0-alpha.
|
|
3
|
+
"version": "6.8.0-alpha.1761189922",
|
|
4
4
|
"description": "A Pulumi package for creating and managing github cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "github",
|
|
26
|
-
"version": "6.8.0-alpha.
|
|
26
|
+
"version": "6.8.0-alpha.1761189922"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/projectCard.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* !> **Warning:** This resource no longer works as the [Projects (classic) REST API](https://docs.github.com/en/rest/projects/projects?apiVersion=2022-11-28) has been [removed](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) and as such has been deprecated. It will be removed in a future release.
|
|
4
|
+
*
|
|
3
5
|
* This resource allows you to create and manage cards for GitHub projects.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
package/projectCard.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.ProjectCard = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* !> **Warning:** This resource no longer works as the [Projects (classic) REST API](https://docs.github.com/en/rest/projects/projects?apiVersion=2022-11-28) has been [removed](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) and as such has been deprecated. It will be removed in a future release.
|
|
10
|
+
*
|
|
9
11
|
* This resource allows you to create and manage cards for GitHub projects.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
package/projectCard.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectCard.js","sourceRoot":"","sources":["../projectCard.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectCard.js","sourceRoot":"","sources":["../projectCard.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAA0C,CAAC;YACxD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,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,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAtFL,kCAuFC;AAzEG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
package/projectColumn.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* !> **Warning:** This resource no longer works as the [Projects (classic) REST API](https://docs.github.com/en/rest/projects/projects?apiVersion=2022-11-28) has been [removed](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) and as such has been deprecated. It will be removed in a future release.
|
|
4
|
+
*
|
|
3
5
|
* This resource allows you to create and manage columns for GitHub projects.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
package/projectColumn.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.ProjectColumn = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* !> **Warning:** This resource no longer works as the [Projects (classic) REST API](https://docs.github.com/en/rest/projects/projects?apiVersion=2022-11-28) has been [removed](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) and as such has been deprecated. It will be removed in a future release.
|
|
10
|
+
*
|
|
9
11
|
* This resource allows you to create and manage columns for GitHub projects.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
package/projectColumn.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectColumn.js","sourceRoot":"","sources":["../projectColumn.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"projectColumn.js","sourceRoot":"","sources":["../projectColumn.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAKD;;;OAGG;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AAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAvEL,sCAwEC;AA1DG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
package/provider.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ export interface ProviderArgs {
|
|
|
74
74
|
*/
|
|
75
75
|
owner?: pulumi.Input<string>;
|
|
76
76
|
/**
|
|
77
|
-
* Allow the provider to make parallel API calls to GitHub. You may want to set it to true when you have a private Github Enterprise without strict rate limits.
|
|
77
|
+
* Allow the provider to make parallel API calls to GitHub. You may want to set it to true when you have a private Github Enterprise without strict rate limits. While it is possible to enable this setting on github.com, github.com's best practices recommend using serialization to avoid hitting abuse rate limitsDefaults to false if not set
|
|
78
78
|
*/
|
|
79
79
|
parallelRequests?: pulumi.Input<boolean>;
|
|
80
80
|
/**
|
package/repository.d.ts
CHANGED
|
@@ -245,7 +245,7 @@ export declare class Repository extends pulumi.CustomResource {
|
|
|
245
245
|
/**
|
|
246
246
|
* Set to `true` to enable security alerts for vulnerable dependencies. Enabling requires alerts to be enabled on the owner level. (Note for importing: GitHub enables the alerts on public repos but disables them on private repos by default.) See [GitHub Documentation](https://help.github.com/en/github/managing-security-vulnerabilities/about-security-alerts-for-vulnerable-dependencies) for details. Note that vulnerability alerts have not been successfully tested on any GitHub Enterprise instance and may be unavailable in those settings.
|
|
247
247
|
*/
|
|
248
|
-
readonly vulnerabilityAlerts: pulumi.Output<boolean
|
|
248
|
+
readonly vulnerabilityAlerts: pulumi.Output<boolean>;
|
|
249
249
|
/**
|
|
250
250
|
* Require contributors to sign off on web-based commits. See more [here](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-the-commit-signoff-policy-for-your-repository). Defaults to `false`.
|
|
251
251
|
*/
|
package/repositoryProject.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* !> **Warning:** This resource no longer works as the [Projects (classic) REST API](https://docs.github.com/en/rest/projects/projects?apiVersion=2022-11-28) has been [removed](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) and as such has been deprecated. It will be removed in a future release.
|
|
4
|
+
*
|
|
3
5
|
* This resource allows you to create and manage projects for GitHub repository.
|
|
4
6
|
*
|
|
5
7
|
* ## Example Usage
|
package/repositoryProject.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.RepositoryProject = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* !> **Warning:** This resource no longer works as the [Projects (classic) REST API](https://docs.github.com/en/rest/projects/projects?apiVersion=2022-11-28) has been [removed](https://github.blog/changelog/2024-05-23-sunset-notice-projects-classic/) and as such has been deprecated. It will be removed in a future release.
|
|
10
|
+
*
|
|
9
11
|
* This resource allows you to create and manage projects for GitHub repository.
|
|
10
12
|
*
|
|
11
13
|
* ## Example Usage
|
package/repositoryProject.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryProject.js","sourceRoot":"","sources":["../repositoryProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryProject.js","sourceRoot":"","sources":["../repositoryProject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC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C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA7EL,8CA8EC;AAhEG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
package/repositoryRuleset.d.ts
CHANGED
|
@@ -43,6 +43,31 @@ import * as outputs from "./types/output";
|
|
|
43
43
|
* },
|
|
44
44
|
* },
|
|
45
45
|
* });
|
|
46
|
+
* // Example with push ruleset
|
|
47
|
+
* const examplePush = new github.RepositoryRuleset("example_push", {
|
|
48
|
+
* name: "example_push",
|
|
49
|
+
* repository: example.name,
|
|
50
|
+
* target: "push",
|
|
51
|
+
* enforcement: "active",
|
|
52
|
+
* rules: {
|
|
53
|
+
* filePathRestriction: {
|
|
54
|
+
* restrictedFilePaths: [
|
|
55
|
+
* ".github/workflows/*",
|
|
56
|
+
* "*.env",
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* maxFileSize: {
|
|
60
|
+
* maxFileSize: 104857600,
|
|
61
|
+
* },
|
|
62
|
+
* fileExtensionRestriction: {
|
|
63
|
+
* restrictedFileExtensions: [
|
|
64
|
+
* "*.exe",
|
|
65
|
+
* "*.dll",
|
|
66
|
+
* "*.so",
|
|
67
|
+
* ],
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* });
|
|
46
71
|
* ```
|
|
47
72
|
*
|
|
48
73
|
* ## Import
|
|
@@ -106,7 +131,7 @@ export declare class RepositoryRuleset extends pulumi.CustomResource {
|
|
|
106
131
|
*/
|
|
107
132
|
readonly rulesetId: pulumi.Output<number>;
|
|
108
133
|
/**
|
|
109
|
-
* (String) Possible values are `branch` and `
|
|
134
|
+
* (String) Possible values are `branch`, `tag` and `push`.
|
|
110
135
|
*/
|
|
111
136
|
readonly target: pulumi.Output<string>;
|
|
112
137
|
/**
|
|
@@ -159,7 +184,7 @@ export interface RepositoryRulesetState {
|
|
|
159
184
|
*/
|
|
160
185
|
rulesetId?: pulumi.Input<number>;
|
|
161
186
|
/**
|
|
162
|
-
* (String) Possible values are `branch` and `
|
|
187
|
+
* (String) Possible values are `branch`, `tag` and `push`.
|
|
163
188
|
*/
|
|
164
189
|
target?: pulumi.Input<string>;
|
|
165
190
|
}
|
|
@@ -192,7 +217,7 @@ export interface RepositoryRulesetArgs {
|
|
|
192
217
|
*/
|
|
193
218
|
rules: pulumi.Input<inputs.RepositoryRulesetRules>;
|
|
194
219
|
/**
|
|
195
|
-
* (String) Possible values are `branch` and `
|
|
220
|
+
* (String) Possible values are `branch`, `tag` and `push`.
|
|
196
221
|
*/
|
|
197
222
|
target: pulumi.Input<string>;
|
|
198
223
|
}
|
package/repositoryRuleset.js
CHANGED
|
@@ -47,6 +47,31 @@ const utilities = require("./utilities");
|
|
|
47
47
|
* },
|
|
48
48
|
* },
|
|
49
49
|
* });
|
|
50
|
+
* // Example with push ruleset
|
|
51
|
+
* const examplePush = new github.RepositoryRuleset("example_push", {
|
|
52
|
+
* name: "example_push",
|
|
53
|
+
* repository: example.name,
|
|
54
|
+
* target: "push",
|
|
55
|
+
* enforcement: "active",
|
|
56
|
+
* rules: {
|
|
57
|
+
* filePathRestriction: {
|
|
58
|
+
* restrictedFilePaths: [
|
|
59
|
+
* ".github/workflows/*",
|
|
60
|
+
* "*.env",
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* maxFileSize: {
|
|
64
|
+
* maxFileSize: 104857600,
|
|
65
|
+
* },
|
|
66
|
+
* fileExtensionRestriction: {
|
|
67
|
+
* restrictedFileExtensions: [
|
|
68
|
+
* "*.exe",
|
|
69
|
+
* "*.dll",
|
|
70
|
+
* "*.so",
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* });
|
|
50
75
|
* ```
|
|
51
76
|
*
|
|
52
77
|
* ## Import
|
package/repositoryRuleset.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryRuleset.js","sourceRoot":"","sources":["../repositoryRuleset.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryRuleset.js","sourceRoot":"","sources":["../repositoryRuleset.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAmDD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC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cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AApHL,8CAqHC;AAvGG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -227,13 +227,13 @@ export interface OrganizationRulesetBypassActor {
|
|
|
227
227
|
/**
|
|
228
228
|
* (Number) The ID of the actor that can bypass a ruleset.
|
|
229
229
|
*/
|
|
230
|
-
actorId
|
|
230
|
+
actorId?: pulumi.Input<number>;
|
|
231
231
|
/**
|
|
232
232
|
* The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
|
|
233
233
|
*/
|
|
234
234
|
actorType: pulumi.Input<string>;
|
|
235
235
|
/**
|
|
236
|
-
* (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.
|
|
236
|
+
* (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`, `exempt`.
|
|
237
237
|
*
|
|
238
238
|
* ~>Note: at the time of writing this, the following actor types correspond to the following actor IDs:
|
|
239
239
|
*
|
|
@@ -459,6 +459,10 @@ export interface OrganizationRulesetRulesRequiredCodeScanningRequiredCodeScannin
|
|
|
459
459
|
tool: pulumi.Input<string>;
|
|
460
460
|
}
|
|
461
461
|
export interface OrganizationRulesetRulesRequiredStatusChecks {
|
|
462
|
+
/**
|
|
463
|
+
* Allow repositories and branches to be created if a check would otherwise prohibit it.
|
|
464
|
+
*/
|
|
465
|
+
doNotEnforceOnCreate?: pulumi.Input<boolean>;
|
|
462
466
|
/**
|
|
463
467
|
* Status checks that are required. Several can be defined.
|
|
464
468
|
*/
|
|
@@ -479,6 +483,10 @@ export interface OrganizationRulesetRulesRequiredStatusChecksRequiredCheck {
|
|
|
479
483
|
integrationId?: pulumi.Input<number>;
|
|
480
484
|
}
|
|
481
485
|
export interface OrganizationRulesetRulesRequiredWorkflows {
|
|
486
|
+
/**
|
|
487
|
+
* Allow repositories and branches to be created if a check would otherwise prohibit it.
|
|
488
|
+
*/
|
|
489
|
+
doNotEnforceOnCreate?: pulumi.Input<boolean>;
|
|
482
490
|
/**
|
|
483
491
|
* Actions workflows that are required. Several can be defined.
|
|
484
492
|
*/
|
|
@@ -637,15 +645,15 @@ export interface RepositoryPagesSource {
|
|
|
637
645
|
}
|
|
638
646
|
export interface RepositoryRulesetBypassActor {
|
|
639
647
|
/**
|
|
640
|
-
*
|
|
648
|
+
* The ID of the actor that can bypass a ruleset. If `actorType` is `Integration`, `actorId` is a GitHub App ID. App ID can be obtained by following instructions from the [Get an App API docs](https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#get-an-app)
|
|
641
649
|
*/
|
|
642
|
-
actorId
|
|
650
|
+
actorId?: pulumi.Input<number>;
|
|
643
651
|
/**
|
|
644
|
-
* The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`.
|
|
652
|
+
* The type of actor that can bypass a ruleset. Can be one of: `RepositoryRole`, `Team`, `Integration`, `OrganizationAdmin`, `DeployKey`.
|
|
645
653
|
*/
|
|
646
654
|
actorType: pulumi.Input<string>;
|
|
647
655
|
/**
|
|
648
|
-
* (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`.
|
|
656
|
+
* (String) When the specified actor can bypass the ruleset. pullRequest means that an actor can only bypass rules on pull requests. Can be one of: `always`, `pullRequest`, `exempt`.
|
|
649
657
|
*
|
|
650
658
|
* > Note: at the time of writing this, the following actor types correspond to the following actor IDs:
|
|
651
659
|
*
|
|
@@ -695,6 +703,18 @@ export interface RepositoryRulesetRules {
|
|
|
695
703
|
* (Boolean) Only allow users with bypass permissions to delete matching refs.
|
|
696
704
|
*/
|
|
697
705
|
deletion?: pulumi.Input<boolean>;
|
|
706
|
+
/**
|
|
707
|
+
* (Block List, Max: 1) Prevent commits that include files with specified file extensions from being pushed to the commit graph. This rule only applies to rulesets with target `push`. (see below for nested schema)
|
|
708
|
+
*/
|
|
709
|
+
fileExtensionRestriction?: pulumi.Input<inputs.RepositoryRulesetRulesFileExtensionRestriction>;
|
|
710
|
+
/**
|
|
711
|
+
* (Block List, Max 1) Parameters to be used for the filePathRestriction rule. When enabled restricts access to files within the repository. (See below for nested schema)
|
|
712
|
+
*/
|
|
713
|
+
filePathRestriction?: pulumi.Input<inputs.RepositoryRulesetRulesFilePathRestriction>;
|
|
714
|
+
/**
|
|
715
|
+
* (Integer) The maximum allowed size, in bytes, of a file.
|
|
716
|
+
*/
|
|
717
|
+
maxFileSize?: pulumi.Input<inputs.RepositoryRulesetRulesMaxFileSize>;
|
|
698
718
|
/**
|
|
699
719
|
* (Block List, Max: 1) Merges must be performed via a merge queue.
|
|
700
720
|
*/
|
|
@@ -812,6 +832,24 @@ export interface RepositoryRulesetRulesCommitterEmailPattern {
|
|
|
812
832
|
*/
|
|
813
833
|
pattern: pulumi.Input<string>;
|
|
814
834
|
}
|
|
835
|
+
export interface RepositoryRulesetRulesFileExtensionRestriction {
|
|
836
|
+
/**
|
|
837
|
+
* A list of file extensions.
|
|
838
|
+
*/
|
|
839
|
+
restrictedFileExtensions: pulumi.Input<pulumi.Input<string>[]>;
|
|
840
|
+
}
|
|
841
|
+
export interface RepositoryRulesetRulesFilePathRestriction {
|
|
842
|
+
/**
|
|
843
|
+
* The file paths that are restricted from being pushed to the commit graph.
|
|
844
|
+
*/
|
|
845
|
+
restrictedFilePaths: pulumi.Input<pulumi.Input<string>[]>;
|
|
846
|
+
}
|
|
847
|
+
export interface RepositoryRulesetRulesMaxFileSize {
|
|
848
|
+
/**
|
|
849
|
+
* The maximum allowed size of a file in bytes.
|
|
850
|
+
*/
|
|
851
|
+
maxFileSize: pulumi.Input<number>;
|
|
852
|
+
}
|
|
815
853
|
export interface RepositoryRulesetRulesMergeQueue {
|
|
816
854
|
/**
|
|
817
855
|
* Maximum time for a required status check to report a conclusion. After this much time has elapsed, checks that have not reported a conclusion will be assumed to have failed. Defaults to `60`.
|