github / github/app

[Bugs] If no `user.email` set an incorrect default `<local user>@github.com` is used instead

Open
#861 1 comment 0 reactions 0 assignees View on GitHub
Bugs
Dominant language
No language data
Stars
2.1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

**Mood:** 😔
**Category:** Bugs

If no `user.email` is set on a repo (or globally), GH Copilot App appears to have defaulted to `@github.com`. This caused confusion in that my (private) repo began showing GH users as contributors to the project, even though I am the only owner/collaborator. It turns out that my local machine user account name happens to match a (different) GH user.

Granted, setting a Git user name/email should be a first step when cloning a repo, but it's an easy step to forget when setting up a new machine. I feel like GH Copilot App could warn before using a default email.

---
| Field | Value |
| --- | --- |
| App version | 0.2.27 |
| OS | macOS 26.5.1 |
| Theme | Chai |
| Path | /chat |
| Tenure | Week 6 |

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.