Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Resync valid webhook for project manually imported #3935
When a project is imported manually, if the user has a valid social account we setup a webhook for this project.
If the user goes to Integrations and try to resync, we handle that properly (use the Project.remote_repository only when available, otherwise use the accounts registered for that service even if they are not associated with that project)
I'm mostly on the fence about trying to do this magically on import and on resync, but for now this seems to address the issue, so
We can always readdress this and pull this functionality out from both areas. This at least matches our import more.