Automatically create push event web hook when importing a CI/CD only project from GitHub
When importing a project and I enable mirroring when importing, GitLab will enable pull mirroring, but the mirror can lag its source by up to an hour.
When importing a CI/CD only project from GitHub via API we should automatically create push event web hooks in GitHub to make pull mirroring fast by default.
Proposal
- create web hooks in GitHub automatically when I create a CI/CD only project via GitHub API import to call the GitLab pull mirror API on push events
Future improvements (probably not in %10.6)
- Add capability to create/repair/remove web hooks from the pull mirroring interface
Links
Edited by James Ramsay (ex-GitLab)