@pulumi/github 5.0.0 → 5.2.0-alpha.1673638210

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.
Files changed (260) hide show
  1. package/actionsEnvironmentSecret.d.ts +99 -0
  2. package/actionsEnvironmentSecret.js +68 -24
  3. package/actionsEnvironmentSecret.js.map +1 -1
  4. package/actionsOrganizationPermissions.d.ts +74 -1
  5. package/actionsOrganizationPermissions.js +58 -22
  6. package/actionsOrganizationPermissions.js.map +1 -1
  7. package/actionsOrganizationSecret.d.ts +110 -0
  8. package/actionsOrganizationSecret.js +76 -24
  9. package/actionsOrganizationSecret.js.map +1 -1
  10. package/actionsOrganizationSecretRepositories.d.ts +47 -0
  11. package/actionsOrganizationSecretRepositories.js +51 -22
  12. package/actionsOrganizationSecretRepositories.js.map +1 -1
  13. package/actionsRepositoryPermissions.d.ts +119 -0
  14. package/actionsRepositoryPermissions.js +91 -0
  15. package/actionsRepositoryPermissions.js.map +1 -0
  16. package/actionsRunnerGroup.d.ts +88 -0
  17. package/actionsRunnerGroup.js +47 -22
  18. package/actionsRunnerGroup.js.map +1 -1
  19. package/actionsSecret.d.ts +70 -0
  20. package/actionsSecret.js +48 -24
  21. package/actionsSecret.js.map +1 -1
  22. package/appInstallationRepositories.d.ts +81 -0
  23. package/appInstallationRepositories.js +78 -0
  24. package/appInstallationRepositories.js.map +1 -0
  25. package/appInstallationRepository.d.ts +53 -0
  26. package/appInstallationRepository.js +57 -22
  27. package/appInstallationRepository.js.map +1 -1
  28. package/branch.d.ts +92 -0
  29. package/branch.js +60 -22
  30. package/branch.js.map +1 -1
  31. package/branchDefault.d.ts +53 -0
  32. package/branchDefault.js +57 -22
  33. package/branchDefault.js.map +1 -1
  34. package/branchProtection.d.ts +175 -4
  35. package/branchProtection.js +83 -22
  36. package/branchProtection.js.map +1 -1
  37. package/branchProtectionV3.d.ts +140 -1
  38. package/branchProtectionV3.js +88 -22
  39. package/branchProtectionV3.js.map +1 -1
  40. package/config/vars.d.ts +1 -1
  41. package/config/vars.js.map +1 -1
  42. package/dependabotOrganizationSecret.js +26 -24
  43. package/dependabotOrganizationSecret.js.map +1 -1
  44. package/dependabotOrganizationSecretRepositories.js +22 -22
  45. package/dependabotOrganizationSecretRepositories.js.map +1 -1
  46. package/dependabotSecret.js +26 -24
  47. package/dependabotSecret.js.map +1 -1
  48. package/emuGroupMapping.d.ts +42 -0
  49. package/emuGroupMapping.js +46 -22
  50. package/emuGroupMapping.js.map +1 -1
  51. package/getActionsOrganizationRegistrationToken.d.ts +31 -0
  52. package/getActionsOrganizationRegistrationToken.js +25 -0
  53. package/getActionsOrganizationRegistrationToken.js.map +1 -0
  54. package/getActionsOrganizationSecrets.d.ts +16 -1
  55. package/getActionsOrganizationSecrets.js +13 -4
  56. package/getActionsOrganizationSecrets.js.map +1 -1
  57. package/getActionsPublicKey.d.ts +42 -0
  58. package/getActionsPublicKey.js +32 -5
  59. package/getActionsPublicKey.js.map +1 -1
  60. package/getActionsRegistrationToken.d.ts +67 -0
  61. package/getActionsRegistrationToken.js +47 -0
  62. package/getActionsRegistrationToken.js.map +1 -0
  63. package/getActionsSecrets.d.ts +47 -1
  64. package/getActionsSecrets.js +30 -5
  65. package/getActionsSecrets.js.map +1 -1
  66. package/getBranch.d.ts +51 -0
  67. package/getBranch.js +32 -5
  68. package/getBranch.js.map +1 -1
  69. package/getCollaborators.d.ts +52 -1
  70. package/getCollaborators.js +32 -5
  71. package/getCollaborators.js.map +1 -1
  72. package/getDependabotOrganizationSecrets.d.ts +28 -0
  73. package/getDependabotOrganizationSecrets.js +25 -0
  74. package/getDependabotOrganizationSecrets.js.map +1 -0
  75. package/getDependabotPublicKey.js +2 -5
  76. package/getDependabotPublicKey.js.map +1 -1
  77. package/getDependabotSecrets.d.ts +76 -0
  78. package/getDependabotSecrets.js +49 -0
  79. package/getDependabotSecrets.js.map +1 -0
  80. package/getExternalGroups.d.ts +18 -1
  81. package/getExternalGroups.js +15 -4
  82. package/getExternalGroups.js.map +1 -1
  83. package/getGithubApp.d.ts +71 -0
  84. package/getGithubApp.js +47 -0
  85. package/getGithubApp.js.map +1 -0
  86. package/getIpRanges.d.ts +84 -0
  87. package/getIpRanges.js +13 -4
  88. package/getIpRanges.js.map +1 -1
  89. package/getMembership.d.ts +59 -0
  90. package/getMembership.js +36 -5
  91. package/getMembership.js.map +1 -1
  92. package/getOrganization.d.ts +58 -0
  93. package/getOrganization.js +30 -5
  94. package/getOrganization.js.map +1 -1
  95. package/getOrganizationIpAllowList.d.ts +31 -0
  96. package/getOrganizationIpAllowList.js +27 -0
  97. package/getOrganizationIpAllowList.js.map +1 -0
  98. package/getOrganizationTeamSyncGroups.d.ts +16 -1
  99. package/getOrganizationTeamSyncGroups.js +13 -4
  100. package/getOrganizationTeamSyncGroups.js.map +1 -1
  101. package/getOrganizationTeams.d.ts +87 -1
  102. package/getOrganizationTeams.js +54 -5
  103. package/getOrganizationTeams.js.map +1 -1
  104. package/getOrganizationWebhooks.d.ts +31 -0
  105. package/getOrganizationWebhooks.js +27 -0
  106. package/getOrganizationWebhooks.js.map +1 -0
  107. package/getRef.d.ts +48 -0
  108. package/getRef.js +32 -5
  109. package/getRef.js.map +1 -1
  110. package/getRelease.d.ts +92 -0
  111. package/getRelease.js +8 -5
  112. package/getRelease.js.map +1 -1
  113. package/getRepositories.d.ts +70 -0
  114. package/getRepositories.js +40 -5
  115. package/getRepositories.js.map +1 -1
  116. package/getRepository.d.ts +142 -4
  117. package/getRepository.js +30 -6
  118. package/getRepository.js.map +1 -1
  119. package/getRepositoryBranches.d.ts +82 -0
  120. package/getRepositoryBranches.js +49 -0
  121. package/getRepositoryBranches.js.map +1 -0
  122. package/getRepositoryDeployKeys.d.ts +64 -0
  123. package/getRepositoryDeployKeys.js +47 -0
  124. package/getRepositoryDeployKeys.js.map +1 -0
  125. package/getRepositoryFile.d.ts +72 -0
  126. package/getRepositoryFile.js +36 -5
  127. package/getRepositoryFile.js.map +1 -1
  128. package/getRepositoryMilestone.d.ts +62 -0
  129. package/getRepositoryMilestone.js +34 -5
  130. package/getRepositoryMilestone.js.map +1 -1
  131. package/getRepositoryPullRequest.d.ts +90 -0
  132. package/getRepositoryPullRequest.js +32 -5
  133. package/getRepositoryPullRequest.js.map +1 -1
  134. package/getRepositoryPullRequests.d.ts +91 -1
  135. package/getRepositoryPullRequests.js +38 -5
  136. package/getRepositoryPullRequests.js.map +1 -1
  137. package/getRepositoryTeams.d.ts +47 -1
  138. package/getRepositoryTeams.js +30 -5
  139. package/getRepositoryTeams.js.map +1 -1
  140. package/getRepositoryWebhooks.d.ts +63 -0
  141. package/getRepositoryWebhooks.js +51 -0
  142. package/getRepositoryWebhooks.js.map +1 -0
  143. package/getTeam.d.ts +79 -0
  144. package/getTeam.js +32 -5
  145. package/getTeam.js.map +1 -1
  146. package/getTree.d.ts +70 -1
  147. package/getTree.js +50 -5
  148. package/getTree.js.map +1 -1
  149. package/getUser.d.ts +102 -0
  150. package/getUser.js +38 -5
  151. package/getUser.js.map +1 -1
  152. package/getUsers.d.ts +55 -0
  153. package/getUsers.js +42 -5
  154. package/getUsers.js.map +1 -1
  155. package/index.d.ts +244 -68
  156. package/index.js +259 -171
  157. package/index.js.map +1 -1
  158. package/issue.d.ts +117 -6
  159. package/issue.js +85 -22
  160. package/issue.js.map +1 -1
  161. package/issueLabel.d.ts +64 -0
  162. package/issueLabel.js +44 -22
  163. package/issueLabel.js.map +1 -1
  164. package/membership.d.ts +49 -0
  165. package/membership.js +49 -21
  166. package/membership.js.map +1 -1
  167. package/organizationBlock.d.ts +21 -0
  168. package/organizationBlock.js +31 -19
  169. package/organizationBlock.js.map +1 -1
  170. package/organizationProject.d.ts +36 -0
  171. package/organizationProject.js +32 -20
  172. package/organizationProject.js.map +1 -1
  173. package/organizationSecurityManager.d.ts +67 -0
  174. package/organizationSecurityManager.js +71 -0
  175. package/organizationSecurityManager.js.map +1 -0
  176. package/organizationSettings.d.ts +394 -0
  177. package/organizationSettings.js +148 -0
  178. package/organizationSettings.js.map +1 -0
  179. package/organizationWebhook.d.ts +65 -1
  180. package/organizationWebhook.js +52 -22
  181. package/organizationWebhook.js.map +1 -1
  182. package/package.json +2 -2
  183. package/package.json.dev +2 -2
  184. package/projectCard.d.ts +87 -0
  185. package/projectCard.js +73 -22
  186. package/projectCard.js.map +1 -1
  187. package/projectColumn.d.ts +31 -0
  188. package/projectColumn.js +35 -22
  189. package/projectColumn.js.map +1 -1
  190. package/provider.d.ts +1 -1
  191. package/provider.js +10 -10
  192. package/provider.js.map +1 -1
  193. package/release.d.ts +194 -0
  194. package/release.js +121 -0
  195. package/release.js.map +1 -0
  196. package/repository.d.ts +396 -4
  197. package/repository.js +72 -22
  198. package/repository.js.map +1 -1
  199. package/repositoryAutolinkReference.d.ts +54 -6
  200. package/repositoryAutolinkReference.js +54 -22
  201. package/repositoryAutolinkReference.js.map +1 -1
  202. package/repositoryCollaborator.d.ts +90 -0
  203. package/repositoryCollaborator.js +64 -22
  204. package/repositoryCollaborator.js.map +1 -1
  205. package/repositoryDeployKey.d.ts +71 -0
  206. package/repositoryDeployKey.js +57 -22
  207. package/repositoryDeployKey.js.map +1 -1
  208. package/repositoryEnvironment.d.ts +63 -1
  209. package/repositoryEnvironment.js +56 -22
  210. package/repositoryEnvironment.js.map +1 -1
  211. package/repositoryFile.d.ts +70 -30
  212. package/repositoryFile.js +59 -22
  213. package/repositoryFile.js.map +1 -1
  214. package/repositoryMilestone.d.ts +81 -3
  215. package/repositoryMilestone.js +49 -22
  216. package/repositoryMilestone.js.map +1 -1
  217. package/repositoryProject.d.ts +52 -0
  218. package/repositoryProject.js +41 -22
  219. package/repositoryProject.js.map +1 -1
  220. package/repositoryPullRequest.d.ts +127 -4
  221. package/repositoryPullRequest.js +40 -22
  222. package/repositoryPullRequest.js.map +1 -1
  223. package/repositoryTagProtection.d.ts +41 -0
  224. package/repositoryTagProtection.js +45 -22
  225. package/repositoryTagProtection.js.map +1 -1
  226. package/repositoryWebhook.d.ts +81 -1
  227. package/repositoryWebhook.js +59 -22
  228. package/repositoryWebhook.js.map +1 -1
  229. package/team.d.ts +100 -0
  230. package/team.js +49 -22
  231. package/team.js.map +1 -1
  232. package/teamMembers.d.ts +60 -1
  233. package/teamMembers.js +62 -22
  234. package/teamMembers.js.map +1 -1
  235. package/teamMembership.d.ts +67 -0
  236. package/teamMembership.js +59 -22
  237. package/teamMembership.js.map +1 -1
  238. package/teamRepository.d.ts +59 -3
  239. package/teamRepository.js +57 -22
  240. package/teamRepository.js.map +1 -1
  241. package/teamSettings.d.ts +119 -0
  242. package/teamSettings.js +99 -0
  243. package/teamSettings.js.map +1 -0
  244. package/teamSyncGroupMapping.d.ts +38 -1
  245. package/teamSyncGroupMapping.js +36 -21
  246. package/teamSyncGroupMapping.js.map +1 -1
  247. package/types/index.js.map +1 -1
  248. package/types/input.d.ts +208 -1
  249. package/types/output.d.ts +555 -1
  250. package/userGpgKey.d.ts +39 -0
  251. package/userGpgKey.js +42 -21
  252. package/userGpgKey.js.map +1 -1
  253. package/userInvitationAccepter.d.ts +30 -0
  254. package/userInvitationAccepter.js +38 -17
  255. package/userInvitationAccepter.js.map +1 -1
  256. package/userSshKey.d.ts +50 -0
  257. package/userSshKey.js +48 -22
  258. package/userSshKey.js.map +1 -1
  259. package/utilities.js +13 -1
  260. package/utilities.js.map +1 -1
