fix: correct Forgejo API references for merge and comments
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

This commit is contained in:
Agent 2026-04-01 11:08:37 +00:00
parent 3aca03a06b
commit d315c79866

View file

@ -285,15 +285,15 @@ PATCH /repos/{owner}/{repo}/pulls/{index}
Body: {"state": "closed"} Body: {"state": "closed"}
``` ```
### Merge PR (merge with squash) ### Merge PR
``` ```
MERGE /repos/{owner}/{repo}/pulls/{index} POST /repos/{owner}/{repo}/pulls/{index}/merge
Body: {"merge_base": "main", "method": "merge"} Body: {"Do": "merge"}
``` ```
### Post comment on PR ### Post comment on PR (via issues endpoint)
``` ```
POST /repos/{owner}/{repo}/pulls/{index}/comments POST /repos/{owner}/{repo}/issues/{index}/comments
Body: {"body": "<comment text>"} Body: {"body": "<comment text>"}
``` ```