Skip to content
Merged
4 changes: 3 additions & 1 deletion Sources/actions/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6723,7 +6723,7 @@ public struct Client: APIProtocol {
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
/// This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
/// This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/actions/runs`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/actions/runs/get(actions/list-workflow-runs-for-repo)`.
Expand Down Expand Up @@ -9384,6 +9384,8 @@ public struct Client: APIProtocol {
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
/// This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs/get(actions/list-workflow-runs)`.
public func actions_sol_list_hyphen_workflow_hyphen_runs(_ input: Operations.actions_sol_list_hyphen_workflow_hyphen_runs.Input) async throws -> Operations.actions_sol_list_hyphen_workflow_hyphen_runs.Output {
Expand Down
12 changes: 9 additions & 3 deletions Sources/actions/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ public protocol APIProtocol: Sendable {
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
/// This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
/// This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/actions/runs`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/actions/runs/get(actions/list-workflow-runs-for-repo)`.
Expand Down Expand Up @@ -1376,6 +1376,8 @@ public protocol APIProtocol: Sendable {
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
/// This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs/get(actions/list-workflow-runs)`.
func actions_sol_list_hyphen_workflow_hyphen_runs(_ input: Operations.actions_sol_list_hyphen_workflow_hyphen_runs.Input) async throws -> Operations.actions_sol_list_hyphen_workflow_hyphen_runs.Output
Expand Down Expand Up @@ -3163,7 +3165,7 @@ extension APIProtocol {
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
/// This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
/// This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/actions/runs`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/actions/runs/get(actions/list-workflow-runs-for-repo)`.
Expand Down Expand Up @@ -3808,6 +3810,8 @@ extension APIProtocol {
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
/// This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs/get(actions/list-workflow-runs)`.
public func actions_sol_list_hyphen_workflow_hyphen_runs(
Expand Down Expand Up @@ -23442,7 +23446,7 @@ public enum Operations {
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
/// This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
/// This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/actions/runs`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/actions/runs/get(actions/list-workflow-runs-for-repo)`.
Expand Down Expand Up @@ -29355,6 +29359,8 @@ public enum Operations {
///
/// OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
///
/// This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
///
/// - Remark: HTTP `GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs`.
/// - Remark: Generated from `#/paths//repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs/get(actions/list-workflow-runs)`.
public enum actions_sol_list_hyphen_workflow_hyphen_runs {
Expand Down
37 changes: 36 additions & 1 deletion Sources/activity/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2611,6 +2611,35 @@ public enum Components {
case rocket
}
}
/// - Remark: Generated from `#/components/schemas/sub-issues-summary`.
public struct sub_hyphen_issues_hyphen_summary: Codable, Hashable, Sendable {
/// - Remark: Generated from `#/components/schemas/sub-issues-summary/total`.
public var total: Swift.Int
/// - Remark: Generated from `#/components/schemas/sub-issues-summary/completed`.
public var completed: Swift.Int
/// - Remark: Generated from `#/components/schemas/sub-issues-summary/percent_completed`.
public var percent_completed: Swift.Int
/// Creates a new `sub_hyphen_issues_hyphen_summary`.
///
/// - Parameters:
/// - total:
/// - completed:
/// - percent_completed:
public init(
total: Swift.Int,
completed: Swift.Int,
percent_completed: Swift.Int
) {
self.total = total
self.completed = completed
self.percent_completed = percent_completed
}
public enum CodingKeys: String, CodingKey {
case total
case completed
case percent_completed
}
}
/// Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.
///
/// - Remark: Generated from `#/components/schemas/issue`.
Expand Down Expand Up @@ -2838,6 +2867,8 @@ public enum Components {
public var author_association: Components.Schemas.author_hyphen_association
/// - Remark: Generated from `#/components/schemas/issue/reactions`.
public var reactions: Components.Schemas.reaction_hyphen_rollup?
/// - Remark: Generated from `#/components/schemas/issue/sub_issues_summary`.
public var sub_issues_summary: Components.Schemas.sub_hyphen_issues_hyphen_summary?
/// Creates a new `issue`.
///
/// - Parameters:
Expand Down Expand Up @@ -2875,6 +2906,7 @@ public enum Components {
/// - performed_via_github_app:
/// - author_association:
/// - reactions:
/// - sub_issues_summary:
public init(
id: Swift.Int64,
node_id: Swift.String,
Expand Down Expand Up @@ -2909,7 +2941,8 @@ public enum Components {
repository: Components.Schemas.repository? = nil,
performed_via_github_app: Components.Schemas.nullable_hyphen_integration? = nil,
author_association: Components.Schemas.author_hyphen_association,
reactions: Components.Schemas.reaction_hyphen_rollup? = nil
reactions: Components.Schemas.reaction_hyphen_rollup? = nil,
sub_issues_summary: Components.Schemas.sub_hyphen_issues_hyphen_summary? = nil
) {
self.id = id
self.node_id = node_id
Expand Down Expand Up @@ -2945,6 +2978,7 @@ public enum Components {
self.performed_via_github_app = performed_via_github_app
self.author_association = author_association
self.reactions = reactions
self.sub_issues_summary = sub_issues_summary
}
public enum CodingKeys: String, CodingKey {
case id
Expand Down Expand Up @@ -2981,6 +3015,7 @@ public enum Components {
case performed_via_github_app
case author_association
case reactions
case sub_issues_summary
}
}
/// Comments provide a way for people to collaborate on an issue.
Expand Down
16 changes: 14 additions & 2 deletions Sources/git/Types.swift
Original file line number Diff line number Diff line change
Expand Up @@ -787,29 +787,35 @@ public enum Components {
public var payload: Swift.String?
/// - Remark: Generated from `#/components/schemas/verification/signature`.
public var signature: Swift.String?
/// - Remark: Generated from `#/components/schemas/verification/verified_at`.
public var verified_at: Swift.String?
/// Creates a new `verification`.
///
/// - Parameters:
/// - verified:
/// - reason:
/// - payload:
/// - signature:
/// - verified_at:
public init(
verified: Swift.Bool,
reason: Swift.String,
payload: Swift.String? = nil,
signature: Swift.String? = nil
signature: Swift.String? = nil,
verified_at: Swift.String? = nil
) {
self.verified = verified
self.reason = reason
self.payload = payload
self.signature = signature
self.verified_at = verified_at
}
public enum CodingKeys: String, CodingKey {
case verified
case reason
case payload
case signature
case verified_at
}
}
/// The ID of the push protection bypass placeholder. This value is returned on any push protected routes.
Expand Down Expand Up @@ -1158,29 +1164,35 @@ public enum Components {
public var signature: Swift.String?
/// - Remark: Generated from `#/components/schemas/git-commit/verification/payload`.
public var payload: Swift.String?
/// - Remark: Generated from `#/components/schemas/git-commit/verification/verified_at`.
public var verified_at: Swift.String?
/// Creates a new `verificationPayload`.
///
/// - Parameters:
/// - verified:
/// - reason:
/// - signature:
/// - payload:
/// - verified_at:
public init(
verified: Swift.Bool,
reason: Swift.String,
signature: Swift.String? = nil,
payload: Swift.String? = nil
payload: Swift.String? = nil,
verified_at: Swift.String? = nil
) {
self.verified = verified
self.reason = reason
self.signature = signature
self.payload = payload
self.verified_at = verified_at
}
public enum CodingKeys: String, CodingKey {
case verified
case reason
case signature
case payload
case verified_at
}
}
/// - Remark: Generated from `#/components/schemas/git-commit/verification`.
Expand Down
Loading