feedback icon indicating copy to clipboard operation
feedback copied to clipboard

[Self-hosted] Renaming a repo in GitHub Enterprise did not rename it in Codecov

Open nikosatwork opened this issue 1 year ago • 1 comments

Describe the bug We are using self hosted and had a scenario where renaming a private repo in GitHub Enterprise did not rename it in Codecov and the Codecov database.

Note that the Codecov Github app was installed in the private repo prior to renaming it but codecov was not yet setup (i.e. no uploads performed)

Resyncing the repos in the UI did not help.

We use version 24.7.1

Environment (please complete the following information): n/a

To Reproduce n/a

Expected behavior Expected that after renaming the repo in GitHub Enterprise the repo name would have been updated in Codecov too.

Screenshots n/a

Additional context n/a

nikosatwork avatar Aug 23 '24 15:08 nikosatwork

@rohan-at-sentry This will be a feature request

This is an event that GitHub sends: https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=renamed#repository

But we do not support it. https://github.com/codecov/codecov-api/blob/f460e8d1d19a3d94c663226a895071a444d135de/webhook_handlers/views/github.py#L170-L202

drazisil-codecov avatar Aug 23 '24 15:08 drazisil-codecov