Monorepo for Tangled tangled.org
1

Configure Feed

Select the types of activity you want to include in your feed.

core / lexicons / ci / triggerPipeline.json
1.8 kB 60 lines
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.ci.triggerPipeline", 4 "defs": { 5 "main": { 6 "type": "procedure", 7 "description": "Trigger a pipeline at an explicit commit. Runs the named workflows, or every workflow defined in the repo when none are named.", 8 "input": { 9 "encoding": "application/json", 10 "schema": { 11 "type": "object", 12 "required": ["repo", "trigger"], 13 "properties": { 14 "repo": { 15 "type": "string", 16 "format": "did", 17 "description": "Target repository DID. Auth is checked against this repo." 18 }, 19 "trigger": { 20 "type": "union", 21 "refs": [ 22 "sh.tangled.ci.trigger#manual", 23 "sh.tangled.ci.trigger#pullRequest" 24 ], 25 "description": "Trigger metadata for this dispatch." 26 }, 27 "workflows": { 28 "type": "array", 29 "items": { 30 "type": "string", 31 "description": "workflow name" 32 }, 33 "description": "Workflow names to run. When not provided, every dispatchable workflow is run." 34 } 35 } 36 } 37 }, 38 "output": { 39 "encoding": "application/json", 40 "schema": { 41 "type": "object", 42 "required": ["pipeline"], 43 "properties": { 44 "pipeline": { 45 "type": "string", 46 "format": "at-uri", 47 "description": "AT-URI of the created pipeline" 48 } 49 } 50 } 51 }, 52 "errors": [ 53 { 54 "name": "InvalidRequest", 55 "description": "Invalid request parameters" 56 } 57 ] 58 } 59 } 60}