Compare commits
1 commit
5ef4da3356
...
7134752525
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7134752525 |
1 changed files with 3 additions and 3 deletions
|
|
@ -182,8 +182,8 @@ All operations use the Forgejo API with `Authorization: token ${FORGE_TOKEN}` he
|
||||||
|
|
||||||
### Create branch
|
### Create branch
|
||||||
```
|
```
|
||||||
POST /repos/{owner}/{repo}/git/branches
|
POST /repos/{owner}/{repo}/branches
|
||||||
Body: {"name": "architect/<sprint-slug>", "old_ref": "refs/heads/main", "new_ref": "<commit-sha>"}
|
Body: {"new_branch_name": "architect/<sprint-slug>", "old_branch_name": "main"}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Create/update file
|
### Create/update file
|
||||||
|
|
@ -200,7 +200,7 @@ Body: {"title": "architect: <sprint summary>", "body": "<pitch-content>", "head"
|
||||||
|
|
||||||
### Close PR
|
### Close PR
|
||||||
```
|
```
|
||||||
POST /repos/{owner}/{repo}/pulls/{index}/pull
|
PATCH /repos/{owner}/{repo}/pulls/{index}
|
||||||
Body: {"state": "closed"}
|
Body: {"state": "closed"}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue