The auto-merge workflow posts approval reviews with REVIEWER_GITEA_API_TOKEN (emil), but emil is also the PR creator. Gitea ignores self-approvals, so merges fail with HTTP 405 Does not have enough approvals.
Fix
Switch to DEVELOPER_GITEA_API_TOKEN (kireto) — a different user — so the approval counts toward branch protection.
Closes GRM-171
## Summary
The auto-merge workflow posts approval reviews with `REVIEWER_GITEA_API_TOKEN` (emil), but emil is also the PR creator. Gitea ignores self-approvals, so merges fail with HTTP 405 `Does not have enough approvals`.
### Fix
Switch to `DEVELOPER_GITEA_API_TOKEN` (kireto) — a different user — so the approval counts toward branch protection.
Closes GRM-171
REVIEWER_GITEA_API_TOKEN (emil) is the same user that creates PRs,
so Gitea ignores the self-approval. Switch to
DEVELOPER_GITEA_API_TOKEN (kireto) — a different user — so the
approval counts toward branch protection.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
kireto
approved these changes 2026-08-26 20:14:57 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
The auto-merge workflow posts approval reviews with
REVIEWER_GITEA_API_TOKEN(emil), but emil is also the PR creator. Gitea ignores self-approvals, so merges fail with HTTP 405Does not have enough approvals.Fix
Switch to
DEVELOPER_GITEA_API_TOKEN(kireto) — a different user — so the approval counts toward branch protection.Closes GRM-171
Manual approval: fix auto-merge approval token (kireto).