@pulumi/github 6.12.1 → 6.12.2-alpha.1775837588
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 +33 -1
- package/actionsEnvironmentSecret.js +33 -1
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsEnvironmentVariable.d.ts +3 -1
- package/actionsEnvironmentVariable.js +3 -1
- package/actionsEnvironmentVariable.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +71 -1
- package/actionsOrganizationSecret.js +71 -1
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +3 -1
- package/actionsOrganizationSecretRepositories.js +3 -1
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsOrganizationSecretRepository.d.ts +3 -1
- package/actionsOrganizationSecretRepository.js +3 -1
- package/actionsOrganizationSecretRepository.js.map +1 -1
- package/actionsOrganizationVariable.d.ts +3 -1
- package/actionsOrganizationVariable.js +3 -1
- package/actionsOrganizationVariable.js.map +1 -1
- package/actionsOrganizationVariableRepositories.d.ts +3 -1
- package/actionsOrganizationVariableRepositories.js +3 -1
- package/actionsOrganizationVariableRepositories.js.map +1 -1
- package/actionsOrganizationVariableRepository.d.ts +3 -1
- package/actionsOrganizationVariableRepository.js +3 -1
- package/actionsOrganizationVariableRepository.js.map +1 -1
- package/actionsSecret.d.ts +50 -1
- package/actionsSecret.js +50 -1
- package/actionsSecret.js.map +1 -1
- package/actionsVariable.d.ts +3 -1
- package/actionsVariable.js +3 -1
- package/actionsVariable.js.map +1 -1
- package/appInstallationRepositories.d.ts +1 -1
- package/appInstallationRepositories.js +1 -1
- package/branch.d.ts +2 -0
- package/branch.js +2 -0
- package/branch.js.map +1 -1
- package/branchProtection.d.ts +6 -0
- package/branchProtection.js +6 -0
- package/branchProtection.js.map +1 -1
- package/codespacesOrganizationSecret.d.ts +12 -3
- package/codespacesOrganizationSecret.js +12 -3
- package/codespacesOrganizationSecret.js.map +1 -1
- package/codespacesSecret.d.ts +14 -3
- package/codespacesSecret.js +14 -3
- package/codespacesSecret.js.map +1 -1
- package/codespacesUserSecret.d.ts +12 -3
- package/codespacesUserSecret.js +12 -3
- package/codespacesUserSecret.js.map +1 -1
- package/dependabotOrganizationSecret.d.ts +51 -2
- package/dependabotOrganizationSecret.js +51 -2
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.d.ts +3 -1
- package/dependabotOrganizationSecretRepositories.js +3 -1
- package/dependabotOrganizationSecretRepositories.js.map +1 -1
- package/dependabotOrganizationSecretRepository.d.ts +2 -0
- package/dependabotOrganizationSecretRepository.js +2 -0
- package/dependabotOrganizationSecretRepository.js.map +1 -1
- package/dependabotSecret.d.ts +50 -1
- package/dependabotSecret.js +50 -1
- package/dependabotSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +1 -1
- package/emuGroupMapping.js +1 -1
- package/getRepositories.d.ts +6 -0
- package/getRepositories.js.map +1 -1
- package/issueLabels.d.ts +13 -0
- package/issueLabels.js +13 -0
- package/issueLabels.js.map +1 -1
- package/organizationRoleTeamAssignment.d.ts +0 -6
- package/organizationRoleTeamAssignment.js +0 -6
- package/organizationRoleTeamAssignment.js.map +1 -1
- package/organizationRuleset.d.ts +1 -3
- package/organizationRuleset.js +1 -3
- package/organizationRuleset.js.map +1 -1
- package/organizationSecurityManager.d.ts +0 -6
- package/organizationSecurityManager.js +0 -6
- package/organizationSecurityManager.js.map +1 -1
- package/organizationWebhook.d.ts +1 -0
- package/organizationWebhook.js +1 -0
- package/organizationWebhook.js.map +1 -1
- package/package.json +2 -2
- package/repository.d.ts +6 -0
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +10 -0
- package/repositoryAutolinkReference.js +10 -0
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +27 -0
- package/repositoryCollaborator.js +27 -0
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryCollaborators.d.ts +27 -0
- package/repositoryCollaborators.js +27 -0
- package/repositoryCollaborators.js.map +1 -1
- package/repositoryDependabotSecurityUpdates.d.ts +2 -0
- package/repositoryDependabotSecurityUpdates.js +2 -0
- package/repositoryDependabotSecurityUpdates.js.map +1 -1
- package/repositoryDeployKey.d.ts +13 -0
- package/repositoryDeployKey.js +13 -0
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryDeploymentBranchPolicy.d.ts +0 -6
- package/repositoryDeploymentBranchPolicy.js +0 -6
- package/repositoryDeploymentBranchPolicy.js.map +1 -1
- package/repositoryFile.d.ts +5 -0
- package/repositoryFile.js +5 -0
- package/repositoryFile.js.map +1 -1
- package/repositoryRuleset.d.ts +1 -3
- package/repositoryRuleset.js +1 -3
- package/repositoryRuleset.js.map +1 -1
- package/repositoryTopics.d.ts +5 -0
- package/repositoryTopics.js +5 -0
- package/repositoryTopics.js.map +1 -1
- package/repositoryWebhook.d.ts +6 -0
- package/repositoryWebhook.js +6 -0
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +0 -3
- package/team.js +0 -3
- package/team.js.map +1 -1
- package/teamMembers.d.ts +15 -4
- package/teamMembers.js +15 -4
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +0 -3
- package/teamMembership.js +0 -3
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +18 -3
- package/teamRepository.js +18 -3
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +0 -1
- package/teamSettings.js +0 -1
- package/teamSettings.js.map +1 -1
- package/userGpgKey.d.ts +0 -1
- package/userGpgKey.js +0 -1
- package/userGpgKey.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryCollaborator.js","sourceRoot":"","sources":["../repositoryCollaborator.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryCollaborator.js","sourceRoot":"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I,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;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,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,EAAE,yBAAyB,CAAC;YAC9E,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,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,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAvFL,wDAwFC;AA1EG,gBAAgB;AACO,mCAAY,GAAG,4DAA4D,CAAC"}
|
|
@@ -2,6 +2,33 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* Provides a GitHub repository collaborators resource.
|
|
6
|
+
*
|
|
7
|
+
* > Note: github.RepositoryCollaborators cannot be used in conjunction with github.RepositoryCollaborator and
|
|
8
|
+
* github.TeamRepository or they will fight over what your policy should be.
|
|
9
|
+
*
|
|
10
|
+
* This resource allows you to manage all collaborators for repositories in your
|
|
11
|
+
* organization or personal account. For organization repositories, collaborators can
|
|
12
|
+
* have explicit (and differing levels of) read, write, or administrator access to
|
|
13
|
+
* specific repositories, without giving the user full organization membership.
|
|
14
|
+
* For personal repositories, collaborators can only be granted write
|
|
15
|
+
* (implicitly includes read) permission.
|
|
16
|
+
*
|
|
17
|
+
* When applied, an invitation will be sent to the user to become a collaborators
|
|
18
|
+
* on a repository. When destroyed, either the invitation will be cancelled or the
|
|
19
|
+
* collaborators will be removed from the repository.
|
|
20
|
+
*
|
|
21
|
+
* > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing collaborator modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
|
|
22
|
+
*
|
|
23
|
+
* This resource is authoritative. For adding a collaborator to a repo in a non-authoritative manner, use
|
|
24
|
+
* github.RepositoryCollaborator instead.
|
|
25
|
+
*
|
|
26
|
+
* Further documentation on GitHub collaborators:
|
|
27
|
+
*
|
|
28
|
+
* - [Adding outside collaborators to your personal repositories](https://help.github.com/en/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories)
|
|
29
|
+
* - [Adding outside collaborators to repositories in your organization](https://help.github.com/articles/adding-outside-collaborators-to-repositories-in-your-organization/)
|
|
30
|
+
* - [Converting an organization member to an outside collaborators](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)
|
|
31
|
+
*
|
|
5
32
|
* ## Example Usage
|
|
6
33
|
*
|
|
7
34
|
* ```typescript
|
|
@@ -6,6 +6,33 @@ exports.RepositoryCollaborators = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Provides a GitHub repository collaborators resource.
|
|
10
|
+
*
|
|
11
|
+
* > Note: github.RepositoryCollaborators cannot be used in conjunction with github.RepositoryCollaborator and
|
|
12
|
+
* github.TeamRepository or they will fight over what your policy should be.
|
|
13
|
+
*
|
|
14
|
+
* This resource allows you to manage all collaborators for repositories in your
|
|
15
|
+
* organization or personal account. For organization repositories, collaborators can
|
|
16
|
+
* have explicit (and differing levels of) read, write, or administrator access to
|
|
17
|
+
* specific repositories, without giving the user full organization membership.
|
|
18
|
+
* For personal repositories, collaborators can only be granted write
|
|
19
|
+
* (implicitly includes read) permission.
|
|
20
|
+
*
|
|
21
|
+
* When applied, an invitation will be sent to the user to become a collaborators
|
|
22
|
+
* on a repository. When destroyed, either the invitation will be cancelled or the
|
|
23
|
+
* collaborators will be removed from the repository.
|
|
24
|
+
*
|
|
25
|
+
* > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing collaborator modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
|
|
26
|
+
*
|
|
27
|
+
* This resource is authoritative. For adding a collaborator to a repo in a non-authoritative manner, use
|
|
28
|
+
* github.RepositoryCollaborator instead.
|
|
29
|
+
*
|
|
30
|
+
* Further documentation on GitHub collaborators:
|
|
31
|
+
*
|
|
32
|
+
* - [Adding outside collaborators to your personal repositories](https://help.github.com/en/github/setting-up-and-managing-your-github-user-account/managing-access-to-your-personal-repositories)
|
|
33
|
+
* - [Adding outside collaborators to repositories in your organization](https://help.github.com/articles/adding-outside-collaborators-to-repositories-in-your-organization/)
|
|
34
|
+
* - [Converting an organization member to an outside collaborators](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)
|
|
35
|
+
*
|
|
9
36
|
* ## Example Usage
|
|
10
37
|
*
|
|
11
38
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryCollaborators.js","sourceRoot":"","sources":["../repositoryCollaborators.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryCollaborators.js","sourceRoot":"","sources":["../repositoryCollaborators.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AA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gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAjFL,0DAkFC;AApEG,gBAAgB;AACO,oCAAY,GAAG,8DAA8D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryDependabotSecurityUpdates.js","sourceRoot":"","sources":["../repositoryDependabotSecurityUpdates.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryDependabotSecurityUpdates.js","sourceRoot":"","sources":["../repositoryDependabotSecurityUpdates.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,mCAAoC,SAAQ,MAAM,CAAC,cAAc;IAC1E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgD,EAAE,IAAmC;QAC9I,OAAO,IAAI,mCAAmC,CAAC,IAAI,EAAO,KAAK,EAAE,EA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C,CAAC;IACxF,CAAC;;AAjEL,kFAkEC;AApDG,gBAAgB;AACO,gDAAY,GAAG,sFAAsF,CAAC"}
|
package/repositoryDeployKey.d.ts
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Provides a GitHub repository deploy key resource.
|
|
4
|
+
*
|
|
5
|
+
* A deploy key is an SSH key that is stored on your server and grants
|
|
6
|
+
* access to a single GitHub repository. This key is attached directly to the repository instead of to a personal user
|
|
7
|
+
* account.
|
|
8
|
+
*
|
|
9
|
+
* This resource allows you to add/remove repository deploy keys.
|
|
10
|
+
*
|
|
11
|
+
* > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing deploy key modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
|
|
12
|
+
*
|
|
13
|
+
* Further documentation on GitHub repository deploy keys:
|
|
14
|
+
* - [About deploy keys](https://developer.github.com/guides/managing-deploy-keys/#deploy-keys)
|
|
15
|
+
*
|
|
3
16
|
* ## Example Usage
|
|
4
17
|
*
|
|
5
18
|
* ```typescript
|
package/repositoryDeployKey.js
CHANGED
|
@@ -6,6 +6,19 @@ exports.RepositoryDeployKey = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Provides a GitHub repository deploy key resource.
|
|
10
|
+
*
|
|
11
|
+
* A deploy key is an SSH key that is stored on your server and grants
|
|
12
|
+
* access to a single GitHub repository. This key is attached directly to the repository instead of to a personal user
|
|
13
|
+
* account.
|
|
14
|
+
*
|
|
15
|
+
* This resource allows you to add/remove repository deploy keys.
|
|
16
|
+
*
|
|
17
|
+
* > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing deploy key modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
|
|
18
|
+
*
|
|
19
|
+
* Further documentation on GitHub repository deploy keys:
|
|
20
|
+
* - [About deploy keys](https://developer.github.com/guides/managing-deploy-keys/#deploy-keys)
|
|
21
|
+
*
|
|
9
22
|
* ## Example Usage
|
|
10
23
|
*
|
|
11
24
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryDeployKey.js","sourceRoot":"","sources":["../repositoryDeployKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryDeployKey.js","sourceRoot":"","sources":["../repositoryDeployKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IA8BD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAA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AK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AArFL,kDAsFC;AAxEG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -28,12 +28,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
28
|
* ```
|
|
29
29
|
*
|
|
30
30
|
* ## Import
|
|
31
|
-
*
|
|
32
|
-
* text
|
|
33
|
-
*
|
|
34
|
-
* ```sh
|
|
35
|
-
* $ pulumi import github:index/repositoryDeploymentBranchPolicy:RepositoryDeploymentBranchPolicy foo repo:env:id
|
|
36
|
-
* ```
|
|
37
31
|
*/
|
|
38
32
|
export declare class RepositoryDeploymentBranchPolicy extends pulumi.CustomResource {
|
|
39
33
|
/**
|
|
@@ -34,12 +34,6 @@ const utilities = require("./utilities");
|
|
|
34
34
|
* ```
|
|
35
35
|
*
|
|
36
36
|
* ## Import
|
|
37
|
-
*
|
|
38
|
-
* text
|
|
39
|
-
*
|
|
40
|
-
* ```sh
|
|
41
|
-
* $ pulumi import github:index/repositoryDeploymentBranchPolicy:RepositoryDeploymentBranchPolicy foo repo:env:id
|
|
42
|
-
* ```
|
|
43
37
|
*/
|
|
44
38
|
class RepositoryDeploymentBranchPolicy extends pulumi.CustomResource {
|
|
45
39
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryDeploymentBranchPolicy.js","sourceRoot":"","sources":["../repositoryDeploymentBranchPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryDeploymentBranchPolicy.js","sourceRoot":"","sources":["../repositoryDeploymentBranchPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gCAAgC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrF,CAAC;;AA7EL,4EA8EC;AAhEG,gBAAgB;AACO,6CAAY,GAAG,gFAAgF,CAAC"}
|
package/repositoryFile.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* This resource allows you to create and manage files within a
|
|
4
|
+
* GitHub repository.
|
|
5
|
+
*
|
|
6
|
+
* > **Note:** When a repository is archived, Terraform will skip deletion of repository files to avoid API errors, as archived repositories are read-only. The files will be removed from Terraform state without attempting to delete them from GitHub.
|
|
7
|
+
*
|
|
3
8
|
* ## Example Usage
|
|
4
9
|
*
|
|
5
10
|
* ### Existing Branch
|
package/repositoryFile.js
CHANGED
|
@@ -6,6 +6,11 @@ exports.RepositoryFile = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* This resource allows you to create and manage files within a
|
|
10
|
+
* GitHub repository.
|
|
11
|
+
*
|
|
12
|
+
* > **Note:** When a repository is archived, Terraform will skip deletion of repository files to avoid API errors, as archived repositories are read-only. The files will be removed from Terraform state without attempting to delete them from GitHub.
|
|
13
|
+
*
|
|
9
14
|
* ## Example Usage
|
|
10
15
|
*
|
|
11
16
|
* ### Existing Branch
|
package/repositoryFile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryFile.js","sourceRoot":"","sources":["../repositoryFile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryFile.js","sourceRoot":"","sources":["../repositoryFile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IA8ED,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAA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gB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/repositoryRuleset.d.ts
CHANGED
|
@@ -84,9 +84,7 @@ import * as outputs from "./types/output";
|
|
|
84
84
|
*
|
|
85
85
|
* GitHub Repository Rulesets can be imported using the GitHub repository name and ruleset ID e.g.
|
|
86
86
|
*
|
|
87
|
-
*
|
|
88
|
-
* $ pulumi import github:index/repositoryRuleset:RepositoryRuleset example example:12345`
|
|
89
|
-
* ```
|
|
87
|
+
* `$ terraform import github_repository_ruleset.example example:12345`
|
|
90
88
|
*/
|
|
91
89
|
export declare class RepositoryRuleset extends pulumi.CustomResource {
|
|
92
90
|
/**
|
package/repositoryRuleset.js
CHANGED
|
@@ -88,9 +88,7 @@ const utilities = require("./utilities");
|
|
|
88
88
|
*
|
|
89
89
|
* GitHub Repository Rulesets can be imported using the GitHub repository name and ruleset ID e.g.
|
|
90
90
|
*
|
|
91
|
-
*
|
|
92
|
-
* $ pulumi import github:index/repositoryRuleset:RepositoryRuleset example example:12345`
|
|
93
|
-
* ```
|
|
91
|
+
* `$ terraform import github_repository_ruleset.example example:12345`
|
|
94
92
|
*/
|
|
95
93
|
class RepositoryRuleset extends pulumi.CustomResource {
|
|
96
94
|
/**
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFG;AACH,MAAa,iBAAkB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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;;AAvHL,8CAwHC;AA1GG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
package/repositoryTopics.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* This resource allows you to create and manage topics for repositories within your GitHub organization or personal account.
|
|
4
|
+
*
|
|
5
|
+
* > Note: This resource is not compatible with the `topic` attribute of the `github.Repository` Use either ``github.RepositoryTopics``
|
|
6
|
+
* or ``topic`` in ``github.Repository``. `github.RepositoryTopics` is only meant to be used if the repository itself is not handled via terraform, for example if it's only read as a datasource (see issue #1845).
|
|
7
|
+
*
|
|
3
8
|
* ## Example Usage
|
|
4
9
|
*
|
|
5
10
|
* ```typescript
|
package/repositoryTopics.js
CHANGED
|
@@ -6,6 +6,11 @@ exports.RepositoryTopics = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* This resource allows you to create and manage topics for repositories within your GitHub organization or personal account.
|
|
10
|
+
*
|
|
11
|
+
* > Note: This resource is not compatible with the `topic` attribute of the `github.Repository` Use either ``github.RepositoryTopics``
|
|
12
|
+
* or ``topic`` in ``github.Repository``. `github.RepositoryTopics` is only meant to be used if the repository itself is not handled via terraform, for example if it's only read as a datasource (see issue #1845).
|
|
13
|
+
*
|
|
9
14
|
* ## Example Usage
|
|
10
15
|
*
|
|
11
16
|
* ```typescript
|
package/repositoryTopics.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryTopics.js","sourceRoot":"","sources":["../repositoryTopics.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryTopics.js","sourceRoot":"","sources":["../repositoryTopics.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAjEL,4CAkEC;AApDG,gBAAgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
|
package/repositoryWebhook.d.ts
CHANGED
|
@@ -2,6 +2,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* This resource allows you to create and manage webhooks for repositories within your
|
|
6
|
+
* GitHub organization or personal account.
|
|
7
|
+
*
|
|
8
|
+
* > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing webhook modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
|
|
9
|
+
*
|
|
5
10
|
* ## Example Usage
|
|
6
11
|
*
|
|
7
12
|
* ```typescript
|
|
@@ -36,6 +41,7 @@ import * as outputs from "./types/output";
|
|
|
36
41
|
* ```sh
|
|
37
42
|
* $ pulumi import github:index/repositoryWebhook:RepositoryWebhook terraform terraform/11235813
|
|
38
43
|
* ```
|
|
44
|
+
*
|
|
39
45
|
* If secret is populated in the webhook's configuration, the value will be imported as "********".
|
|
40
46
|
*/
|
|
41
47
|
export declare class RepositoryWebhook extends pulumi.CustomResource {
|
package/repositoryWebhook.js
CHANGED
|
@@ -6,6 +6,11 @@ exports.RepositoryWebhook = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* This resource allows you to create and manage webhooks for repositories within your
|
|
10
|
+
* GitHub organization or personal account.
|
|
11
|
+
*
|
|
12
|
+
* > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing webhook modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
|
|
13
|
+
*
|
|
9
14
|
* ## Example Usage
|
|
10
15
|
*
|
|
11
16
|
* ```typescript
|
|
@@ -40,6 +45,7 @@ const utilities = require("./utilities");
|
|
|
40
45
|
* ```sh
|
|
41
46
|
* $ pulumi import github:index/repositoryWebhook:RepositoryWebhook terraform terraform/11235813
|
|
42
47
|
* ```
|
|
48
|
+
*
|
|
43
49
|
* If secret is populated in the webhook's configuration, the value will be imported as "********".
|
|
44
50
|
*/
|
|
45
51
|
class RepositoryWebhook extends pulumi.CustomResource {
|
package/repositoryWebhook.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryWebhook.js","sourceRoot":"","sources":["../repositoryWebhook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryWebhook.js","sourceRoot":"","sources":["../repositoryWebhook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;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C,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;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;;AAtFL,8CAuFC;AAzEG,gBAAgB;AACO,8BAAY,GAAG,kDAAkD,CAAC"}
|
package/team.d.ts
CHANGED
package/team.js
CHANGED
package/team.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team.js","sourceRoot":"","sources":["../team.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"team.js","sourceRoot":"","sources":["../team.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;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,CAAC"}
|
package/teamMembers.d.ts
CHANGED
|
@@ -2,6 +2,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* Provides a GitHub team members resource.
|
|
6
|
+
*
|
|
7
|
+
* This resource allows you to manage members of teams in your organization. It sets the requested team members for the team and removes all users not managed by Terraform.
|
|
8
|
+
*
|
|
9
|
+
* When applied, if the user hasn't accepted their invitation to the organization, they won't be part of the team until they do.
|
|
10
|
+
*
|
|
11
|
+
* When destroyed, all users will be removed from the team.
|
|
12
|
+
*
|
|
13
|
+
* > **Note** This resource is not compatible with `github.TeamMembership`. Use either `github.TeamMembers` or `github.TeamMembership`.
|
|
14
|
+
*
|
|
15
|
+
* > **Note** You can accidentally lock yourself out of your team using this resource. Deleting a `github.TeamMembers` resource removes access from anyone without organization-level access to the team. Proceed with caution. It should generally only be used with teams fully managed by Terraform.
|
|
16
|
+
*
|
|
17
|
+
* > **Note** Attempting to set a user who is an organization owner to "member" will result in the user being granted "maintainer" instead; this can result in a perpetual `terraform plan` diff that changes their status back to "member".
|
|
18
|
+
*
|
|
5
19
|
* ## Example Usage
|
|
6
20
|
*
|
|
7
21
|
* ```typescript
|
|
@@ -38,15 +52,12 @@ import * as outputs from "./types/output";
|
|
|
38
52
|
*
|
|
39
53
|
* ## Import
|
|
40
54
|
*
|
|
41
|
-
*
|
|
55
|
+
* > **Note** Although the team id or team slug can be used it is recommended to use the team id. Using the team slug will result in terraform doing conversions between the team slug and team id. This will cause team members associations to the team to be destroyed and recreated on import.
|
|
42
56
|
*
|
|
43
57
|
* GitHub Team Membership can be imported using the team ID team id or team slug, e.g.
|
|
44
58
|
*
|
|
45
59
|
* ```sh
|
|
46
60
|
* $ pulumi import github:index/teamMembers:TeamMembers some_team 1234567
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* ```sh
|
|
50
61
|
* $ pulumi import github:index/teamMembers:TeamMembers some_team Administrators
|
|
51
62
|
* ```
|
|
52
63
|
*/
|
package/teamMembers.js
CHANGED
|
@@ -6,6 +6,20 @@ exports.TeamMembers = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Provides a GitHub team members resource.
|
|
10
|
+
*
|
|
11
|
+
* This resource allows you to manage members of teams in your organization. It sets the requested team members for the team and removes all users not managed by Terraform.
|
|
12
|
+
*
|
|
13
|
+
* When applied, if the user hasn't accepted their invitation to the organization, they won't be part of the team until they do.
|
|
14
|
+
*
|
|
15
|
+
* When destroyed, all users will be removed from the team.
|
|
16
|
+
*
|
|
17
|
+
* > **Note** This resource is not compatible with `github.TeamMembership`. Use either `github.TeamMembers` or `github.TeamMembership`.
|
|
18
|
+
*
|
|
19
|
+
* > **Note** You can accidentally lock yourself out of your team using this resource. Deleting a `github.TeamMembers` resource removes access from anyone without organization-level access to the team. Proceed with caution. It should generally only be used with teams fully managed by Terraform.
|
|
20
|
+
*
|
|
21
|
+
* > **Note** Attempting to set a user who is an organization owner to "member" will result in the user being granted "maintainer" instead; this can result in a perpetual `terraform plan` diff that changes their status back to "member".
|
|
22
|
+
*
|
|
9
23
|
* ## Example Usage
|
|
10
24
|
*
|
|
11
25
|
* ```typescript
|
|
@@ -42,15 +56,12 @@ const utilities = require("./utilities");
|
|
|
42
56
|
*
|
|
43
57
|
* ## Import
|
|
44
58
|
*
|
|
45
|
-
*
|
|
59
|
+
* > **Note** Although the team id or team slug can be used it is recommended to use the team id. Using the team slug will result in terraform doing conversions between the team slug and team id. This will cause team members associations to the team to be destroyed and recreated on import.
|
|
46
60
|
*
|
|
47
61
|
* GitHub Team Membership can be imported using the team ID team id or team slug, e.g.
|
|
48
62
|
*
|
|
49
63
|
* ```sh
|
|
50
64
|
* $ pulumi import github:index/teamMembers:TeamMembers some_team 1234567
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* ```sh
|
|
54
65
|
* $ pulumi import github:index/teamMembers:TeamMembers some_team Administrators
|
|
55
66
|
* ```
|
|
56
67
|
*/
|
package/teamMembers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teamMembers.js","sourceRoot":"","sources":["../teamMembers.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"teamMembers.js","sourceRoot":"","sources":["../teamMembers.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;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;IAqBD,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,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAA0C,CAAC;YACxD,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,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;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;;AAnEL,kCAoEC;AAtDG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
package/teamMembership.d.ts
CHANGED
|
@@ -39,9 +39,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
39
39
|
*
|
|
40
40
|
* ```sh
|
|
41
41
|
* $ pulumi import github:index/teamMembership:TeamMembership member 1234567:someuser
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* ```sh
|
|
45
42
|
* $ pulumi import github:index/teamMembership:TeamMembership member Administrators:someuser
|
|
46
43
|
* ```
|
|
47
44
|
*/
|
package/teamMembership.js
CHANGED
|
@@ -45,9 +45,6 @@ const utilities = require("./utilities");
|
|
|
45
45
|
*
|
|
46
46
|
* ```sh
|
|
47
47
|
* $ pulumi import github:index/teamMembership:TeamMembership member 1234567:someuser
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* ```sh
|
|
51
48
|
* $ pulumi import github:index/teamMembership:TeamMembership member Administrators:someuser
|
|
52
49
|
* ```
|
|
53
50
|
*/
|
package/teamMembership.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teamMembership.js","sourceRoot":"","sources":["../teamMembership.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"teamMembership.js","sourceRoot":"","sources":["../teamMembership.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAyBD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;SAChD;aAAM;YACH,MAAM,IAAI,GAAG,WAA6C,CAAC;YAC3D,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;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,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,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,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA3EL,wCA4EC;AA9DG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
package/teamRepository.d.ts
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* > Note: github.TeamRepository cannot be used in conjunction with github.RepositoryCollaborators or
|
|
4
|
+
* they will fight over what your policy should be.
|
|
5
|
+
*
|
|
6
|
+
* This resource manages relationships between teams and repositories
|
|
7
|
+
* in your GitHub organization.
|
|
8
|
+
*
|
|
9
|
+
* Creating this resource grants a particular team permissions on a
|
|
10
|
+
* particular repository.
|
|
11
|
+
*
|
|
12
|
+
* The repository and the team must both belong to the same organization
|
|
13
|
+
* on GitHub. This resource does not actually *create* any repositories;
|
|
14
|
+
* to do that, see `github.Repository`.
|
|
15
|
+
*
|
|
16
|
+
* > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing team permission modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
|
|
17
|
+
*
|
|
18
|
+
* This resource is non-authoritative, for managing ALL collaborators of a repo, use github.RepositoryCollaborators
|
|
19
|
+
* instead.
|
|
20
|
+
*
|
|
3
21
|
* ## Example Usage
|
|
4
22
|
*
|
|
5
23
|
* ```typescript
|
|
@@ -25,9 +43,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
25
43
|
*
|
|
26
44
|
* ```sh
|
|
27
45
|
* $ pulumi import github:index/teamRepository:TeamRepository terraform_repo 1234567:terraform
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* ```sh
|
|
31
46
|
* $ pulumi import github:index/teamRepository:TeamRepository terraform_repo Administrators:terraform
|
|
32
47
|
* ```
|
|
33
48
|
*/
|
package/teamRepository.js
CHANGED
|
@@ -6,6 +6,24 @@ exports.TeamRepository = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > Note: github.TeamRepository cannot be used in conjunction with github.RepositoryCollaborators or
|
|
10
|
+
* they will fight over what your policy should be.
|
|
11
|
+
*
|
|
12
|
+
* This resource manages relationships between teams and repositories
|
|
13
|
+
* in your GitHub organization.
|
|
14
|
+
*
|
|
15
|
+
* Creating this resource grants a particular team permissions on a
|
|
16
|
+
* particular repository.
|
|
17
|
+
*
|
|
18
|
+
* The repository and the team must both belong to the same organization
|
|
19
|
+
* on GitHub. This resource does not actually *create* any repositories;
|
|
20
|
+
* to do that, see `github.Repository`.
|
|
21
|
+
*
|
|
22
|
+
* > **Note on Archived Repositories**: When a repository is archived, GitHub makes it read-only, preventing team permission modifications. If you attempt to destroy resources associated with archived repositories, the provider will gracefully handle the operation by logging an informational message and removing the resource from Terraform state without attempting to modify the archived repository.
|
|
23
|
+
*
|
|
24
|
+
* This resource is non-authoritative, for managing ALL collaborators of a repo, use github.RepositoryCollaborators
|
|
25
|
+
* instead.
|
|
26
|
+
*
|
|
9
27
|
* ## Example Usage
|
|
10
28
|
*
|
|
11
29
|
* ```typescript
|
|
@@ -31,9 +49,6 @@ const utilities = require("./utilities");
|
|
|
31
49
|
*
|
|
32
50
|
* ```sh
|
|
33
51
|
* $ pulumi import github:index/teamRepository:TeamRepository terraform_repo 1234567:terraform
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* ```sh
|
|
37
52
|
* $ pulumi import github:index/teamRepository:TeamRepository terraform_repo Administrators:terraform
|
|
38
53
|
* ```
|
|
39
54
|
*/
|