package/types/input.d.ts CHANGED
@@ -1,53 +1,143 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs } from "../types";
2
+ import * as inputs from "../types/input";
3
3
  export interface ActionsOrganizationPermissionsAllowedActionsConfig {
4
+ /**
5
+ * Whether GitHub-owned actions are allowed in the organization.
6
+ */
4
7
  githubOwnedAllowed: pulumi.Input<boolean>;
8
+ /**
9
+ * Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*."
10
+ */
5
11
  patternsAlloweds?: pulumi.Input<pulumi.Input<string>[]>;
12
+ /**
13
+ * Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
14
+ */
6
15
  verifiedAllowed?: pulumi.Input<boolean>;
7
16
  }
8
17
  export interface ActionsOrganizationPermissionsEnabledRepositoriesConfig {
18
+ /**
19
+ * List of repository IDs to enable for GitHub Actions.
20
+ */
9
21
  repositoryIds: pulumi.Input<pulumi.Input<number>[]>;
10
22
  }
23
+ export interface ActionsRepositoryPermissionsAllowedActionsConfig {
24
+ /**
25
+ * Whether GitHub-owned actions are allowed in the repository.
26
+ */
27
+ githubOwnedAllowed: pulumi.Input<boolean>;
28
+ /**
29
+ * Specifies a list of string-matching patterns to allow specific action(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*."
30
+ */
31
+ patternsAlloweds?: pulumi.Input<pulumi.Input<string>[]>;
32
+ /**
33
+ * Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
34
+ */
35
+ verifiedAllowed?: pulumi.Input<boolean>;
36
+ }
11
37
  export interface BranchProtectionRequiredPullRequestReview {
38
+ /**
39
+ * Dismiss approved reviews automatically when a new commit is pushed. Defaults to `false`.
40
+ */
12
41
  dismissStaleReviews?: pulumi.Input<boolean>;
42
+ /**
43
+ * The list of actor Names/IDs with dismissal access. If not empty, `restrictDismissals` is ignored. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
44
+ */
13
45
  dismissalRestrictions?: pulumi.Input<pulumi.Input<string>[]>;
46
+ /**
47
+ * The list of actor Names/IDs that are allowed to bypass pull request requirements. Actor names must either begin with a "/" for users or the organization name followed by a "/" for teams.
48
+ */
14
49
  pullRequestBypassers?: pulumi.Input<pulumi.Input<string>[]>;
50
+ /**
51
+ * Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.
52
+ */
15
53
  requireCodeOwnerReviews?: pulumi.Input<boolean>;
54
+ /**
55
+ * Require that The most recent push must be approved by someone other than the last pusher. Defaults to `false`
56
+ */
57
+ requireLastPushApproval?: pulumi.Input<boolean>;
58
+ /**
59
+ * Require x number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. This requirement matches GitHub's API, see the upstream [documentation](https://developer.github.com/v3/repos/branches/#parameters-1) for more information.
60
+ * (https://developer.github.com/v3/repos/branches/#parameters-1) for more information.
61
+ */
16
62
  requiredApprovingReviewCount?: pulumi.Input<number>;
63
+ /**
64
+ * Restrict pull request review dismissals.
65
+ */
17
66
  restrictDismissals?: pulumi.Input<boolean>;
18
67
  }
