Skip to content

Commit 8127cb9

Browse files
Commit via running: make Sources/repos
1 parent 72a9a42 commit 8127cb9

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

Sources/repos/Types.swift

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8568,6 +8568,11 @@ public enum Components {
85688568
}
85698569
/// - Remark: Generated from `#/components/schemas/security-and-analysis`.
85708570
public struct SecurityAndAnalysis: Codable, Hashable, Sendable {
8571+
/// Enable or disable GitHub Advanced Security for the repository.
8572+
///
8573+
/// For standalone Code Scanning or Secret Protection products, this parameter cannot be used.
8574+
///
8575+
///
85718576
/// - Remark: Generated from `#/components/schemas/security-and-analysis/advanced_security`.
85728577
public struct AdvancedSecurityPayload: Codable, Hashable, Sendable {
85738578
/// - Remark: Generated from `#/components/schemas/security-and-analysis/advanced_security/status`.
@@ -8588,6 +8593,11 @@ public enum Components {
85888593
case status
85898594
}
85908595
}
8596+
/// Enable or disable GitHub Advanced Security for the repository.
8597+
///
8598+
/// For standalone Code Scanning or Secret Protection products, this parameter cannot be used.
8599+
///
8600+
///
85918601
/// - Remark: Generated from `#/components/schemas/security-and-analysis/advanced_security`.
85928602
public var advancedSecurity: Components.Schemas.SecurityAndAnalysis.AdvancedSecurityPayload?
85938603
/// - Remark: Generated from `#/components/schemas/security-and-analysis/code_security`.
@@ -8733,7 +8743,7 @@ public enum Components {
87338743
/// Creates a new `SecurityAndAnalysis`.
87348744
///
87358745
/// - Parameters:
8736-
/// - advancedSecurity:
8746+
/// - advancedSecurity: Enable or disable GitHub Advanced Security for the repository.
87378747
/// - codeSecurity:
87388748
/// - dependabotSecurityUpdates: Enable or disable Dependabot security updates for the repository.
87398749
/// - secretScanning:
@@ -21351,6 +21361,10 @@ public enum Components {
2135121361
///
2135221362
/// - Remark: Generated from `#/components/schemas/release/prerelease`.
2135321363
public var prerelease: Swift.Bool
21364+
/// Whether or not the release is immutable.
21365+
///
21366+
/// - Remark: Generated from `#/components/schemas/release/immutable`.
21367+
public var immutable: Swift.Bool?
2135421368
/// - Remark: Generated from `#/components/schemas/release/created_at`.
2135521369
public var createdAt: Foundation.Date
2135621370
/// - Remark: Generated from `#/components/schemas/release/published_at`.
@@ -21388,6 +21402,7 @@ public enum Components {
2138821402
/// - body:
2138921403
/// - draft: true to create a draft (unpublished) release, false to create a published one.
2139021404
/// - prerelease: Whether to identify the release as a prerelease or a full release.
21405+
/// - immutable: Whether or not the release is immutable.
2139121406
/// - createdAt:
2139221407
/// - publishedAt:
2139321408
/// - author:
@@ -21412,6 +21427,7 @@ public enum Components {
2141221427
body: Swift.String? = nil,
2141321428
draft: Swift.Bool,
2141421429
prerelease: Swift.Bool,
21430+
immutable: Swift.Bool? = nil,
2141521431
createdAt: Foundation.Date,
2141621432
publishedAt: Foundation.Date? = nil,
2141721433
author: Components.Schemas.SimpleUser,
@@ -21436,6 +21452,7 @@ public enum Components {
2143621452
self.body = body
2143721453
self.draft = draft
2143821454
self.prerelease = prerelease
21455+
self.immutable = immutable
2143921456
self.createdAt = createdAt
2144021457
self.publishedAt = publishedAt
2144121458
self.author = author
@@ -21461,6 +21478,7 @@ public enum Components {
2146121478
case body
2146221479
case draft
2146321480
case prerelease
21481+
case immutable
2146421482
case createdAt = "created_at"
2146521483
case publishedAt = "published_at"
2146621484
case author
@@ -25948,7 +25966,11 @@ public enum Operations {
2594825966
///
2594925967
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/PATCH/requestBody/json/security_and_analysis`.
2595025968
public struct SecurityAndAnalysisPayload: Codable, Hashable, Sendable {
25951-
/// Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see "[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security)."
25969+
/// Use the `status` property to enable or disable GitHub Advanced Security for this repository.
25970+
/// For more information, see "[About GitHub Advanced
25971+
/// Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security)."
25972+
///
25973+
/// For standalone Code Scanning or Secret Protection products, this parameter cannot be used.
2595225974
///
2595325975
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/PATCH/requestBody/json/security_and_analysis/advanced_security`.
2595425976
public struct AdvancedSecurityPayload: Codable, Hashable, Sendable {
@@ -25967,7 +25989,11 @@ public enum Operations {
2596725989
case status
2596825990
}
2596925991
}
25970-
/// Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see "[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security)."
25992+
/// Use the `status` property to enable or disable GitHub Advanced Security for this repository.
25993+
/// For more information, see "[About GitHub Advanced
25994+
/// Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security)."
25995+
///
25996+
/// For standalone Code Scanning or Secret Protection products, this parameter cannot be used.
2597125997
///
2597225998
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/PATCH/requestBody/json/security_and_analysis/advanced_security`.
2597325999
public var advancedSecurity: Operations.ReposUpdate.Input.Body.JsonPayload.SecurityAndAnalysisPayload.AdvancedSecurityPayload?
@@ -26089,7 +26115,7 @@ public enum Operations {
2608926115
/// Creates a new `SecurityAndAnalysisPayload`.
2609026116
///
2609126117
/// - Parameters:
26092-
/// - advancedSecurity: Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see "[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security)."
26118+
/// - advancedSecurity: Use the `status` property to enable or disable GitHub Advanced Security for this repository.
2609326119
/// - codeSecurity: Use the `status` property to enable or disable GitHub Code Security for this repository.
2609426120
/// - secretScanning: Use the `status` property to enable or disable secret scanning for this repository. For more information, see "[About secret scanning](/code-security/secret-security/about-secret-scanning)."
2609526121
/// - secretScanningPushProtection: Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see "[Protecting pushes with secret scanning](/code-security/secret-scanning/protecting-pushes-with-secret-scanning)."

0 commit comments

Comments
 (0)