Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Agent pushed directly to repo's main under my name - without telling me it's going to write to main #89

@T-Gro

Description

@T-Gro

Describe the bug
I was working on a PR and iterating in the browser at https://github.com/copilot .
It was as long interaction, with all changes happening as diff proposals, shown to me directly in the browser.
At some point, copilot asked me if I want to create or update file, and I approved.
I thought either it wants to create a file locally (fine for me), or at that PR and its related branch (also fine for me).
But it didn't - without asking me or telling me, neither before nor after, it pushed directly to main under my name.

What's worse, I only noticed by accident when I was checking history of main.

To Reproduce
Steps to reproduce the behavior:

Image

Expected behavior
If copilot is ever going to push to main under my name, I want to give approval to a sentence which described that very specifically, and not hidden under a generic message.

Screenshots
This is all info I got prior.

Image

I got 0 info after - I only noticed by checking main history by accident.

Additional context
This is my session:
https://github.com/copilot/c/b90996e8-6072-45bf-b27f-b5588a9a5cff

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions