Attempt to make this work

This commit is contained in:
Mark Wylde
2025-05-30 20:34:43 +01:00
parent 9d64c62a2e
commit 2f36d061b3

View File

@@ -132,7 +132,7 @@ export async function setupBranch(
console.log(`git createRef failed, trying branches endpoint: ${createRefError.message}`);
// Use Gitea's branch creation endpoint
const response = await octokits.request('POST /repos/{owner}/{repo}/branches', {
const response = await octokits.rest.request('POST /repos/{owner}/{repo}/branches', {
owner,
repo,
new_branch_name: newBranch,