Build iOS App / Build .ipa and publish source (push) Failing after 35s
Multi-repo PR inbox, review (approve/request changes/comment), merge with gating toggle, read-only diff viewer, and Gitea Actions check status with one-tap re-run. Ships unsigned via the iMac runner to the SideStore source.
17 lines
515 B
Swift
17 lines
515 B
Swift
import Foundation
|
|
|
|
/// One file changed by a PR, from `/repos/{owner}/{repo}/pulls/{index}/files`.
|
|
struct ChangedFile: Codable, Identifiable, Hashable {
|
|
let filename: String
|
|
let status: String? // added | removed | modified | renamed
|
|
let additions: Int
|
|
let deletions: Int
|
|
let patch: String? // unified diff hunks (only for small diffs)
|
|
|
|
var id: String { filename }
|
|
|
|
enum CodingKeys: String, CodingKey {
|
|
case filename, status, additions, deletions, patch
|
|
}
|
|
}
|