actualbudget / actualbudget/actual

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

Open
#6,643 1 comment 0 reactions 0 assignees View on GitHub
help wanted tech debt
Dominant language
TypeScript
Stars
28.7k
Forks
3k
Avg merge
2d 11h
Merged PRs (30d)
65

Description

### 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

- PR: https://github.com/actualbudget/actual/pull/6641
- Requested by: @MatissJanis

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.