actualbudget/actual

[Bug]: Copilot PR approval label added incorrectly when author approves their own PR

Open

#6,643 创建于 2026年1月13日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)JavaScript (7,129 star) (603 fork)batch import
bughelp wantedtech debt

描述

Issue Description

When a PR author who started a Copilot session approves their own Copilot-generated PR, the "approved" label should NOT be added automatically. The "approved" label should only be added when the approval comes from someone other than the PR author, as only non-author approvals can actually unblock merging.

Expected Behavior

  • If the PR author approves their own Copilot PR → do NOT add the "approved" label
  • If someone else approves the Copilot PR → add the "approved" label

Current Behavior

The "approved" label is being added even when the PR author approves their own Copilot PR.

Related

贡献者指南