mirror of
https://github.com/markwylde/claude-code-gitea-action.git
synced 2026-02-20 02:22:49 +08:00
Attempt to make this work
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user