19
68
  export interface BranchProtectionRequiredStatusCheck {
69
+ /**
70
+ * The list of status checks to require in order to merge into this branch. No status checks are required by default.
71
+ */
20
72
  contexts?: pulumi.Input<pulumi.Input<string>[]>;
73
+ /**
74
+ * Require branches to be up to date before merging. Defaults to `false`.
75
+ */
21
76
  strict?: pulumi.Input<boolean>;
22
77
  }
23
78
  export interface BranchProtectionV3RequiredPullRequestReviews {
79
+ /**
80
+ * Dismiss approved reviews automatically when a new commit is pushed. Defaults to `false`.
81
+ */
24
82
  dismissStaleReviews?: pulumi.Input<boolean>;
83
+ /**
84
+ * The list of team slugs with dismissal access.
85
+ * Always use `slug` of the team, **not** its name. Each team already **has** to have access to the repository.
86
+ */
25
87
  dismissalTeams?: pulumi.Input<pulumi.Input<string>[]>;
88
+ /**
89
+ * The list of user logins with dismissal access
90
+ */
26
91
  dismissalUsers?: pulumi.Input<pulumi.Input<string>[]>;
27
92
  /**
28
93
  * @deprecated Use enforce_admins instead
29
94
  */
30
95
  includeAdmins?: pulumi.Input<boolean>;
96
+ /**
97
+ * Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.
98
+ */
31
99
  requireCodeOwnerReviews?: pulumi.Input<boolean>;
100
+ /**
101
+ * Require x number of approvals to satisfy branch protection requirements. If this is specified it must be a number between 0-6. This requirement matches GitHub's API, see the upstream [documentation](https://developer.github.com/v3/repos/branches/#parameters-1) for more information.
102
+ */
32
103
  requiredApprovingReviewCount?: pulumi.Input<number>;
33
104
  }
