Fix PR creation and workflow token parameter

- Fix gitea-token to gitea_token in workflow (underscore not hyphen)
- Add /api/v1 prefix to PR creation endpoint in local-git-ops-server
This commit is contained in:
claude
2025-07-29 23:05:06 +00:00
parent 308512548e
commit 2972a854d4

View File

@@ -358,7 +358,7 @@ server.tool(
// Create PR using Gitea API // Create PR using Gitea API
const response = await fetch( const response = await fetch(
`${GITEA_API_URL}/repos/${REPO_OWNER}/${REPO_NAME}/pulls`, `${GITEA_API_URL}/api/v1/repos/${REPO_OWNER}/${REPO_NAME}/pulls`,
{ {
method: "POST", method: "POST",
headers: { headers: {