DEVX-161: Fix auto-merge self-approval: use CI bot token fallback #302

Merged
kireto merged 1 commits from DEVX-161-fix-auto-merge-self-approval into master 2026-08-26 08:12:05 +00:00
Owner

Summary

REVIEWER_GITEA_API_TOKEN is the same user as the PR creator, causing self-approval rejection. Now tries REVIEWER first, then falls back to CI_GITEA_API_TOKEN (kireto — CI bot account).

Same fix as OBL-INFRA-536 (infra PR #1170).

Closes DEVX-161

## Summary REVIEWER_GITEA_API_TOKEN is the same user as the PR creator, causing self-approval rejection. Now tries REVIEWER first, then falls back to CI_GITEA_API_TOKEN (kireto — CI bot account). Same fix as OBL-INFRA-536 (infra PR #1170). Closes DEVX-161
emil added 1 commit 2026-08-26 07:55:42 +00:00
fix: fall back to CI bot token for auto-merge approval
CI / validate (pull_request) Successful in 1m5s
CI / auto-merge (pull_request) Successful in 27s
c3d1f630db
REVIEWER_GITEA_API_TOKEN is the same user as the PR creator, causing
self-approval rejection. Now tries REVIEWER first, then falls back to
CI_GITEA_API_TOKEN (kireto — CI bot account).

Closes DEVX-161

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 08:11:54 +00:00
kireto left a comment
Member

Auto-approved: all CI checks passed (validate job).

Auto-approved: all CI checks passed (validate job).
kireto merged commit dcfbd4c0c2 into master 2026-08-26 08:12:05 +00:00
kireto deleted branch DEVX-161-fix-auto-merge-self-approval 2026-08-26 08:12:10 +00:00
Sign in to join this conversation.