34
105
  export interface BranchProtectionV3RequiredStatusChecks {
106
+ /**
107
+ * The list of status checks to require in order to merge into this branch. No status checks are required by default.
108
+ */
35
109
  contexts?: pulumi.Input<pulumi.Input<string>[]>;
36
110
  /**
37
111
  * @deprecated Use enforce_admins instead
38
112
  */
39
113
  includeAdmins?: pulumi.Input<boolean>;
114
+ /**
115
+ * Require branches to be up to date before merging. Defaults to `false`.
116
+ */
40
117
  strict?: pulumi.Input<boolean>;
41
118
  }
42
119
  export interface BranchProtectionV3Restrictions {
120
+ /**
121
+ * The list of app slugs with push access.
122
+ */
43
123
  apps?: pulumi.Input<pulumi.Input<string>[]>;
124
+ /**
125
+ * The list of team slugs with push access.
126
+ * Always use `slug` of the team, **not** its name. Each team already **has** to have access to the repository.
127
+ */
44
128
  teams?: pulumi.Input<pulumi.Input<string>[]>;
129
+ /**
130
+ * The list of user logins with push access.
131
+ */
45
132
  users?: pulumi.Input<pulumi.Input<string>[]>;
46
133
  }
47
134
  export interface OrganizationWebhookConfiguration {
48
135
  contentType?: pulumi.Input<string>;
49
136
  insecureSsl?: pulumi.Input<boolean>;
50
137
  secret?: pulumi.Input<string>;
138
+ /**
139
+ * URL of the webhook
140
+ */
51
141
  url: pulumi.Input<string>;
52
142
  }
