GRM-171: Use kireto token for auto-merge approval review #267

Merged
kireto merged 1 commits from GRM-171-fix-approval-token into master 2026-08-26 20:17:44 +00:00
Owner

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

## 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
emil added 1 commit 2026-08-26 20:09:14 +00:00
fix: use kireto token for auto-merge approval review
CI / validate (pull_request) Successful in 1m35s
CI / molecule-tests (1) (pull_request) Skipped
CI / molecule-tests (2) (pull_request) Skipped
CI / molecule-tests (3) (pull_request) Skipped
CI / molecule-tests (4) (pull_request) Skipped
CI / auto-merge (pull_request) Successful in 1m6s
e4fa2034bd
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
kireto left a comment
Member

Manual approval: fix auto-merge approval token (kireto).

Manual approval: fix auto-merge approval token (kireto).
kireto merged commit 99413d3ead into master 2026-08-26 20:17:44 +00:00
kireto deleted branch GRM-171-fix-approval-token 2026-08-26 20:17:44 +00:00
Sign in to join this conversation.