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:
@@ -358,7 +358,7 @@ server.tool(
|
||||
|
||||
// Create PR using Gitea API
|
||||
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",
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user