forked from
tangled.org/core
Monorepo for Tangled
1.6 kB
57 lines
1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.merge",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Merge a patch into a repository branch",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": ["did", "name", "patch", "branch"],
13 "properties": {
14 "did": {
15 "type": "string",
16 "format": "did",
17 "description": "DID of the repository owner"
18 },
19 "name": {
20 "type": "string",
21 "description": "Name of the repository"
22 },
23 "repo": {
24 "type": "string",
25 "format": "did",
26 "description": "DID of the repository"
27 },
28 "patch": {
29 "type": "string",
30 "description": "Patch content to merge"
31 },
32 "branch": {
33 "type": "string",
34 "description": "Target branch to merge into"
35 },
36 "authorName": {
37 "type": "string",
38 "description": "Author name for the merge commit"
39 },
40 "authorEmail": {
41 "type": "string",
42 "description": "Author email for the merge commit"
43 },
44 "commitBody": {
45 "type": "string",
46 "description": "Additional commit message body"
47 },
48 "commitMessage": {
49 "type": "string",
50 "description": "Merge commit message"
51 }
52 }
53 }
54 }
55 }
56 }
57}