53
143
  export interface ProviderAppAuth {
@@ -56,42 +146,159 @@ export interface ProviderAppAuth {
56
146
  pemFile: pulumi.Input<string>;
57
147
  }
58
148
  export interface RepositoryEnvironmentDeploymentBranchPolicy {
149
+ /**
150
+ * Whether only branches that match the specified name patterns can deploy to this environment.
151
+ */
59
152
  customBranchPolicies: pulumi.Input<boolean>;
153
+ /**
154
+ * Whether only branches with branch protection rules can deploy to this environment.
155
+ */
60
156
  protectedBranches: pulumi.Input<boolean>;
61
157
  }
62
158
  export interface RepositoryEnvironmentReviewer {
159
+ /**
160
+ * Up to 6 IDs for teams who may review jobs that reference the environment. Reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.
161
+ */
63
162
  teams?: pulumi.Input<pulumi.Input<number>[]>;
163
+ /**
164
+ * Up to 6 IDs for users who may review jobs that reference the environment. Reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.
165
+ */
64
166
  users?: pulumi.Input<pulumi.Input<number>[]>;
65
167
  }
66
168
  export interface RepositoryPages {
169
+ /**
170
+ * The custom domain for the repository. This can only be set after the repository has been created.
171
+ */
67
172
  cname?: pulumi.Input<string>;
173
+ /**
174
+ * Whether the rendered GitHub Pages site has a custom 404 page.
175
+ */
68
176
  custom404?: pulumi.Input<boolean>;
177
+ /**
178
+ * The absolute URL (including scheme) of the rendered GitHub Pages site e.g. `https://username.github.io`.
179
+ */
69
180
  htmlUrl?: pulumi.Input<string>;
181
+ /**
182
+ * The source branch and directory for the rendered Pages site. See GitHub Pages Source below for details.
183
+ */
70
184
  source: pulumi.Input<inputs.RepositoryPagesSource>;
185
+ /**
186
+ * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
187
+ */
71
188
  status?: pulumi.Input<string>;
72
189
  url?: pulumi.Input<string>;
73
190
  }
74
191
  export interface RepositoryPagesSource {
192
+ /**
193
+ * The repository branch used to publish the site's source files. (i.e. `main` or `gh-pages`.
194
+ */
75
195
  branch: pulumi.Input<string>;
196
+ /**
197
+ * The repository directory from which the site publishes (Default: `/`).
198
+ */
76
199
  path?: pulumi.Input<string>;
77
200
  }
201
+ export interface RepositorySecurityAndAnalysis {
202
+ /**
203
+ * The advanced security configuration for the repository. See Advanced Security Configuration below for details.
204
+ */
205
+ advancedSecurity: pulumi.Input<inputs.RepositorySecurityAndAnalysisAdvancedSecurity>;
206
+ /**
207
+ * The secret scanning configuration for the repository. See Secret Scanning Configuration below for details.
208
+ */
209
+ secretScanning: pulumi.Input<inputs.RepositorySecurityAndAnalysisSecretScanning>;
210
+ /**
211
+ * The secret scanning push protection configuration for the repository. See Secret Scanning Push Protection Configuration below for details.
212
+ */
213
+ secretScanningPushProtection: pulumi.Input<inputs.RepositorySecurityAndAnalysisSecretScanningPushProtection>;
214
+ }
215
+ export interface RepositorySecurityAndAnalysisAdvancedSecurity {
216
+ /**
217
+ * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
218
+ */
219
+ status: pulumi.Input<string>;
220
+ }
221
+ export interface RepositorySecurityAndAnalysisSecretScanning {
222
+ /**
223
+ * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
224
+ */
225
+ status: pulumi.Input<string>;
226
+ }
227
+ export interface RepositorySecurityAndAnalysisSecretScanningPushProtection {
228
+ /**
229
+ * Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
230
+ */
231
+ status: pulumi.Input<string>;
232
+ }
78
233
  export interface RepositoryTemplate {
234
+ /**
235
+ * Whether the new repository should include all the branches from the template repository (defaults to false, which includes only the default branch from the template).
236
+ */
237
+ includeAllBranches?: pulumi.Input<boolean>;
238
+ /**
239
+ * The GitHub organization or user the template repository is owned by.
240
+ */
79
241
  owner: pulumi.Input<string>;
242
+ /**
243
+ * The name of the template repository.
244
+ */
80
245
  repository: pulumi.Input<string>;
81
246
  }
82
247
  export interface RepositoryWebhookConfiguration {
248
+ /**
249
+ * The content type for the payload. Valid values are either `form` or `json`.
250
+ */
83
251
  contentType?: pulumi.Input<string>;
252
+ /**
253
+ * Insecure SSL boolean toggle. Defaults to `false`.
254
+ */
84
255
  insecureSsl?: pulumi.Input<boolean>;
256
+ /**
257
+ * The shared secret for the webhook. [See API documentation](https://developer.github.com/v3/repos/hooks/#create-a-hook).
258
+ */
85
259
  secret?: pulumi.Input<string>;
260
+ /**
261
+ * The URL of the webhook.
262
+ */
86
263
  url: pulumi.Input<string>;
87
264
  }
88
265
  export interface TeamMembersMember {
266
+ /**
267
+ * The role of the user within the team.
268
+ * Must be one of `member` or `maintainer`. Defaults to `member`.
269
+ */
89
270
  role?: pulumi.Input<string>;
271
+ /**
272
+ * The user to add to the team.
273
+ */
90
274
  username: pulumi.Input<string>;
91
275
  }
276
+ export interface TeamSettingsReviewRequestDelegation {
277
+ /**
278
+ * The algorithm to use when assigning pull requests to team members. Supported values are `ROUND_ROBIN` and `LOAD_BALANCE`. Default value is `ROUND_ROBIN`
279
+ */
280
+ algorithm?: pulumi.Input<string>;
281
+ /**
282
+ * The number of team members to assign to a pull request
283
+ */
284
+ memberCount?: pulumi.Input<number>;
285
+ /**
286
+ * whether to notify the entire team when at least one member is also assigned to the pull request
287
+ */
288
+ notify?: pulumi.Input<boolean>;
289
+ }
92
290
  export interface TeamSyncGroupMappingGroup {
291
+ /**
292
+ * The description of the IdP group.
293
+ */
93
294
  groupDescription: pulumi.Input<string>;
295
+ /**
296
+ * The ID of the IdP group.
297
+ */
94
298
  groupId: pulumi.Input<string>;
299
+ /**
300
+ * The name of the IdP group.
301
+ */
95
302
  groupName: pulumi.Input<string>;
96
303
  }
97
304
  export declare namespace config {