@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":"dependabotOrganizationSecretRepositories.js","sourceRoot":"","sources":["../dependabotOrganizationSecretRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dependabotOr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SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxD,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;aACxE;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wCAAwC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7F,CAAC;;AAjEL,4FAkEC;AApDG,gBAAgB;AACO,qDAAY,GAAG,gGAAgG,CAAC"}
|
|
@@ -28,6 +28,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
28
28
|
*
|
|
29
29
|
* ## Import
|
|
30
30
|
*
|
|
31
|
+
* This resource can be imported using an ID made of the secret name and repository name separated by a `:`.
|
|
32
|
+
*
|
|
31
33
|
* ### Import Command
|
|
32
34
|
*
|
|
33
35
|
* The following command imports the access of repository ID `123456` for the Dependabot organization secret named `mysecret` to a `v` resource named `example`.
|
|
@@ -34,6 +34,8 @@ const utilities = require("./utilities");
|
|
|
34
34
|
*
|
|
35
35
|
* ## Import
|
|
36
36
|
*
|
|
37
|
+
* This resource can be imported using an ID made of the secret name and repository name separated by a `:`.
|
|
38
|
+
*
|
|
37
39
|
* ### Import Command
|
|
38
40
|
*
|
|
39
41
|
* The following command imports the access of repository ID `123456` for the Dependabot organization secret named `mysecret` to a `v` resource named `example`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependabotOrganizationSecretRepository.js","sourceRoot":"","sources":["../dependabotOrganizationSecretRepository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"d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,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,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,sCAAsC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3F,CAAC;;AAjEL,wFAkEC;AApDG,gBAAgB;AACO,mDAAY,GAAG,4FAA4F,CAAC"}
|
package/dependabotSecret.d.ts
CHANGED
|
@@ -1,10 +1,59 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* This resource allows you to create and manage GitHub Dependabot secrets within your GitHub repositories.
|
|
4
|
+
* You must have write access to a repository to use this resource.
|
|
5
|
+
*
|
|
6
|
+
* Secret values are encrypted using the [Go '/crypto/box' module](https://godoc.org/golang.org/x/crypto/nacl/box) which is
|
|
7
|
+
* interoperable with [libsodium](https://libsodium.gitbook.io/doc/). Libsodium is used by GitHub to decrypt secret values.
|
|
8
|
+
*
|
|
9
|
+
* For the purposes of security, the contents of the `plaintextValue` field have been marked as `sensitive` to Terraform,
|
|
10
|
+
* but it is important to note that **this does not hide it from state files**. You should treat state as sensitive always.
|
|
11
|
+
* It is also advised that you do not store plaintext values in your code but rather populate the `encryptedValue`
|
|
12
|
+
* using fields from a resource, data source or variable as, while encrypted in state, these will be easily accessible
|
|
13
|
+
* in your code. See below for an example of this abstraction.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as github from "@pulumi/github";
|
|
20
|
+
*
|
|
21
|
+
* const examplePlaintext = new github.DependabotSecret("example_plaintext", {
|
|
22
|
+
* repository: "example_repository",
|
|
23
|
+
* secretName: "example_secret_name",
|
|
24
|
+
* plaintextValue: someSecretString,
|
|
25
|
+
* });
|
|
26
|
+
* const exampleEncrypted = new github.DependabotSecret("example_encrypted", {
|
|
27
|
+
* repository: "example_repository",
|
|
28
|
+
* secretName: "example_secret_name",
|
|
29
|
+
* encryptedValue: someEncryptedSecretString,
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Example Lifecycle Ignore Changes
|
|
34
|
+
*
|
|
35
|
+
* This resource supports using the `lifecycle` `ignoreChanges` block on `remoteUpdatedAt` to support use cases where a secret value is created using a placeholder value and then modified after creation outside the scope of Terraform. This approach ensures only the initial placeholder value is referenced in your code and in the resulting state file.
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as github from "@pulumi/github";
|
|
40
|
+
*
|
|
41
|
+
* const exampleAllowDrift = new github.DependabotSecret("example_allow_drift", {
|
|
42
|
+
* repository: "example_repository",
|
|
43
|
+
* secretName: "example_secret_name",
|
|
44
|
+
* plaintextValue: "placeholder",
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
3
48
|
* ## Import
|
|
4
49
|
*
|
|
50
|
+
* This resource can be imported using an ID made of the repository name, and secret name separated by a `:`.
|
|
51
|
+
*
|
|
52
|
+
* > **Note**: When importing secrets, the `plaintextValue` or `encryptedValue` fields will not be populated in the state. You may need to ignore changes for these as a workaround if you're not planning on updating the secret through Terraform.
|
|
53
|
+
*
|
|
5
54
|
* ### Import Command
|
|
6
55
|
*
|
|
7
|
-
* The following command imports a GitHub Dependabot secret named `mysecret` for the repo `myrepo` to a `
|
|
56
|
+
* The following command imports a GitHub Dependabot secret named `mysecret` for the repo `myrepo` to a `github.DependabotSecret` resource named `example`.
|
|
8
57
|
*
|
|
9
58
|
* ```sh
|
|
10
59
|
* $ pulumi import github:index/dependabotSecret:DependabotSecret example myrepo:mysecret
|
package/dependabotSecret.js
CHANGED
|
@@ -6,11 +6,60 @@ exports.DependabotSecret = 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 GitHub Dependabot secrets within your GitHub repositories.
|
|
10
|
+
* You must have write access to a repository to use this resource.
|
|
11
|
+
*
|
|
12
|
+
* Secret values are encrypted using the [Go '/crypto/box' module](https://godoc.org/golang.org/x/crypto/nacl/box) which is
|
|
13
|
+
* interoperable with [libsodium](https://libsodium.gitbook.io/doc/). Libsodium is used by GitHub to decrypt secret values.
|
|
14
|
+
*
|
|
15
|
+
* For the purposes of security, the contents of the `plaintextValue` field have been marked as `sensitive` to Terraform,
|
|
16
|
+
* but it is important to note that **this does not hide it from state files**. You should treat state as sensitive always.
|
|
17
|
+
* It is also advised that you do not store plaintext values in your code but rather populate the `encryptedValue`
|
|
18
|
+
* using fields from a resource, data source or variable as, while encrypted in state, these will be easily accessible
|
|
19
|
+
* in your code. See below for an example of this abstraction.
|
|
20
|
+
*
|
|
21
|
+
* ## Example Usage
|
|
22
|
+
*
|
|
23
|
+
* ```typescript
|
|
24
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
25
|
+
* import * as github from "@pulumi/github";
|
|
26
|
+
*
|
|
27
|
+
* const examplePlaintext = new github.DependabotSecret("example_plaintext", {
|
|
28
|
+
* repository: "example_repository",
|
|
29
|
+
* secretName: "example_secret_name",
|
|
30
|
+
* plaintextValue: someSecretString,
|
|
31
|
+
* });
|
|
32
|
+
* const exampleEncrypted = new github.DependabotSecret("example_encrypted", {
|
|
33
|
+
* repository: "example_repository",
|
|
34
|
+
* secretName: "example_secret_name",
|
|
35
|
+
* encryptedValue: someEncryptedSecretString,
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ## Example Lifecycle Ignore Changes
|
|
40
|
+
*
|
|
41
|
+
* This resource supports using the `lifecycle` `ignoreChanges` block on `remoteUpdatedAt` to support use cases where a secret value is created using a placeholder value and then modified after creation outside the scope of Terraform. This approach ensures only the initial placeholder value is referenced in your code and in the resulting state file.
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as github from "@pulumi/github";
|
|
46
|
+
*
|
|
47
|
+
* const exampleAllowDrift = new github.DependabotSecret("example_allow_drift", {
|
|
48
|
+
* repository: "example_repository",
|
|
49
|
+
* secretName: "example_secret_name",
|
|
50
|
+
* plaintextValue: "placeholder",
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
9
54
|
* ## Import
|
|
10
55
|
*
|
|
56
|
+
* This resource can be imported using an ID made of the repository name, and secret name separated by a `:`.
|
|
57
|
+
*
|
|
58
|
+
* > **Note**: When importing secrets, the `plaintextValue` or `encryptedValue` fields will not be populated in the state. You may need to ignore changes for these as a workaround if you're not planning on updating the secret through Terraform.
|
|
59
|
+
*
|
|
11
60
|
* ### Import Command
|
|
12
61
|
*
|
|
13
|
-
* The following command imports a GitHub Dependabot secret named `mysecret` for the repo `myrepo` to a `
|
|
62
|
+
* The following command imports a GitHub Dependabot secret named `mysecret` for the repo `myrepo` to a `github.DependabotSecret` resource named `example`.
|
|
14
63
|
*
|
|
15
64
|
* ```sh
|
|
16
65
|
* $ pulumi import github:index/dependabotSecret:DependabotSecret example myrepo:mysecret
|
package/dependabotSecret.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependabotSecret.js","sourceRoot":"","sources":["../dependabotSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dependabotSec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SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,EAAE,CAAC;QACrF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA/GL,4CAgHC;AAlGG,gBAAgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
|
package/emuGroupMapping.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
*
|
|
17
17
|
* ## Import
|
|
18
18
|
*
|
|
19
|
-
* GitHub EMU External Group Mappings can be imported using the `
|
|
19
|
+
* GitHub EMU External Group Mappings can be imported using the `teamSlug` and external `groupId` separated by a colon, e.g.
|
|
20
20
|
*
|
|
21
21
|
* ```sh
|
|
22
22
|
* $ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping emu-test-team:28836
|
package/emuGroupMapping.js
CHANGED
|
@@ -22,7 +22,7 @@ const utilities = require("./utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* ## Import
|
|
24
24
|
*
|
|
25
|
-
* GitHub EMU External Group Mappings can be imported using the `
|
|
25
|
+
* GitHub EMU External Group Mappings can be imported using the `teamSlug` and external `groupId` separated by a colon, e.g.
|
|
26
26
|
*
|
|
27
27
|
* ```sh
|
|
28
28
|
* $ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping emu-test-team:28836
|
package/getRepositories.d.ts
CHANGED
|
@@ -43,12 +43,18 @@ export interface GetRepositoriesArgs {
|
|
|
43
43
|
* A collection of values returned by getRepositories.
|
|
44
44
|
*/
|
|
45
45
|
export interface GetRepositoriesResult {
|
|
46
|
+
/**
|
|
47
|
+
* A list of full names of found repositories (e.g. `hashicorp/terraform`)
|
|
48
|
+
*/
|
|
46
49
|
readonly fullNames: string[];
|
|
47
50
|
/**
|
|
48
51
|
* The provider-assigned unique ID for this managed resource.
|
|
49
52
|
*/
|
|
50
53
|
readonly id: string;
|
|
51
54
|
readonly includeRepoId?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* A list of found repository names (e.g. `terraform`)
|
|
57
|
+
*/
|
|
52
58
|
readonly names: string[];
|
|
53
59
|
readonly query: string;
|
|
54
60
|
/**
|
package/getRepositories.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepositories.js","sourceRoot":"","sources":["../getRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;
|
|
1
|
+
{"version":3,"file":"getRepositories.js","sourceRoot":"","sources":["../getRepositories.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0CAQC;AAiDD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAAiC;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE;QAC/E,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC"}
|
package/issueLabels.d.ts
CHANGED
|
@@ -2,6 +2,19 @@ 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 GitHub issue labels resource.
|
|
6
|
+
*
|
|
7
|
+
* This resource allows you to create and manage issue labels within your
|
|
8
|
+
* GitHub organization.
|
|
9
|
+
*
|
|
10
|
+
* > Note: github.IssueLabels cannot be used in conjunction with github.IssueLabel or they will fight over what your policy should be.
|
|
11
|
+
*
|
|
12
|
+
* This resource is authoritative. For adding a label to a repo in a non-authoritative manner, use github.IssueLabel instead.
|
|
13
|
+
*
|
|
14
|
+
* If you change the case of a label's name, its' color, or description, this resource will edit the existing label to match the new values. However, if you change the name of a label, this resource will create a new label with the new name and delete the old label. Beware that this will remove the label from any issues it was previously attached to.
|
|
15
|
+
*
|
|
16
|
+
* > **Note:** When a repository is archived, Terraform will skip deletion of issue labels to avoid API errors, as archived repositories are read-only. The labels will be removed from Terraform state without attempting to delete them from GitHub.
|
|
17
|
+
*
|
|
5
18
|
* ## Example Usage
|
|
6
19
|
*
|
|
7
20
|
* ```typescript
|
package/issueLabels.js
CHANGED
|
@@ -6,6 +6,19 @@ exports.IssueLabels = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Provides GitHub issue labels resource.
|
|
10
|
+
*
|
|
11
|
+
* This resource allows you to create and manage issue labels within your
|
|
12
|
+
* GitHub organization.
|
|
13
|
+
*
|
|
14
|
+
* > Note: github.IssueLabels cannot be used in conjunction with github.IssueLabel or they will fight over what your policy should be.
|
|
15
|
+
*
|
|
16
|
+
* This resource is authoritative. For adding a label to a repo in a non-authoritative manner, use github.IssueLabel instead.
|
|
17
|
+
*
|
|
18
|
+
* If you change the case of a label's name, its' color, or description, this resource will edit the existing label to match the new values. However, if you change the name of a label, this resource will create a new label with the new name and delete the old label. Beware that this will remove the label from any issues it was previously attached to.
|
|
19
|
+
*
|
|
20
|
+
* > **Note:** When a repository is archived, Terraform will skip deletion of issue labels to avoid API errors, as archived repositories are read-only. The labels will be removed from Terraform state without attempting to delete them from GitHub.
|
|
21
|
+
*
|
|
9
22
|
* ## Example Usage
|
|
10
23
|
*
|
|
11
24
|
* ```typescript
|
package/issueLabels.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issueLabels.js","sourceRoot":"","sources":["../issueLabels.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AA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AG,IAAI,EAAE,MAAM,CAAC;YACxC,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,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA9DL,kCA+DC;AAjDG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -26,12 +26,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
26
26
|
* ## Import
|
|
27
27
|
*
|
|
28
28
|
* GitHub Team Organization Role Assignment can be imported using an ID made up of `team_slug:role_id`
|
|
29
|
-
*
|
|
30
|
-
* text
|
|
31
|
-
*
|
|
32
|
-
* ```sh
|
|
33
|
-
* $ pulumi import github:index/organizationRoleTeamAssignment:OrganizationRoleTeamAssignment role_assignment test-team:8132
|
|
34
|
-
* ```
|
|
35
29
|
*/
|
|
36
30
|
export declare class OrganizationRoleTeamAssignment extends pulumi.CustomResource {
|
|
37
31
|
/**
|
|
@@ -32,12 +32,6 @@ const utilities = require("./utilities");
|
|
|
32
32
|
* ## Import
|
|
33
33
|
*
|
|
34
34
|
* GitHub Team Organization Role Assignment can be imported using an ID made up of `team_slug:role_id`
|
|
35
|
-
*
|
|
36
|
-
* text
|
|
37
|
-
*
|
|
38
|
-
* ```sh
|
|
39
|
-
* $ pulumi import github:index/organizationRoleTeamAssignment:OrganizationRoleTeamAssignment role_assignment test-team:8132
|
|
40
|
-
* ```
|
|
41
35
|
*/
|
|
42
36
|
class OrganizationRoleTeamAssignment extends pulumi.CustomResource {
|
|
43
37
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationRoleTeamAssignment.js","sourceRoot":"","sources":["../organizationRoleTeamAssignment.ts"],"names":[],"mappings":";AAAA,sEAAsE;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AoC,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,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,8BAA8B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;;AAjEL,wEAkEC;AApDG,gBAAgB;AACO,2CAAY,GAAG,4EAA4E,CAAC"}
|
package/organizationRuleset.d.ts
CHANGED
|
@@ -96,9 +96,7 @@ import * as outputs from "./types/output";
|
|
|
96
96
|
*
|
|
97
97
|
* GitHub Organization Rulesets can be imported using the GitHub ruleset ID e.g.
|
|
98
98
|
*
|
|
99
|
-
*
|
|
100
|
-
* $ pulumi import github:index/organizationRuleset:OrganizationRuleset example 12345`
|
|
101
|
-
* ```
|
|
99
|
+
* `$ terraform import github_organization_ruleset.example 12345`
|
|
102
100
|
*/
|
|
103
101
|
export declare class OrganizationRuleset extends pulumi.CustomResource {
|
|
104
102
|
/**
|
package/organizationRuleset.js
CHANGED
|
@@ -100,9 +100,7 @@ const utilities = require("./utilities");
|
|
|
100
100
|
*
|
|
101
101
|
* GitHub Organization Rulesets can be imported using the GitHub ruleset ID e.g.
|
|
102
102
|
*
|
|
103
|
-
*
|
|
104
|
-
* $ pulumi import github:index/organizationRuleset:OrganizationRuleset example 12345`
|
|
105
|
-
* ```
|
|
103
|
+
* `$ terraform import github_organization_ruleset.example 12345`
|
|
106
104
|
*/
|
|
107
105
|
class OrganizationRuleset extends pulumi.CustomResource {
|
|
108
106
|
/**
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGG;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;IA+CD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,YAAY,C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C,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,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA9GL,kDA+GC;AAjGG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -18,12 +18,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
18
|
* ## Import
|
|
19
19
|
*
|
|
20
20
|
* GitHub Security Manager Teams can be imported using the GitHub team ID e.g.
|
|
21
|
-
*
|
|
22
|
-
* text
|
|
23
|
-
*
|
|
24
|
-
* ```sh
|
|
25
|
-
* $ pulumi import github:index/organizationSecurityManager:OrganizationSecurityManager core 1234567
|
|
26
|
-
* ```
|
|
27
21
|
*/
|
|
28
22
|
export declare class OrganizationSecurityManager extends pulumi.CustomResource {
|
|
29
23
|
/**
|
|
@@ -24,12 +24,6 @@ const utilities = require("./utilities");
|
|
|
24
24
|
* ## Import
|
|
25
25
|
*
|
|
26
26
|
* GitHub Security Manager Teams can be imported using the GitHub team ID e.g.
|
|
27
|
-
*
|
|
28
|
-
* text
|
|
29
|
-
*
|
|
30
|
-
* ```sh
|
|
31
|
-
* $ pulumi import github:index/organizationSecurityManager:OrganizationSecurityManager core 1234567
|
|
32
|
-
* ```
|
|
33
27
|
*/
|
|
34
28
|
class OrganizationSecurityManager extends pulumi.CustomResource {
|
|
35
29
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationSecurityManager.js","sourceRoot":"","sources":["../organizationSecurityManager.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"organizationSecurityManager.js","sourceRoot":"","sources":["../organizationSecurityManager.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClF,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,2BAA2B,CAAC,YAAY,CAAC;IAC5E,CAAC;IAeD,YAAY,IAAY,EAAE,WAAgF,EAAE,IAAmC;QAC3I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2D,CAAC;YAC1E,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;SAChD;aAAM;YACH,MAAM,IAAI,GAAG,WAA0D,CAAC;YACxE,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;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AAxDL,kEAyDC;AA3CG,gBAAgB;AACO,wCAAY,GAAG,sEAAsE,CAAC"}
|
package/organizationWebhook.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ import * as outputs from "./types/output";
|
|
|
30
30
|
* ```sh
|
|
31
31
|
* $ pulumi import github:index/organizationWebhook:OrganizationWebhook terraform 123456789
|
|
32
32
|
* ```
|
|
33
|
+
*
|
|
33
34
|
* If secret is populated in the webhook's configuration, the value will be imported as "********".
|
|
34
35
|
*/
|
|
35
36
|
export declare class OrganizationWebhook extends pulumi.CustomResource {
|
package/organizationWebhook.js
CHANGED
|
@@ -34,6 +34,7 @@ const utilities = require("./utilities");
|
|
|
34
34
|
* ```sh
|
|
35
35
|
* $ pulumi import github:index/organizationWebhook:OrganizationWebhook terraform 123456789
|
|
36
36
|
* ```
|
|
37
|
+
*
|
|
37
38
|
* If secret is populated in the webhook's configuration, the value will be imported as "********".
|
|
38
39
|
*/
|
|
39
40
|
class OrganizationWebhook extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationWebhook.js","sourceRoot":"","sources":["../organizationWebhook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"organizationWebhook.js","sourceRoot":"","sources":["../organizationWebhook.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;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,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,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,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA7EL,kDA8EC;AAhEG,gBAAgB;AACO,gCAAY,GAAG,sDAAsD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/github",
|
|
3
|
-
"version": "6.12.
|
|
3
|
+
"version": "6.12.2-alpha.1775837588",
|
|
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.12.
|
|
26
|
+
"version": "6.12.2-alpha.1775837588"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/repository.d.ts
CHANGED
|
@@ -271,6 +271,8 @@ export declare class Repository extends pulumi.CustomResource {
|
|
|
271
271
|
readonly template: pulumi.Output<outputs.RepositoryTemplate | undefined>;
|
|
272
272
|
/**
|
|
273
273
|
* The list of topics of the repository.
|
|
274
|
+
*
|
|
275
|
+
* > Note: This attribute is not compatible with the `github.RepositoryTopics` resource. Use one of them. `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).
|
|
274
276
|
*/
|
|
275
277
|
readonly topics: pulumi.Output<string[]>;
|
|
276
278
|
/**
|
|
@@ -486,6 +488,8 @@ export interface RepositoryState {
|
|
|
486
488
|
template?: pulumi.Input<inputs.RepositoryTemplate>;
|
|
487
489
|
/**
|
|
488
490
|
* The list of topics of the repository.
|
|
491
|
+
*
|
|
492
|
+
* > Note: This attribute is not compatible with the `github.RepositoryTopics` resource. Use one of them. `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).
|
|
489
493
|
*/
|
|
490
494
|
topics?: pulumi.Input<pulumi.Input<string>[]>;
|
|
491
495
|
/**
|
|
@@ -657,6 +661,8 @@ export interface RepositoryArgs {
|
|
|
657
661
|
template?: pulumi.Input<inputs.RepositoryTemplate>;
|
|
658
662
|
/**
|
|
659
663
|
* The list of topics of the repository.
|
|
664
|
+
*
|
|
665
|
+
* > Note: This attribute is not compatible with the `github.RepositoryTopics` resource. Use one of them. `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).
|
|
660
666
|
*/
|
|
661
667
|
topics?: pulumi.Input<pulumi.Input<string>[]>;
|
|
662
668
|
/**
|
package/repository.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.js","sourceRoot":"","sources":["../repository.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG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,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA3VL,gCA4VC;AA9UG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -22,6 +22,16 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
22
22
|
*
|
|
23
23
|
* ## Import
|
|
24
24
|
*
|
|
25
|
+
* Autolink references can be imported using the `name` of the repository, combined with the `id` or `key prefix` of the autolink reference and a `/` character for separating components, e.g.
|
|
26
|
+
*
|
|
27
|
+
* ### Import by ID
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import github:index/repositoryAutolinkReference:RepositoryAutolinkReference auto my-repo/123
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* See the GitHub documentation for how to [list all autolinks of a repository](https://docs.github.com/en/rest/repos/autolinks#list-all-autolinks-of-a-repository) to learn the autolink ids to use with the import command.
|
|
34
|
+
*
|
|
25
35
|
* ### Import by key prefix
|
|
26
36
|
*
|
|
27
37
|
* ```sh
|
|
@@ -28,6 +28,16 @@ const utilities = require("./utilities");
|
|
|
28
28
|
*
|
|
29
29
|
* ## Import
|
|
30
30
|
*
|
|
31
|
+
* Autolink references can be imported using the `name` of the repository, combined with the `id` or `key prefix` of the autolink reference and a `/` character for separating components, e.g.
|
|
32
|
+
*
|
|
33
|
+
* ### Import by ID
|
|
34
|
+
*
|
|
35
|
+
* ```sh
|
|
36
|
+
* $ pulumi import github:index/repositoryAutolinkReference:RepositoryAutolinkReference auto my-repo/123
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* See the GitHub documentation for how to [list all autolinks of a repository](https://docs.github.com/en/rest/repos/autolinks#list-all-autolinks-of-a-repository) to learn the autolink ids to use with the import command.
|
|
40
|
+
*
|
|
31
41
|
* ### Import by key prefix
|
|
32
42
|
*
|
|
33
43
|
* ```sh
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repositoryAutolinkReference.js","sourceRoot":"","sources":["../repositoryAutolinkReference.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"repositoryAutolinkReference.js","sourceRoot":"","sources":["../repositoryAutolinkReference.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,2BAA4B,SAAQ,MAAM,CAAC,cAAc;IAClE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwC,EAAE,IAAmC;QACtI,OAAO,IAAI,2BAA2B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAClF,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,2BAA2B,CAAC,YAAY,CAAC;IAC5E,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAgF,EAAE,IAAmC;QAC3I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2D,CAAC;YAC1E,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,EAAE,cAAc,CAAC;YACzD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK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
|
|
4
|
+
*
|
|
5
|
+
* > Note: github.RepositoryCollaborator cannot be used in conjunction with github.RepositoryCollaborators or
|
|
6
|
+
* they will fight over what your policy should be.
|
|
7
|
+
*
|
|
8
|
+
* This resource allows you to add/remove collaborators from repositories in your
|
|
9
|
+
* organization or personal account. For organization repositories, collaborators can
|
|
10
|
+
* have explicit (and differing levels of) read, write, or administrator access to
|
|
11
|
+
* specific repositories, without giving the user full organization membership.
|
|
12
|
+
* For personal repositories, collaborators can only be granted write
|
|
13
|
+
* (implicitly includes read) permission.
|
|
14
|
+
*
|
|
15
|
+
* When applied, an invitation will be sent to the user to become a collaborator
|
|
16
|
+
* on a repository. When destroyed, either the invitation will be cancelled or the
|
|
17
|
+
* collaborator will be removed from the repository.
|
|
18
|
+
*
|
|
19
|
+
* > **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.
|
|
20
|
+
*
|
|
21
|
+
* This resource is non-authoritative, for managing ALL collaborators of a repo, use github.RepositoryCollaborators
|
|
22
|
+
* instead.
|
|
23
|
+
*
|
|
24
|
+
* Further documentation on GitHub collaborators:
|
|
25
|
+
*
|
|
26
|
+
* - [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)
|
|
27
|
+
* - [Adding outside collaborators to repositories in your organization](https://help.github.com/articles/adding-outside-collaborators-to-repositories-in-your-organization/)
|
|
28
|
+
* - [Converting an organization member to an outside collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)
|
|
29
|
+
*
|
|
3
30
|
* ## Example Usage
|
|
4
31
|
*
|
|
5
32
|
* ```typescript
|
|
@@ -6,6 +6,33 @@ exports.RepositoryCollaborator = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Provides a GitHub repository collaborator resource.
|
|
10
|
+
*
|
|
11
|
+
* > Note: github.RepositoryCollaborator cannot be used in conjunction with github.RepositoryCollaborators or
|
|
12
|
+
* they will fight over what your policy should be.
|
|
13
|
+
*
|
|
14
|
+
* This resource allows you to add/remove collaborators from 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 collaborator
|
|
22
|
+
* on a repository. When destroyed, either the invitation will be cancelled or the
|
|
23
|
+
* collaborator 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 non-authoritative, for managing ALL collaborators of a repo, use github.RepositoryCollaborators
|
|
28
|
+
* 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 collaborator](https://help.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)
|
|
35
|
+
*
|
|
9
36
|
* ## Example Usage
|
|
10
37
|
*
|
|
11
38
|
* ```typescript
|