@pulumi/github 5.1.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.
- package/actionsEnvironmentSecret.d.ts +99 -0
- package/actionsEnvironmentSecret.js +64 -22
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +72 -0
- package/actionsOrganizationPermissions.js +58 -22
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +110 -0
- package/actionsOrganizationSecret.js +72 -22
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +47 -0
- package/actionsOrganizationSecretRepositories.js +51 -22
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsRepositoryPermissions.d.ts +119 -0
- package/actionsRepositoryPermissions.js +91 -0
- package/actionsRepositoryPermissions.js.map +1 -0
- package/actionsRunnerGroup.d.ts +88 -0
- package/actionsRunnerGroup.js +47 -22
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +70 -0
- package/actionsSecret.js +44 -22
- package/actionsSecret.js.map +1 -1
- package/appInstallationRepositories.d.ts +81 -0
- package/appInstallationRepositories.js +78 -0
- package/appInstallationRepositories.js.map +1 -0
- package/appInstallationRepository.d.ts +53 -0
- package/appInstallationRepository.js +57 -22
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +92 -0
- package/branch.js +60 -22
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +53 -0
- package/branchDefault.js +57 -22
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +173 -3
- package/branchProtection.js +83 -22
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.d.ts +138 -0
- package/branchProtectionV3.js +88 -22
- package/branchProtectionV3.js.map +1 -1
- package/dependabotOrganizationSecret.js +22 -22
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.js +22 -22
- package/dependabotOrganizationSecretRepositories.js.map +1 -1
- package/dependabotSecret.js +22 -22
- package/dependabotSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +42 -0
- package/emuGroupMapping.js +46 -22
- package/emuGroupMapping.js.map +1 -1
- package/getActionsOrganizationRegistrationToken.d.ts +31 -0
- package/getActionsOrganizationRegistrationToken.js +25 -0
- package/getActionsOrganizationRegistrationToken.js.map +1 -0
- package/getActionsOrganizationSecrets.d.ts +15 -0
- package/getActionsOrganizationSecrets.js +13 -4
- package/getActionsOrganizationSecrets.js.map +1 -1
- package/getActionsPublicKey.d.ts +42 -0
- package/getActionsPublicKey.js +32 -5
- package/getActionsPublicKey.js.map +1 -1
- package/getActionsRegistrationToken.d.ts +67 -0
- package/getActionsRegistrationToken.js +47 -0
- package/getActionsRegistrationToken.js.map +1 -0
- package/getActionsSecrets.d.ts +46 -0
- package/getActionsSecrets.js +30 -5
- package/getActionsSecrets.js.map +1 -1
- package/getBranch.d.ts +51 -0
- package/getBranch.js +32 -5
- package/getBranch.js.map +1 -1
- package/getCollaborators.d.ts +51 -0
- package/getCollaborators.js +32 -5
- package/getCollaborators.js.map +1 -1
- package/getDependabotOrganizationSecrets.d.ts +15 -0
- package/getDependabotOrganizationSecrets.js +13 -4
- package/getDependabotOrganizationSecrets.js.map +1 -1
- package/getDependabotPublicKey.js +2 -5
- package/getDependabotPublicKey.js.map +1 -1
- package/getDependabotSecrets.d.ts +46 -0
- package/getDependabotSecrets.js +30 -5
- package/getDependabotSecrets.js.map +1 -1
- package/getExternalGroups.d.ts +17 -0
- package/getExternalGroups.js +15 -4
- package/getExternalGroups.js.map +1 -1
- package/getGithubApp.d.ts +43 -0
- package/getGithubApp.js +30 -5
- package/getGithubApp.js.map +1 -1
- package/getIpRanges.d.ts +84 -0
- package/getIpRanges.js +13 -4
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +58 -0
- package/getMembership.js +36 -5
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +58 -0
- package/getOrganization.js +30 -5
- package/getOrganization.js.map +1 -1
- package/getOrganizationIpAllowList.d.ts +18 -0
- package/getOrganizationIpAllowList.js +15 -4
- package/getOrganizationIpAllowList.js.map +1 -1
- package/getOrganizationTeamSyncGroups.d.ts +15 -0
- package/getOrganizationTeamSyncGroups.js +13 -4
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +80 -0
- package/getOrganizationTeams.js +52 -5
- package/getOrganizationTeams.js.map +1 -1
- package/getOrganizationWebhooks.d.ts +18 -0
- package/getOrganizationWebhooks.js +15 -4
- package/getOrganizationWebhooks.js.map +1 -1
- package/getRef.d.ts +48 -0
- package/getRef.js +32 -5
- package/getRef.js.map +1 -1
- package/getRelease.d.ts +90 -0
- package/getRelease.js +8 -5
- package/getRelease.js.map +1 -1
- package/getRepositories.d.ts +70 -0
- package/getRepositories.js +40 -5
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +141 -0
- package/getRepository.js +30 -5
- package/getRepository.js.map +1 -1
- package/getRepositoryBranches.d.ts +49 -0
- package/getRepositoryBranches.js +30 -5
- package/getRepositoryBranches.js.map +1 -1
- package/getRepositoryDeployKeys.d.ts +37 -0
- package/getRepositoryDeployKeys.js +30 -5
- package/getRepositoryDeployKeys.js.map +1 -1
- package/getRepositoryFile.d.ts +72 -0
- package/getRepositoryFile.js +36 -5
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +62 -0
- package/getRepositoryMilestone.js +34 -5
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +90 -0
- package/getRepositoryPullRequest.js +32 -5
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +90 -0
- package/getRepositoryPullRequests.js +38 -5
- package/getRepositoryPullRequests.js.map +1 -1
- package/getRepositoryTeams.d.ts +46 -0
- package/getRepositoryTeams.js +30 -5
- package/getRepositoryTeams.js.map +1 -1
- package/getRepositoryWebhooks.d.ts +36 -0
- package/getRepositoryWebhooks.js +34 -5
- package/getRepositoryWebhooks.js.map +1 -1
- package/getTeam.d.ts +79 -0
- package/getTeam.js +32 -5
- package/getTeam.js.map +1 -1
- package/getTree.d.ts +69 -0
- package/getTree.js +50 -5
- package/getTree.js.map +1 -1
- package/getUser.d.ts +102 -0
- package/getUser.js +38 -5
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +55 -0
- package/getUsers.js +42 -5
- package/getUsers.js.map +1 -1
- package/index.d.ts +64 -44
- package/index.js +33 -3
- package/index.js.map +1 -1
- package/issue.d.ts +117 -6
- package/issue.js +85 -22
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +64 -0
- package/issueLabel.js +44 -22
- package/issueLabel.js.map +1 -1
- package/membership.d.ts +49 -0
- package/membership.js +49 -21
- package/membership.js.map +1 -1
- package/organizationBlock.d.ts +21 -0
- package/organizationBlock.js +31 -19
- package/organizationBlock.js.map +1 -1
- package/organizationProject.d.ts +36 -0
- package/organizationProject.js +32 -20
- package/organizationProject.js.map +1 -1
- package/organizationSecurityManager.d.ts +67 -0
- package/organizationSecurityManager.js +71 -0
- package/organizationSecurityManager.js.map +1 -0
- package/organizationSettings.d.ts +274 -3
- package/organizationSettings.js +68 -22
- package/organizationSettings.js.map +1 -1
- package/organizationWebhook.d.ts +63 -0
- package/organizationWebhook.js +52 -22
- package/organizationWebhook.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/projectCard.d.ts +87 -0
- package/projectCard.js +73 -22
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +31 -0
- package/projectColumn.js +35 -22
- package/projectColumn.js.map +1 -1
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/release.d.ts +194 -0
- package/release.js +121 -0
- package/release.js.map +1 -0
- package/repository.d.ts +391 -3
- package/repository.js +70 -22
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +45 -12
- package/repositoryAutolinkReference.js +52 -22
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +90 -0
- package/repositoryCollaborator.js +64 -22
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryDeployKey.d.ts +71 -0
- package/repositoryDeployKey.js +57 -22
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryEnvironment.d.ts +61 -0
- package/repositoryEnvironment.js +56 -22
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryFile.d.ts +68 -34
- package/repositoryFile.js +59 -22
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.d.ts +81 -3
- package/repositoryMilestone.js +49 -22
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.d.ts +52 -0
- package/repositoryProject.js +41 -22
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.d.ts +127 -4
- package/repositoryPullRequest.js +40 -22
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryTagProtection.d.ts +41 -0
- package/repositoryTagProtection.js +45 -22
- package/repositoryTagProtection.js.map +1 -1
- package/repositoryWebhook.d.ts +79 -0
- package/repositoryWebhook.js +59 -22
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +100 -0
- package/team.js +49 -22
- package/team.js.map +1 -1
- package/teamMembers.d.ts +58 -0
- package/teamMembers.js +62 -22
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +67 -0
- package/teamMembership.js +59 -22
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +59 -3
- package/teamRepository.js +57 -22
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +119 -0
- package/teamSettings.js +99 -0
- package/teamSettings.js.map +1 -0
- package/teamSyncGroupMapping.d.ts +36 -0
- package/teamSyncGroupMapping.js +36 -21
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/input.d.ts +206 -0
- package/types/output.d.ts +498 -0
- package/userGpgKey.d.ts +39 -0
- package/userGpgKey.js +42 -21
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.d.ts +30 -0
- package/userInvitationAccepter.js +38 -17
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.d.ts +50 -0
- package/userSshKey.js +48 -22
- package/userSshKey.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -1,148 +1,451 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
2
|
export interface ActionsOrganizationPermissionsAllowedActionsConfig {
|
|
3
|
+
/**
|
|
4
|
+
* Whether GitHub-owned actions are allowed in the organization.
|
|
5
|
+
*/
|
|
3
6
|
githubOwnedAllowed: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* 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/*."
|
|
9
|
+
*/
|
|
4
10
|
patternsAlloweds?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
|
|
13
|
+
*/
|
|
5
14
|
verifiedAllowed?: boolean;
|
|
6
15
|
}
|
|
7
16
|
export interface ActionsOrganizationPermissionsEnabledRepositoriesConfig {
|
|
17
|
+
/**
|
|
18
|
+
* List of repository IDs to enable for GitHub Actions.
|
|
19
|
+
*/
|
|
8
20
|
repositoryIds: number[];
|
|
9
21
|
}
|
|
22
|
+
export interface ActionsRepositoryPermissionsAllowedActionsConfig {
|
|
23
|
+
/**
|
|
24
|
+
* Whether GitHub-owned actions are allowed in the repository.
|
|
25
|
+
*/
|
|
26
|
+
githubOwnedAllowed: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* 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/*."
|
|
29
|
+
*/
|
|
30
|
+
patternsAlloweds?: string[];
|
|
31
|
+
/**
|
|
32
|
+
* Whether actions in GitHub Marketplace from verified creators are allowed. Set to true to allow all GitHub Marketplace actions by verified creators.
|
|
33
|
+
*/
|
|
34
|
+
verifiedAllowed?: boolean;
|
|
35
|
+
}
|
|
10
36
|
export interface BranchProtectionRequiredPullRequestReview {
|
|
37
|
+
/**
|
|
38
|
+
* Dismiss approved reviews automatically when a new commit is pushed. Defaults to `false`.
|
|
39
|
+
*/
|
|
11
40
|
dismissStaleReviews?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* 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.
|
|
43
|
+
*/
|
|
12
44
|
dismissalRestrictions?: string[];
|
|
45
|
+
/**
|
|
46
|
+
* 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.
|
|
47
|
+
*/
|
|
13
48
|
pullRequestBypassers?: string[];
|
|
49
|
+
/**
|
|
50
|
+
* Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.
|
|
51
|
+
*/
|
|
14
52
|
requireCodeOwnerReviews?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Require that The most recent push must be approved by someone other than the last pusher. Defaults to `false`
|
|
55
|
+
*/
|
|
56
|
+
requireLastPushApproval?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* 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.
|
|
59
|
+
* (https://developer.github.com/v3/repos/branches/#parameters-1) for more information.
|
|
60
|
+
*/
|
|
15
61
|
requiredApprovingReviewCount?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Restrict pull request review dismissals.
|
|
64
|
+
*/
|
|
16
65
|
restrictDismissals?: boolean;
|
|
17
66
|
}
|
|
18
67
|
export interface BranchProtectionRequiredStatusCheck {
|
|
68
|
+
/**
|
|
69
|
+
* The list of status checks to require in order to merge into this branch. No status checks are required by default.
|
|
70
|
+
*/
|
|
19
71
|
contexts?: string[];
|
|
72
|
+
/**
|
|
73
|
+
* Require branches to be up to date before merging. Defaults to `false`.
|
|
74
|
+
*/
|
|
20
75
|
strict?: boolean;
|
|
21
76
|
}
|
|
22
77
|
export interface BranchProtectionV3RequiredPullRequestReviews {
|
|
78
|
+
/**
|
|
79
|
+
* Dismiss approved reviews automatically when a new commit is pushed. Defaults to `false`.
|
|
80
|
+
*/
|
|
23
81
|
dismissStaleReviews?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* The list of team slugs with dismissal access.
|
|
84
|
+
* Always use `slug` of the team, **not** its name. Each team already **has** to have access to the repository.
|
|
85
|
+
*/
|
|
24
86
|
dismissalTeams?: string[];
|
|
87
|
+
/**
|
|
88
|
+
* The list of user logins with dismissal access
|
|
89
|
+
*/
|
|
25
90
|
dismissalUsers?: string[];
|
|
26
91
|
/**
|
|
27
92
|
* @deprecated Use enforce_admins instead
|
|
28
93
|
*/
|
|
29
94
|
includeAdmins?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Require an approved review in pull requests including files with a designated code owner. Defaults to `false`.
|
|
97
|
+
*/
|
|
30
98
|
requireCodeOwnerReviews?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* 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.
|
|
101
|
+
*/
|
|
31
102
|
requiredApprovingReviewCount?: number;
|
|
32
103
|
}
|
|
33
104
|
export interface BranchProtectionV3RequiredStatusChecks {
|
|
105
|
+
/**
|
|
106
|
+
* The list of status checks to require in order to merge into this branch. No status checks are required by default.
|
|
107
|
+
*/
|
|
34
108
|
contexts?: string[];
|
|
35
109
|
/**
|
|
36
110
|
* @deprecated Use enforce_admins instead
|
|
37
111
|
*/
|
|
38
112
|
includeAdmins?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Require branches to be up to date before merging. Defaults to `false`.
|
|
115
|
+
*/
|
|
39
116
|
strict?: boolean;
|
|
40
117
|
}
|
|
41
118
|
export interface BranchProtectionV3Restrictions {
|
|
119
|
+
/**
|
|
120
|
+
* The list of app slugs with push access.
|
|
121
|
+
*/
|
|
42
122
|
apps?: string[];
|
|
123
|
+
/**
|
|
124
|
+
* The list of team slugs with push access.
|
|
125
|
+
* Always use `slug` of the team, **not** its name. Each team already **has** to have access to the repository.
|
|
126
|
+
*/
|
|
43
127
|
teams?: string[];
|
|
128
|
+
/**
|
|
129
|
+
* The list of user logins with push access.
|
|
130
|
+
*/
|
|
44
131
|
users?: string[];
|
|
45
132
|
}
|
|
46
133
|
export interface GetActionsOrganizationSecretsSecret {
|
|
134
|
+
/**
|
|
135
|
+
* Timestamp of the secret creation
|
|
136
|
+
*/
|
|
47
137
|
createdAt: string;
|
|
138
|
+
/**
|
|
139
|
+
* Secret name
|
|
140
|
+
*/
|
|
48
141
|
name: string;
|
|
142
|
+
/**
|
|
143
|
+
* Timestamp of the secret last update
|
|
144
|
+
*/
|
|
49
145
|
updatedAt: string;
|
|
146
|
+
/**
|
|
147
|
+
* Secret visibility
|
|
148
|
+
*/
|
|
50
149
|
visibility: string;
|
|
51
150
|
}
|
|
52
151
|
export interface GetActionsSecretsSecret {
|
|
152
|
+
/**
|
|
153
|
+
* Timestamp of the secret creation
|
|
154
|
+
*/
|
|
53
155
|
createdAt: string;
|
|
156
|
+
/**
|
|
157
|
+
* The name of the repository.
|
|
158
|
+
*/
|
|
54
159
|
name: string;
|
|
160
|
+
/**
|
|
161
|
+
* Timestamp of the secret last update
|
|
162
|
+
*/
|
|
55
163
|
updatedAt: string;
|
|
56
164
|
}
|
|
57
165
|
export interface GetCollaboratorsCollaborator {
|
|
166
|
+
/**
|
|
167
|
+
* The GitHub API URL for the collaborator's events.
|
|
168
|
+
*/
|
|
58
169
|
eventsUrl: string;
|
|
170
|
+
/**
|
|
171
|
+
* The GitHub API URL for the collaborator's followers.
|
|
172
|
+
*/
|
|
59
173
|
followersUrl: string;
|
|
174
|
+
/**
|
|
175
|
+
* The GitHub API URL for those following the collaborator.
|
|
176
|
+
*/
|
|
60
177
|
followingUrl: string;
|
|
178
|
+
/**
|
|
179
|
+
* The GitHub API URL for the collaborator's gists.
|
|
180
|
+
*/
|
|
61
181
|
gistsUrl: string;
|
|
182
|
+
/**
|
|
183
|
+
* The GitHub HTML URL for the collaborator.
|
|
184
|
+
*/
|
|
62
185
|
htmlUrl: string;
|
|
186
|
+
/**
|
|
187
|
+
* The ID of the collaborator.
|
|
188
|
+
*/
|
|
63
189
|
id: number;
|
|
190
|
+
/**
|
|
191
|
+
* The collaborator's login.
|
|
192
|
+
*/
|
|
64
193
|
login: string;
|
|
194
|
+
/**
|
|
195
|
+
* The GitHub API URL for the collaborator's organizations.
|
|
196
|
+
*/
|
|
65
197
|
organizationsUrl: string;
|
|
198
|
+
/**
|
|
199
|
+
* The permission of the collaborator.
|
|
200
|
+
*/
|
|
66
201
|
permission: string;
|
|
202
|
+
/**
|
|
203
|
+
* The GitHub API URL for the collaborator's received events.
|
|
204
|
+
*/
|
|
67
205
|
receivedEventsUrl: string;
|
|
206
|
+
/**
|
|
207
|
+
* The GitHub API URL for the collaborator's repositories.
|
|
208
|
+
*/
|
|
68
209
|
reposUrl: string;
|
|
210
|
+
/**
|
|
211
|
+
* Whether the user is a GitHub admin.
|
|
212
|
+
*/
|
|
69
213
|
siteAdmin: boolean;
|
|
214
|
+
/**
|
|
215
|
+
* The GitHub API URL for the collaborator's starred repositories.
|
|
216
|
+
*/
|
|
70
217
|
starredUrl: string;
|
|
218
|
+
/**
|
|
219
|
+
* The GitHub API URL for the collaborator's subscribed repositories.
|
|
220
|
+
*/
|
|
71
221
|
subscriptionsUrl: string;
|
|
222
|
+
/**
|
|
223
|
+
* The type of the collaborator (ex. `user`).
|
|
224
|
+
*/
|
|
72
225
|
type: string;
|
|
226
|
+
/**
|
|
227
|
+
* The GitHub API URL for the collaborator.
|
|
228
|
+
*/
|
|
73
229
|
url: string;
|
|
74
230
|
}
|
|
75
231
|
export interface GetDependabotOrganizationSecretsSecret {
|
|
232
|
+
/**
|
|
233
|
+
* Timestamp of the secret creation
|
|
234
|
+
*/
|
|
76
235
|
createdAt: string;
|
|
236
|
+
/**
|
|
237
|
+
* Secret name
|
|
238
|
+
*/
|
|
77
239
|
name: string;
|
|
240
|
+
/**
|
|
241
|
+
* Timestamp of the secret last update
|
|
242
|
+
*/
|
|
78
243
|
updatedAt: string;
|
|
244
|
+
/**
|
|
245
|
+
* Secret visibility
|
|
246
|
+
*/
|
|
79
247
|
visibility: string;
|
|
80
248
|
}
|
|
81
249
|
export interface GetDependabotSecretsSecret {
|
|
250
|
+
/**
|
|
251
|
+
* Timestamp of the secret creation
|
|
252
|
+
*/
|
|
82
253
|
createdAt: string;
|
|
254
|
+
/**
|
|
255
|
+
* The name of the repository.
|
|
256
|
+
*/
|
|
83
257
|
name: string;
|
|
258
|
+
/**
|
|
259
|
+
* Timestamp of the secret last update
|
|
260
|
+
*/
|
|
84
261
|
updatedAt: string;
|
|
85
262
|
}
|
|
86
263
|
export interface GetExternalGroupsExternalGroup {
|
|
264
|
+
/**
|
|
265
|
+
* the ID of the group.
|
|
266
|
+
*/
|
|
87
267
|
groupId: number;
|
|
268
|
+
/**
|
|
269
|
+
* the name of the group.
|
|
270
|
+
*/
|
|
88
271
|
groupName: string;
|
|
272
|
+
/**
|
|
273
|
+
* the date the group was last updated.
|
|
274
|
+
*/
|
|
89
275
|
updatedAt: string;
|
|
90
276
|
}
|
|
91
277
|
export interface GetOrganizationIpAllowListIpAllowList {
|
|
278
|
+
/**
|
|
279
|
+
* A single IP address or range of IP addresses in CIDR notation.
|
|
280
|
+
*/
|
|
92
281
|
allowListValue: string;
|
|
282
|
+
/**
|
|
283
|
+
* Identifies the date and time when the object was created.
|
|
284
|
+
*/
|
|
93
285
|
createdAt: string;
|
|
286
|
+
/**
|
|
287
|
+
* The ID of the IP allow list entry.
|
|
288
|
+
*/
|
|
94
289
|
id: string;
|
|
290
|
+
/**
|
|
291
|
+
* Whether the entry is currently active.
|
|
292
|
+
*/
|
|
95
293
|
isActive: boolean;
|
|
294
|
+
/**
|
|
295
|
+
* The name of the IP allow list entry.
|
|
296
|
+
*/
|
|
96
297
|
name: string;
|
|
298
|
+
/**
|
|
299
|
+
* Identifies the date and time when the object was last updated.
|
|
300
|
+
*/
|
|
97
301
|
updatedAt: string;
|
|
98
302
|
}
|
|
99
303
|
export interface GetOrganizationTeamSyncGroupsGroup {
|
|
304
|
+
/**
|
|
305
|
+
* The description of the IdP group.
|
|
306
|
+
*/
|
|
100
307
|
groupDescription: string;
|
|
308
|
+
/**
|
|
309
|
+
* The ID of the IdP group.
|
|
310
|
+
*/
|
|
101
311
|
groupId: string;
|
|
312
|
+
/**
|
|
313
|
+
* The name of the IdP group.
|
|
314
|
+
*/
|
|
102
315
|
groupName: string;
|
|
103
316
|
}
|
|
104
317
|
export interface GetOrganizationTeamsTeam {
|
|
318
|
+
/**
|
|
319
|
+
* the team's description.
|
|
320
|
+
*/
|
|
105
321
|
description: string;
|
|
322
|
+
/**
|
|
323
|
+
* the ID of the team.
|
|
324
|
+
*/
|
|
106
325
|
id: number;
|
|
326
|
+
/**
|
|
327
|
+
* List of team members. Not returned if `summaryOnly = true`
|
|
328
|
+
*/
|
|
107
329
|
members: string[];
|
|
330
|
+
/**
|
|
331
|
+
* the team's full name.
|
|
332
|
+
*/
|
|
108
333
|
name: string;
|
|
334
|
+
/**
|
|
335
|
+
* the Node ID of the team.
|
|
336
|
+
*/
|
|
109
337
|
nodeId: string;
|
|
338
|
+
/**
|
|
339
|
+
* the team's privacy type.
|
|
340
|
+
*/
|
|
110
341
|
privacy: string;
|
|
342
|
+
/**
|
|
343
|
+
* List of team repositories. Not returned if `summaryOnly = true`
|
|
344
|
+
*/
|
|
111
345
|
repositories: string[];
|
|
346
|
+
/**
|
|
347
|
+
* the slug of the team.
|
|
348
|
+
*/
|
|
112
349
|
slug: string;
|
|
113
350
|
}
|
|
114
351
|
export interface GetOrganizationWebhooksWebhook {
|
|
352
|
+
/**
|
|
353
|
+
* `true` if the webhook is active.
|
|
354
|
+
*/
|
|
115
355
|
active: boolean;
|
|
356
|
+
/**
|
|
357
|
+
* the ID of the webhook.
|
|
358
|
+
*/
|
|
116
359
|
id: number;
|
|
360
|
+
/**
|
|
361
|
+
* the name of the webhook.
|
|
362
|
+
*/
|
|
117
363
|
name: string;
|
|
364
|
+
/**
|
|
365
|
+
* the type of the webhook.
|
|
366
|
+
*/
|
|
118
367
|
type: string;
|
|
368
|
+
/**
|
|
369
|
+
* the url of the webhook.
|
|
370
|
+
*/
|
|
119
371
|
url: string;
|
|
120
372
|
}
|
|
121
373
|
export interface GetReleaseAsset {
|
|
374
|
+
/**
|
|
375
|
+
* Browser download URL
|
|
376
|
+
*/
|
|
122
377
|
browserDownloadUrl: string;
|
|
378
|
+
/**
|
|
379
|
+
* MIME type of the asset
|
|
380
|
+
*/
|
|
123
381
|
contentType: string;
|
|
382
|
+
/**
|
|
383
|
+
* Date the asset was created
|
|
384
|
+
*/
|
|
124
385
|
createdAt: string;
|
|
386
|
+
/**
|
|
387
|
+
* ID of the asset
|
|
388
|
+
*/
|
|
125
389
|
id: number;
|
|
390
|
+
/**
|
|
391
|
+
* Label for the asset
|
|
392
|
+
*/
|
|
126
393
|
label: string;
|
|
394
|
+
/**
|
|
395
|
+
* The file name of the asset
|
|
396
|
+
*/
|
|
127
397
|
name: string;
|
|
398
|
+
/**
|
|
399
|
+
* Node ID of the asset
|
|
400
|
+
*/
|
|
128
401
|
nodeId: string;
|
|
402
|
+
/**
|
|
403
|
+
* Size in byte
|
|
404
|
+
*/
|
|
129
405
|
size: number;
|
|
406
|
+
/**
|
|
407
|
+
* Date the asset was last updated
|
|
408
|
+
*/
|
|
130
409
|
updatedAt: string;
|
|
410
|
+
/**
|
|
411
|
+
* URL of the asset
|
|
412
|
+
*/
|
|
131
413
|
url: string;
|
|
132
414
|
}
|
|
133
415
|
export interface GetRepositoryBranchesBranch {
|
|
416
|
+
/**
|
|
417
|
+
* Name of the branch.
|
|
418
|
+
*/
|
|
134
419
|
name: string;
|
|
420
|
+
/**
|
|
421
|
+
* Whether the branch is protected.
|
|
422
|
+
*/
|
|
135
423
|
protected: boolean;
|
|
136
424
|
}
|
|
137
425
|
export interface GetRepositoryDeployKeysKey {
|
|
426
|
+
/**
|
|
427
|
+
* Key id
|
|
428
|
+
*/
|
|
138
429
|
id: number;
|
|
430
|
+
/**
|
|
431
|
+
* Key itself
|
|
432
|
+
*/
|
|
139
433
|
key: string;
|
|
434
|
+
/**
|
|
435
|
+
* Key title
|
|
436
|
+
*/
|
|
140
437
|
title: string;
|
|
438
|
+
/**
|
|
439
|
+
* `true` if the key was verified.
|
|
440
|
+
*/
|
|
141
441
|
verified: boolean;
|
|
142
442
|
}
|
|
143
443
|
export interface GetRepositoryPage {
|
|
144
444
|
cname: string;
|
|
145
445
|
custom404: boolean;
|
|
446
|
+
/**
|
|
447
|
+
* URL to the repository on the web.
|
|
448
|
+
*/
|
|
146
449
|
htmlUrl: string;
|
|
147
450
|
sources: outputs.GetRepositoryPageSource[];
|
|
148
451
|
status: string;
|
|
@@ -153,33 +456,109 @@ export interface GetRepositoryPageSource {
|
|
|
153
456
|
path: string;
|
|
154
457
|
}
|
|
155
458
|
export interface GetRepositoryPullRequestsResult {
|
|
459
|
+
/**
|
|
460
|
+
* If set, filters Pull Requests by base branch name.
|
|
461
|
+
*/
|
|
156
462
|
baseRef: string;
|
|
463
|
+
/**
|
|
464
|
+
* Head commit SHA of the Pull Request base.
|
|
465
|
+
*/
|
|
157
466
|
baseSha: string;
|
|
467
|
+
/**
|
|
468
|
+
* Body of the Pull Request.
|
|
469
|
+
*/
|
|
158
470
|
body: string;
|
|
471
|
+
/**
|
|
472
|
+
* Indicates Whether this Pull Request is a draft.
|
|
473
|
+
*/
|
|
159
474
|
draft: boolean;
|
|
475
|
+
/**
|
|
476
|
+
* Owner of the Pull Request head repository.
|
|
477
|
+
*/
|
|
160
478
|
headOwner: string;
|
|
479
|
+
/**
|
|
480
|
+
* If set, filters Pull Requests by head user or head organization and branch name in the format of "user:ref-name" or "organization:ref-name". For example: "github:new-script-format" or "octocat:test-branch".
|
|
481
|
+
*/
|
|
161
482
|
headRef: string;
|
|
483
|
+
/**
|
|
484
|
+
* Name of the Pull Request head repository.
|
|
485
|
+
*/
|
|
162
486
|
headRepository: string;
|
|
487
|
+
/**
|
|
488
|
+
* Head commit SHA of the Pull Request head.
|
|
489
|
+
*/
|
|
163
490
|
headSha: string;
|
|
491
|
+
/**
|
|
492
|
+
* List of label names set on the Pull Request.
|
|
493
|
+
*/
|
|
164
494
|
labels: string[];
|
|
495
|
+
/**
|
|
496
|
+
* Indicates whether the base repository maintainers can modify the Pull Request.
|
|
497
|
+
*/
|
|
165
498
|
maintainerCanModify: boolean;
|
|
499
|
+
/**
|
|
500
|
+
* The number of the Pull Request within the repository.
|
|
501
|
+
*/
|
|
166
502
|
number: number;
|
|
503
|
+
/**
|
|
504
|
+
* Unix timestamp indicating the Pull Request creation time.
|
|
505
|
+
*/
|
|
167
506
|
openedAt: number;
|
|
507
|
+
/**
|
|
508
|
+
* GitHub login of the user who opened the Pull Request.
|
|
509
|
+
*/
|
|
168
510
|
openedBy: string;
|
|
511
|
+
/**
|
|
512
|
+
* If set, filters Pull Requests by state. Can be "open", "closed", or "all". Default: "open".
|
|
513
|
+
*/
|
|
169
514
|
state: string;
|
|
515
|
+
/**
|
|
516
|
+
* The title of the Pull Request.
|
|
517
|
+
*/
|
|
170
518
|
title: string;
|
|
519
|
+
/**
|
|
520
|
+
* The timestamp of the last Pull Request update.
|
|
521
|
+
*/
|
|
171
522
|
updatedAt: number;
|
|
172
523
|
}
|
|
173
524
|
export interface GetRepositoryTeamsTeam {
|
|
525
|
+
/**
|
|
526
|
+
* The name of the repository.
|
|
527
|
+
*/
|
|
174
528
|
name: string;
|
|
529
|
+
/**
|
|
530
|
+
* Team permission
|
|
531
|
+
*/
|
|
175
532
|
permission: string;
|
|
533
|
+
/**
|
|
534
|
+
* Team slug
|
|
535
|
+
*/
|
|
176
536
|
slug: string;
|
|
177
537
|
}
|
|
538
|
+
export interface GetRepositoryTemplate {
|
|
539
|
+
owner: string;
|
|
540
|
+
repository: string;
|
|
541
|
+
}
|
|
178
542
|
export interface GetRepositoryWebhooksWebhook {
|
|
543
|
+
/**
|
|
544
|
+
* `true` if the webhook is active.
|
|
545
|
+
*/
|
|
179
546
|
active: boolean;
|
|
547
|
+
/**
|
|
548
|
+
* the ID of the webhook.
|
|
549
|
+
*/
|
|
180
550
|
id: number;
|
|
551
|
+
/**
|
|
552
|
+
* the name of the webhook.
|
|
553
|
+
*/
|
|
181
554
|
name: string;
|
|
555
|
+
/**
|
|
556
|
+
* the type of the webhook.
|
|
557
|
+
*/
|
|
182
558
|
type: string;
|
|
559
|
+
/**
|
|
560
|
+
* the url of the webhook.
|
|
561
|
+
*/
|
|
183
562
|
url: string;
|
|
184
563
|
}
|
|
185
564
|
export interface GetTreeEntry {
|
|
@@ -193,46 +572,165 @@ export interface OrganizationWebhookConfiguration {
|
|
|
193
572
|
contentType?: string;
|
|
194
573
|
insecureSsl?: boolean;
|
|
195
574
|
secret?: string;
|
|
575
|
+
/**
|
|
576
|
+
* URL of the webhook
|
|
577
|
+
*/
|
|
196
578
|
url: string;
|
|
197
579
|
}
|
|
198
580
|
export interface RepositoryEnvironmentDeploymentBranchPolicy {
|
|
581
|
+
/**
|
|
582
|
+
* Whether only branches that match the specified name patterns can deploy to this environment.
|
|
583
|
+
*/
|
|
199
584
|
customBranchPolicies: boolean;
|
|
585
|
+
/**
|
|
586
|
+
* Whether only branches with branch protection rules can deploy to this environment.
|
|
587
|
+
*/
|
|
200
588
|
protectedBranches: boolean;
|
|
201
589
|
}
|
|
202
590
|
export interface RepositoryEnvironmentReviewer {
|
|
591
|
+
/**
|
|
592
|
+
* 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.
|
|
593
|
+
*/
|
|
203
594
|
teams?: number[];
|
|
595
|
+
/**
|
|
596
|
+
* 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.
|
|
597
|
+
*/
|
|
204
598
|
users?: number[];
|
|
205
599
|
}
|
|
206
600
|
export interface RepositoryPages {
|
|
601
|
+
/**
|
|
602
|
+
* The custom domain for the repository. This can only be set after the repository has been created.
|
|
603
|
+
*/
|
|
207
604
|
cname?: string;
|
|
605
|
+
/**
|
|
606
|
+
* Whether the rendered GitHub Pages site has a custom 404 page.
|
|
607
|
+
*/
|
|
208
608
|
custom404: boolean;
|
|
609
|
+
/**
|
|
610
|
+
* The absolute URL (including scheme) of the rendered GitHub Pages site e.g. `https://username.github.io`.
|
|
611
|
+
*/
|
|
209
612
|
htmlUrl: string;
|
|
613
|
+
/**
|
|
614
|
+
* The source branch and directory for the rendered Pages site. See GitHub Pages Source below for details.
|
|
615
|
+
*/
|
|
210
616
|
source: outputs.RepositoryPagesSource;
|
|
617
|
+
/**
|
|
618
|
+
* Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
|
|
619
|
+
*/
|
|
211
620
|
status: string;
|
|
212
621
|
url: string;
|
|
213
622
|
}
|
|
214
623
|
export interface RepositoryPagesSource {
|
|
624
|
+
/**
|
|
625
|
+
* The repository branch used to publish the site's source files. (i.e. `main` or `gh-pages`.
|
|
626
|
+
*/
|
|
215
627
|
branch: string;
|
|
628
|
+
/**
|
|
629
|
+
* The repository directory from which the site publishes (Default: `/`).
|
|
630
|
+
*/
|
|
216
631
|
path?: string;
|
|
217
632
|
}
|
|
633
|
+
export interface RepositorySecurityAndAnalysis {
|
|
634
|
+
/**
|
|
635
|
+
* The advanced security configuration for the repository. See Advanced Security Configuration below for details.
|
|
636
|
+
*/
|
|
637
|
+
advancedSecurity: outputs.RepositorySecurityAndAnalysisAdvancedSecurity;
|
|
638
|
+
/**
|
|
639
|
+
* The secret scanning configuration for the repository. See Secret Scanning Configuration below for details.
|
|
640
|
+
*/
|
|
641
|
+
secretScanning: outputs.RepositorySecurityAndAnalysisSecretScanning;
|
|
642
|
+
/**
|
|
643
|
+
* The secret scanning push protection configuration for the repository. See Secret Scanning Push Protection Configuration below for details.
|
|
644
|
+
*/
|
|
645
|
+
secretScanningPushProtection: outputs.RepositorySecurityAndAnalysisSecretScanningPushProtection;
|
|
646
|
+
}
|
|
647
|
+
export interface RepositorySecurityAndAnalysisAdvancedSecurity {
|
|
648
|
+
/**
|
|
649
|
+
* Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
|
|
650
|
+
*/
|
|
651
|
+
status: string;
|
|
652
|
+
}
|
|
653
|
+
export interface RepositorySecurityAndAnalysisSecretScanning {
|
|
654
|
+
/**
|
|
655
|
+
* Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
|
|
656
|
+
*/
|
|
657
|
+
status: string;
|
|
658
|
+
}
|
|
659
|
+
export interface RepositorySecurityAndAnalysisSecretScanningPushProtection {
|
|
660
|
+
/**
|
|
661
|
+
* Set to `enabled` to enable advanced security features on the repository. Can be `enabled` or `disabled`.
|
|
662
|
+
*/
|
|
663
|
+
status: string;
|
|
664
|
+
}
|
|
218
665
|
export interface RepositoryTemplate {
|
|
666
|
+
/**
|
|
667
|
+
* 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).
|
|
668
|
+
*/
|
|
219
669
|
includeAllBranches?: boolean;
|
|
670
|
+
/**
|
|
671
|
+
* The GitHub organization or user the template repository is owned by.
|
|
672
|
+
*/
|
|
220
673
|
owner: string;
|
|
674
|
+
/**
|
|
675
|
+
* The name of the template repository.
|
|
676
|
+
*/
|
|
221
677
|
repository: string;
|
|
222
678
|
}
|
|
223
679
|
export interface RepositoryWebhookConfiguration {
|
|
680
|
+
/**
|
|
681
|
+
* The content type for the payload. Valid values are either `form` or `json`.
|
|
682
|
+
*/
|
|
224
683
|
contentType?: string;
|
|
684
|
+
/**
|
|
685
|
+
* Insecure SSL boolean toggle. Defaults to `false`.
|
|
686
|
+
*/
|
|
225
687
|
insecureSsl?: boolean;
|
|
688
|
+
/**
|
|
689
|
+
* The shared secret for the webhook. [See API documentation](https://developer.github.com/v3/repos/hooks/#create-a-hook).
|
|
690
|
+
*/
|
|
226
691
|
secret?: string;
|
|
692
|
+
/**
|
|
693
|
+
* The URL of the webhook.
|
|
694
|
+
*/
|
|
227
695
|
url: string;
|
|
228
696
|
}
|
|
229
697
|
export interface TeamMembersMember {
|
|
698
|
+
/**
|
|
699
|
+
* The role of the user within the team.
|
|
700
|
+
* Must be one of `member` or `maintainer`. Defaults to `member`.
|
|
701
|
+
*/
|
|
230
702
|
role?: string;
|
|
703
|
+
/**
|
|
704
|
+
* The user to add to the team.
|
|
705
|
+
*/
|
|
231
706
|
username: string;
|
|
232
707
|
}
|
|
708
|
+
export interface TeamSettingsReviewRequestDelegation {
|
|
709
|
+
/**
|
|
710
|
+
* The algorithm to use when assigning pull requests to team members. Supported values are `ROUND_ROBIN` and `LOAD_BALANCE`. Default value is `ROUND_ROBIN`
|
|
711
|
+
*/
|
|
712
|
+
algorithm?: string;
|
|
713
|
+
/**
|
|
714
|
+
* The number of team members to assign to a pull request
|
|
715
|
+
*/
|
|
716
|
+
memberCount?: number;
|
|
717
|
+
/**
|
|
718
|
+
* whether to notify the entire team when at least one member is also assigned to the pull request
|
|
719
|
+
*/
|
|
720
|
+
notify?: boolean;
|
|
721
|
+
}
|
|
233
722
|
export interface TeamSyncGroupMappingGroup {
|
|
723
|
+
/**
|
|
724
|
+
* The description of the IdP group.
|
|
725
|
+
*/
|
|
234
726
|
groupDescription: string;
|
|
727
|
+
/**
|
|
728
|
+
* The ID of the IdP group.
|
|
729
|
+
*/
|
|
235
730
|
groupId: string;
|
|
731
|
+
/**
|
|
732
|
+
* The name of the IdP group.
|
|
733
|
+
*/
|
|
236
734
|
groupName: string;
|
|
237
735
|
}
|
|
238
736
|
export declare namespace config {
|