Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

Fix auto-merge workflow PR number reference and API parameters (#485)

LearningCircuit8faff5526635
diff --git a/.github/workflows/auto-merge-sync.yml b/.github/workflows/auto-merge-sync.yml
index 84c194c08b..3b990f3c6d 100644
--- a/.github/workflows/auto-merge-sync.yml
+++ b/.github/workflows/auto-merge-sync.yml
@@ -20,10 +20,12 @@ jobs:
uses: actions/github-script@v7
with:
script: |
+ const prNumber = context.payload.pull_request.number;
+
await github.rest.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
- pull_request_number: context.issue.number,
+ pull_number: prNumber,
event: 'APPROVE',
body: '✅ Auto-approved: Clean sync with no conflicts detected.'
});
@@ -31,10 +33,10 @@ jobs:
await github.rest.pulls.merge({
owner: context.repo.owner,
repo: context.repo.repo,
- pull_request_number: context.issue.number,
+ pull_number: prNumber,
commit_title: `Automated sync: ${context.payload.pull_request.title}`,
commit_message: 'Automatically merged clean sync from main to dev',
merge_method: 'merge'
});
- console.log(`Auto-merged PR #${context.issue.number}`);
+ console.log(`Auto-merged PR #${prNumber}`);