forked from
tangled.org/core
Monorepo for Tangled
1{
2 "lexicon": 1,
3 "id": "sh.tangled.ci.cancelPipeline",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Cancel running pipeline or specific workflows",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": ["repo", "pipeline"],
13 "properties": {
14 "repo": {
15 "type": "string",
16 "format": "did",
17 "description": "git repository DID"
18 },
19 "pipeline": {
20 "type": "string",
21 "format": "tid",
22 "description": "pipeline TID"
23 },
24 "workflows": {
25 "type": "array",
26 "items": {
27 "type": "string",
28 "description": "workflow name"
29 },
30 "description": "Workflow names to filter. When not provided, entire pipeline will be canceled."
31 }
32 }
33 }
34 }
35 }
36 }
37}