From
bafyreifdgsa5sfvbwxxqdvsiiskgv7w6clvk6tgpermitz5ciabv4vch2m
indexed 2026-10-28 14:06 UTC
View this version
To
bafyreifdgsa5sfvbwxxqdvsiiskgv7w6clvk6tgpermitz5ciabv4vch2m
indexed 2026-10-28 14:06 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"externalSource": {55
"properties": {66
"link": {77
"format": "uri",88
"type": "string"99
},1010
"name": {1111
"description": "human-readable name of external source",1212
"type": "string"1313
}1414
},1515
"required": [1616
"link"1717
],1818
"type": "object"1919
},2020
"fileSource": {2121
"properties": {2222
"commit": {2323
"maxLength": 128,2424
"minLength": 40,2525
"type": "string"2626
},2727
"lines": {2828
"ref": "#lineRange",2929
"type": "ref"3030
},3131
"path": {3232
"minLength": 1,3333
"type": "string"3434
},3535
"repo": {3636
"format": "did",3737
"type": "string"3838
}3939
},4040
"required": [4141
"repo",4242
"commit",4343
"path"4444
],4545
"type": "object"4646
},4747
"lineRange": {4848
"properties": {4949
"end": {5050
"minimum": 1,5151
"type": "integer"5252
},5353
"start": {5454
"minimum": 1,5555
"type": "integer"5656
}5757
},5858
"required": [5959
"start",6060
"end"6161
],6262
"type": "object"6363
},6464
"pipeline": {6565
"description": "A CI pipeline. Record-like, but owned by the spindle rather than a PDS.",6666
"properties": {6767
"commit": {6868
"description": "Commit Id this pipeline is running on",6969
"type": "string"7070
},7171
"createdAt": {7272
"format": "datetime",7373
"type": "string"7474
},7575
"id": {7676
"description": "Spindle-local pipeline id",7777
"format": "record-key",7878
"type": "string"7979
},8080
"repo": {8181
"description": "Repository DID",8282
"format": "did",8383
"type": "string"8484
},8585
"sourceRepo": {8686
"description": "Repository DID that the commit was checked out from, if different from repo (e.g. a fork for a fork-based pull request)",8787
"format": "did",8888
"type": "string"8989
},9090
"trigger": {9191
"closed": false,9292
"description": "Trigger event that triggered this pipeline.",9393
"refs": [9494
"org.tangled.event.push",9595
"org.tangled.event.pullRequest",9696
"org.tangled.ci.trigger.manual",9797
"org.tangled.ci.trigger.schedule"9898
],9999
"type": "union"100100
},101101
"workflows": {102102
"description": "Triggered workflows",103103
"items": {104104
"ref": "#workflowRun",105105
"type": "ref"106106
},107107
"maxLength": 50,108108
"minLength": 1,109109
"type": "array"110110
}111111
},112112
"required": [113113
"id",114114
"repo",115115
"trigger",116116
"commit",117117
"workflows"118118
],119119
"type": "object"120120
},121121
"workflow": {122122
"description": "A workflow definition",123123
"properties": {124124
"hash": {125125
"description": "Fingerprint of the workflow definition as resolved by the spindle.",126126
"type": "string"127127
},128128
"id": {129129
"maxLength": 128,130130
"minLength": 1,131131
"type": "string"132132
},133133
"name": {134134
"description": "Human-readable name of the workflow",135135
"maxLength": 128,136136
"minLength": 1,137137
"type": "string"138138
},139139
"source": {140140
"refs": [141141
"#fileSource",142142
"#externalSource"143143
],144144
"type": "union"145145
},146146
"triggers": {147147
"description": "Event types that triggers this workflow.",148148
"items": {149149
"knownValues": [150150
"org.tangled.event.push",151151
"org.tangled.event.pullRequest",152152
"org.tangled.ci.trigger.manual",153153
"org.tangled.ci.trigger.schedule"154154
],155155
"type": "string"156156
},157157
"type": "array"158158
}159159
},160160
"required": [161161
"id",162162
"source",163163
"triggers"164164
],165165
"type": "object"166166
},167167
"workflowRun": {168168
"properties": {169169
"definition": {170170
"description": "Workflow definition where this workflow run is originated from.",171171
"ref": "#workflow",172172
"type": "ref"173173
},174174
"error": {175175
"type": "string"176176
},177177
"finishedAt": {178178
"format": "datetime",179179
"type": "string"180180
},181181
"id": {182182
"description": "Pipeline-local workflow id, usually same as name.",183183
"maxLength": 128,184184
"minLength": 1,185185
"type": "string"186186
},187187
"name": {188188
"description": "Human-readable name of the workflow",189189
"maxLength": 128,190190
"type": "string"191191
},192192
"startedAt": {193193
"format": "datetime",194194
"type": "string"195195
},196196
"status": {197197
"description": "Workflow status",198198
"enum": [199199
"pending",200200
"blocked",201201
"running",202202
"failed",203203
"timeout",204204
"cancelled",205205
"success"206206
],207207
"type": "string"208208
}209209
},210210
"required": [211211
"definition",212212
"id",213213
"status"214214
],215215
"type": "object"216216
}217217
},218218
"id": "org.tangled.ci.defs",219219
"lexicon": 1220220
}