This repository has no description
0

Configure Feed

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

core / lexicons / git / mergeCommit.json
2.0 kB 68 lines
1{ 2 "lexicon": 1, 3 "id": "sh.tangled.git.mergeCommit", 4 "defs": { 5 "main": { 6 "type": "procedure", 7 "description": "Merge a commit into repository's branch", 8 "input": { 9 "encoding": "application/json", 10 "schema": { 11 "type": "object", 12 "required": ["target", "source", "style"], 13 "properties": { 14 "target": { 15 "type": "object", 16 "required": ["repo", "branch"], 17 "properties": { 18 "repo": { 19 "type": "string", 20 "format": "did", 21 "description": "DID of target git repository" 22 }, 23 "branch": { 24 "type": "string", 25 "description": "Target branch to merge into" 26 } 27 } 28 }, 29 "source": { 30 "type": "object", 31 "required": ["repo", "commit"], 32 "properties": { 33 "repo": { 34 "type": "string", 35 "format": "did", 36 "description": "DID of source git repository" 37 }, 38 "commit": { 39 "type": "string", 40 "description": "Head commit ID to merge" 41 } 42 } 43 }, 44 "style": { 45 "type": "string", 46 "enum": [ 47 "rebase", 48 "merge", 49 "rebase-merge", 50 "squash-rebase", 51 "squash-rebase-merge", 52 "fast-forward-only" 53 ] 54 }, 55 "mergeCommit": { 56 "type": "object", 57 "description": "Merge commit content. Used when merge commit is created.", 58 "properties": { 59 "author": { "type": "ref", "ref": "sh.tangled.git.defs#signature" }, 60 "message": { "type": "string", "maxLength": 1000000 } 61 } 62 } 63 } 64 } 65 } 66 } 67 } 68}