You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/rulesets/{ruleset_id}/get(repos/get-repo-ruleset)`.
5270
5282
public func repos_sol_get_hyphen_repo_hyphen_ruleset(
@@ -10964,6 +10976,7 @@ public enum Components {
10964
10976
case RepositoryRole = "RepositoryRole"
10965
10977
case Team = "Team"
10966
10978
case DeployKey = "DeployKey"
10979
+
case EnterpriseTeam = "EnterpriseTeam"
10967
10980
}
10968
10981
/// The type of actor that can bypass a ruleset.
10969
10982
///
@@ -22944,6 +22957,8 @@ public enum Operations {
22944
22957
/// - Remark: Generated from `#/paths/orgs/{org}/repos/POST/requestBody/json/use_squash_pr_title_as_default`.
22945
22958
@available(*, deprecated)
22946
22959
public var use_squash_pr_title_as_default: Swift.Bool?
22960
+
/// Required when using `squash_merge_commit_message`.
22961
+
///
22947
22962
/// The default value for a squash merge commit title:
22948
22963
///
22949
22964
/// - `PR_TITLE` - default to the pull request's title.
@@ -22954,6 +22969,8 @@ public enum Operations {
22954
22969
case PR_TITLE = "PR_TITLE"
22955
22970
case COMMIT_OR_PR_TITLE = "COMMIT_OR_PR_TITLE"
22956
22971
}
22972
+
/// Required when using `squash_merge_commit_message`.
22973
+
///
22957
22974
/// The default value for a squash merge commit title:
22958
22975
///
22959
22976
/// - `PR_TITLE` - default to the pull request's title.
@@ -22981,6 +22998,8 @@ public enum Operations {
22981
22998
///
22982
22999
/// - Remark: Generated from `#/paths/orgs/{org}/repos/POST/requestBody/json/squash_merge_commit_message`.
22983
23000
public var squash_merge_commit_message: Operations.repos_sol_create_hyphen_in_hyphen_org.Input.Body.jsonPayload.squash_merge_commit_messagePayload?
23001
+
/// Required when using `merge_commit_message`.
23002
+
///
22984
23003
/// The default value for a merge commit title.
22985
23004
///
22986
23005
/// - `PR_TITLE` - default to the pull request's title.
@@ -22991,6 +23010,8 @@ public enum Operations {
22991
23010
case PR_TITLE = "PR_TITLE"
22992
23011
case MERGE_MESSAGE = "MERGE_MESSAGE"
22993
23012
}
23013
+
/// Required when using `merge_commit_message`.
23014
+
///
22994
23015
/// The default value for a merge commit title.
22995
23016
///
22996
23017
/// - `PR_TITLE` - default to the pull request's title.
@@ -23065,9 +23086,9 @@ public enum Operations {
23065
23086
/// - allow_auto_merge: Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.
23066
23087
/// - delete_branch_on_merge: Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. **The authenticated user must be an organization owner to set this property to `true`.**
23067
23088
/// - use_squash_pr_title_as_default: Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.
23068
-
/// - squash_merge_commit_title: The default value for a squash merge commit title:
23089
+
/// - squash_merge_commit_title: Required when using `squash_merge_commit_message`.
23069
23090
/// - squash_merge_commit_message: The default value for a squash merge commit message:
23070
-
/// - merge_commit_title: The default value for a merge commit title.
23091
+
/// - merge_commit_title: Required when using `merge_commit_message`.
23071
23092
/// - merge_commit_message: The default value for a merge commit message.
23072
23093
/// - custom_properties: The custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values.
23073
23094
public init(
@@ -24233,6 +24254,9 @@ public enum Operations {
24233
24254
///
24234
24255
/// Get a repository ruleset for an organization.
24235
24256
///
24257
+
/// **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user
24258
+
/// making the API request has write access to the ruleset.
/// - Remark: Generated from `#/paths//orgs/{org}/rulesets/{ruleset_id}/get(repos/get-org-ruleset)`.
24238
24262
public enum repos_sol_get_hyphen_org_hyphen_ruleset {
@@ -25322,6 +25346,8 @@ public enum Operations {
25322
25346
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/PATCH/requestBody/json/use_squash_pr_title_as_default`.
25323
25347
@available(*, deprecated)
25324
25348
public var use_squash_pr_title_as_default: Swift.Bool?
25349
+
/// Required when using `squash_merge_commit_message`.
25350
+
///
25325
25351
/// The default value for a squash merge commit title:
25326
25352
///
25327
25353
/// - `PR_TITLE` - default to the pull request's title.
@@ -25332,6 +25358,8 @@ public enum Operations {
25332
25358
case PR_TITLE = "PR_TITLE"
25333
25359
case COMMIT_OR_PR_TITLE = "COMMIT_OR_PR_TITLE"
25334
25360
}
25361
+
/// Required when using `squash_merge_commit_message`.
25362
+
///
25335
25363
/// The default value for a squash merge commit title:
25336
25364
///
25337
25365
/// - `PR_TITLE` - default to the pull request's title.
@@ -25359,6 +25387,8 @@ public enum Operations {
25359
25387
///
25360
25388
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/PATCH/requestBody/json/squash_merge_commit_message`.
25361
25389
public var squash_merge_commit_message: Operations.repos_sol_update.Input.Body.jsonPayload.squash_merge_commit_messagePayload?
25390
+
/// Required when using `merge_commit_message`.
25391
+
///
25362
25392
/// The default value for a merge commit title.
25363
25393
///
25364
25394
/// - `PR_TITLE` - default to the pull request's title.
@@ -25369,6 +25399,8 @@ public enum Operations {
25369
25399
case PR_TITLE = "PR_TITLE"
25370
25400
case MERGE_MESSAGE = "MERGE_MESSAGE"
25371
25401
}
25402
+
/// Required when using `merge_commit_message`.
25403
+
///
25372
25404
/// The default value for a merge commit title.
25373
25405
///
25374
25406
/// - `PR_TITLE` - default to the pull request's title.
@@ -25429,9 +25461,9 @@ public enum Operations {
25429
25461
/// - delete_branch_on_merge: Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.
25430
25462
/// - allow_update_branch: Either `true` to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.
25431
25463
/// - use_squash_pr_title_as_default: Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.
25432
-
/// - squash_merge_commit_title: The default value for a squash merge commit title:
25464
+
/// - squash_merge_commit_title: Required when using `squash_merge_commit_message`.
25433
25465
/// - squash_merge_commit_message: The default value for a squash merge commit message:
25434
-
/// - merge_commit_title: The default value for a merge commit title.
25466
+
/// - merge_commit_title: Required when using `merge_commit_message`.
25435
25467
/// - merge_commit_message: The default value for a merge commit message.
25436
25468
/// - archived: Whether to archive this repository. `false` will unarchive a previously archived repository.
25437
25469
/// - allow_forking: Either `true` to allow private forks, or `false` to prevent private forks.
@@ -57572,6 +57604,9 @@ public enum Operations {
57572
57604
///
57573
57605
/// Get a ruleset for a repository.
57574
57606
///
57607
+
/// **Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the user
57608
+
/// making the API request has write access to the ruleset.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/rulesets/{ruleset_id}/get(repos/get-repo-ruleset)`.
57577
57612
public enum repos_sol_get_hyphen_repo_hyphen_ruleset {
@@ -62958,6 +62993,8 @@ public enum Operations {
62958
62993
///
62959
62994
/// - Remark: Generated from `#/paths/user/repos/POST/requestBody/json/delete_branch_on_merge`.
62960
62995
public var delete_branch_on_merge: Swift.Bool?
62996
+
/// Required when using `squash_merge_commit_message`.
62997
+
///
62961
62998
/// The default value for a squash merge commit title:
62962
62999
///
62963
63000
/// - `PR_TITLE` - default to the pull request's title.
@@ -62968,6 +63005,8 @@ public enum Operations {
62968
63005
case PR_TITLE = "PR_TITLE"
62969
63006
case COMMIT_OR_PR_TITLE = "COMMIT_OR_PR_TITLE"
62970
63007
}
63008
+
/// Required when using `squash_merge_commit_message`.
63009
+
///
62971
63010
/// The default value for a squash merge commit title:
62972
63011
///
62973
63012
/// - `PR_TITLE` - default to the pull request's title.
@@ -62995,6 +63034,8 @@ public enum Operations {
62995
63034
///
62996
63035
/// - Remark: Generated from `#/paths/user/repos/POST/requestBody/json/squash_merge_commit_message`.
62997
63036
public var squash_merge_commit_message: Operations.repos_sol_create_hyphen_for_hyphen_authenticated_hyphen_user.Input.Body.jsonPayload.squash_merge_commit_messagePayload?
63037
+
/// Required when using `merge_commit_message`.
63038
+
///
62998
63039
/// The default value for a merge commit title.
62999
63040
///
63000
63041
/// - `PR_TITLE` - default to the pull request's title.
@@ -63005,6 +63046,8 @@ public enum Operations {
63005
63046
case PR_TITLE = "PR_TITLE"
63006
63047
case MERGE_MESSAGE = "MERGE_MESSAGE"
63007
63048
}
63049
+
/// Required when using `merge_commit_message`.
63050
+
///
63008
63051
/// The default value for a merge commit title.
63009
63052
///
63010
63053
/// - `PR_TITLE` - default to the pull request's title.
@@ -63060,9 +63103,9 @@ public enum Operations {
63060
63103
/// - allow_rebase_merge: Whether to allow rebase merges for pull requests.
63061
63104
/// - allow_auto_merge: Whether to allow Auto-merge to be used on pull requests.
63062
63105
/// - delete_branch_on_merge: Whether to delete head branches when pull requests are merged
63063
-
/// - squash_merge_commit_title: The default value for a squash merge commit title:
63106
+
/// - squash_merge_commit_title: Required when using `squash_merge_commit_message`.
63064
63107
/// - squash_merge_commit_message: The default value for a squash merge commit message:
63065
-
/// - merge_commit_title: The default value for a merge commit title.
63108
+
/// - merge_commit_title: Required when using `merge_commit_message`.
63066
63109
/// - merge_commit_message: The default value for a merge commit message.
63067
63110
/// - has_downloads: Whether downloads are enabled.
63068
63111
/// - is_template: Whether this repository acts as a template that can be used to generate new repositories.
0 commit comments