Option to automatically create push event web hook when mirroring from GitHub Enterprise
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
When importing a project from GitHub Enterprise using a Git URL I can enable mirroring, so that my repository on GitLab is kept in sync with the repository on GitHub Enterprise. Pull mirroring works by polling, which means the GitLab repository can lag behind its source by up to an hour. For this reason, GitLab has an API to trigger a pull. We should add the ability to create web hooks in Bitbucket with a single click so that mirroring is very fast.
This is also necessary for a good experience of GitLab CI/CD using an external repository.
Proposal
- add a workflow when creating a CI/CD only project to authenticate with GitHub Enterprise, and create web hooks automatically for me
- add a workflow when configuring pull mirroring from the settings to create web hooks automatically for me
Edited by 🤖 GitLab Bot 🤖