bors-ng icon indicating copy to clipboard operation
bors-ng copied to clipboard

Migrating a repository between owners causes bors to stop working

Open frewsxcv opened this issue 7 years ago • 4 comments

https://github.com/rust-threadpool/rust-threadpool/pull/83

I see this repository and pull request in the bors.tech dashboard though

frewsxcv avatar Sep 04 '17 16:09 frewsxcv

According to a little introspection, bors still thinks the repository is associated with your personal account instead of with the organization. It's getting webhooks, but whenever it tries to authenticate GitHub gives it a "permission denied" error.

You can work around this by uninstalling and reinstalling bors from the Add/remove repositories screen. This issue isn't closed yet, though, since this is obviously still a bug...

notriddle avatar Sep 04 '17 17:09 notriddle

Uninstalled and reinstalled, still no luck. I'm cool to just merge for now, but I'm leaving it open just in case it's helpful for you to see what's going on and debug

frewsxcv avatar Sep 04 '17 23:09 frewsxcv

I manually deleted the repo from the database, then re-delivered the webhooks. It's running now.

Sorry it worked so terribly. Turns out even trying to remove the repo failed, because (again) the Installation ID changed but the Repository ID did not change.

notriddle avatar Sep 05 '17 06:09 notriddle

seems like bors didnt receive %{"action" => "deleted"} webhook?

khodzha avatar Sep 09 '17 10:09 khodzha