@@ -4177,6 +4177,81 @@ export interface WebhookFilter {
4177
4177
excludeMatchedPattern?: boolean | undefined;
4178
4178
}
4179
4179
4180
+
/**
4181
+
* @public
4182
+
* @enum
4183
+
*/
4184
+
export const PullRequestBuildApproverRole = {
4185
+
BITBUCKET_ADMIN: "BITBUCKET_ADMIN",
4186
+
BITBUCKET_READ: "BITBUCKET_READ",
4187
+
BITBUCKET_WRITE: "BITBUCKET_WRITE",
4188
+
GITHUB_ADMIN: "GITHUB_ADMIN",
4189
+
GITHUB_MAINTAIN: "GITHUB_MAINTAIN",
4190
+
GITHUB_READ: "GITHUB_READ",
4191
+
GITHUB_TRIAGE: "GITHUB_TRIAGE",
4192
+
GITHUB_WRITE: "GITHUB_WRITE",
4193
+
GITLAB_DEVELOPER: "GITLAB_DEVELOPER",
4194
+
GITLAB_GUEST: "GITLAB_GUEST",
4195
+
GITLAB_MAINTAINER: "GITLAB_MAINTAINER",
4196
+
GITLAB_OWNER: "GITLAB_OWNER",
4197
+
GITLAB_PLANNER: "GITLAB_PLANNER",
4198
+
GITLAB_REPORTER: "GITLAB_REPORTER",
4199
+
} as const;
4200
+
4201
+
/**
4202
+
* @public
4203
+
*/
4204
+
export type PullRequestBuildApproverRole =
4205
+
(typeof PullRequestBuildApproverRole)[keyof typeof PullRequestBuildApproverRole];
4206
+
4207
+
/**
4208
+
* @public
4209
+
* @enum
4210
+
*/
4211
+
export const PullRequestBuildCommentApproval = {
4212
+
ALL_PULL_REQUESTS: "ALL_PULL_REQUESTS",
4213
+
DISABLED: "DISABLED",
4214
+
FORK_PULL_REQUESTS: "FORK_PULL_REQUESTS",
4215
+
} as const;
4216
+
4217
+
/**
4218
+
* @public
4219
+
*/
4220
+
export type PullRequestBuildCommentApproval =
4221
+
(typeof PullRequestBuildCommentApproval)[keyof typeof PullRequestBuildCommentApproval];
4222
+
4223
+
/**
4224
+
* <p>A PullRequestBuildPolicy object that defines comment-based approval requirements for triggering builds on pull requests. This policy helps control when automated builds are executed based on contributor permissions and approval workflows.</p>
4225
+
* @public
4226
+
*/
4227
+
export interface PullRequestBuildPolicy {
4228
+
/**
4229
+
* <p>Specifies when comment-based approval is required before triggering a build on pull requests. This setting determines whether builds run automatically or require explicit approval through comments.</p>
4230
+
* <ul>
4231
+
* <li>
4232
+
* <p>
4233
+
* <i>DISABLED</i>: Builds trigger automatically without requiring comment approval</p>
4234
+
* </li>
4235
+
* <li>
4236
+
* <p>
4237
+
* <i>ALL_PULL_REQUESTS</i>: All pull requests require comment approval before builds execute (unless contributor is one of the approver roles)</p>
4238
+
* </li>
4239
+
* <li>
4240
+
* <p>
4241
+
* <i>FORK_PULL_REQUESTS</i>: Only pull requests from forked repositories require comment approval (unless contributor is one of the approver roles)</p>
4242
+
* </li>
4243
+
* </ul>
4244
+
* @public
4245
+
*/
4246
+
requiresCommentApproval: PullRequestBuildCommentApproval | undefined;
4247
+
4248
+
/**
4249
+
* <p>List of repository roles that have approval privileges for pull request builds when comment approval is required. Only users with these roles can provide valid comment approvals. If a pull request contributor is one of these roles, their pull request builds will trigger automatically. This field is only applicable when <code>requiresCommentApproval</code> is not <i>DISABLED</i>.</p>
4250
+
* @public
4251
+
*/
4252
+
approverRoles?: PullRequestBuildApproverRole[] | undefined;
4253
+
}
4254
+
4180
4255
/**
4181
4256
* @public
4182
4257
* @enum
@@ -4350,6 +4425,12 @@ export interface Webhook {
4350
4425
* @public
4351
4426
*/
4352
4427
statusMessage?: string | undefined;
4428
+
4429
+
/**
4430
+
* <p>A PullRequestBuildPolicy object that defines comment-based approval requirements for triggering builds on pull requests. This policy helps control when automated builds are executed based on contributor permissions and approval workflows.</p>
4431
+
* @public
4432
+
*/
4433
+
pullRequestBuildPolicy?: PullRequestBuildPolicy | undefined;
4353
4434
}
4354
4435
4355
4436
/**
@@ -5979,81 +6060,6 @@ export interface CreateReportGroupOutput {
5979
6060
reportGroup?: ReportGroup | undefined;
5980
6061
}
5981
6062
5982
-
/**
5983
-
* @public
5984
-
* @enum
5985
-
*/
5986
-
export const PullRequestBuildApproverRole = {
5987
-
BITBUCKET_ADMIN: "BITBUCKET_ADMIN",
5988
-
BITBUCKET_READ: "BITBUCKET_READ",
5989
-
BITBUCKET_WRITE: "BITBUCKET_WRITE",
5990
-
GITHUB_ADMIN: "GITHUB_ADMIN",
5991
-
GITHUB_MAINTAIN: "GITHUB_MAINTAIN",
5992
-
GITHUB_READ: "GITHUB_READ",
5993
-
GITHUB_TRIAGE: "GITHUB_TRIAGE",
5994
-
GITHUB_WRITE: "GITHUB_WRITE",
5995
-
GITLAB_DEVELOPER: "GITLAB_DEVELOPER",
5996
-
GITLAB_GUEST: "GITLAB_GUEST",
5997
-
GITLAB_MAINTAINER: "GITLAB_MAINTAINER",
5998
-
GITLAB_OWNER: "GITLAB_OWNER",
5999
-
GITLAB_PLANNER: "GITLAB_PLANNER",
6000
-
GITLAB_REPORTER: "GITLAB_REPORTER",
6001
-
} as const;
6002
-
6003
-
/**
6004
-
* @public
6005
-
*/
6006
-
export type PullRequestBuildApproverRole =
6007
-
(typeof PullRequestBuildApproverRole)[keyof typeof PullRequestBuildApproverRole];
6008
-
6009
-
/**
6010
-
* @public
6011
-
* @enum
6012
-
*/
6013
-
export const PullRequestBuildCommentApproval = {
6014
-
ALL_PULL_REQUESTS: "ALL_PULL_REQUESTS",
6015
-
DISABLED: "DISABLED",
6016
-
FORK_PULL_REQUESTS: "FORK_PULL_REQUESTS",
6017
-
} as const;
6018
-
6019
-
/**
6020
-
* @public
6021
-
*/
6022
-
export type PullRequestBuildCommentApproval =
6023
-
(typeof PullRequestBuildCommentApproval)[keyof typeof PullRequestBuildCommentApproval];
6024
-
6025
-
/**
6026
-
* <p>Configuration policy that defines comment-based approval requirements for triggering builds on pull requests. This policy helps control when automated builds are executed based on contributor permissions and approval workflows.</p>
6027
-
* @public
6028
-
*/
6029
-
export interface PullRequestBuildPolicy {
6030
-
/**
6031
-
* <p>Specifies when comment-based approval is required before triggering a build on pull requests. This setting determines whether builds run automatically or require explicit approval through comments.</p>
6032
-
* <ul>
6033
-
* <li>
6034
-
* <p>
6035
-
* <i>DISABLED</i>: Builds trigger automatically without requiring comment approval</p>
6036
-
* </li>
6037
-
* <li>
6038
-
* <p>
6039
-
* <i>ALL_PULL_REQUESTS</i>: All pull requests require comment approval before builds execute (unless contributor is one of the approver roles)</p>
6040
-
* </li>
6041
-
* <li>
6042
-
* <p>
6043
-
* <i>FORK_PULL_REQUESTS</i>: Only pull requests from forked repositories require comment approval (unless contributor is one of the approver roles)</p>
6044
-
* </li>
6045
-
* </ul>
6046
-
* @public
6047
-
*/
6048
-
requiresCommentApproval: PullRequestBuildCommentApproval | undefined;
6049
-
6050
-
/**
6051
-
* <p>List of repository roles that have approval privileges for pull request builds when comment approval is required. Only users with these roles can provide valid comment approvals. If a pull request contributor is one of these roles, their pull request builds will trigger automatically. This field is only applicable when <code>requiresCommentApproval</code> is not <i>DISABLED</i>.</p>
6052
-
* @public
6053
-
*/
6054
-
approverRoles?: PullRequestBuildApproverRole[] | undefined;
6055
-
}
6056
-
6057
6063
/**
6058
6064
* @public
6059
6065
*/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4