Closed
Description
Problem to solve
When adding a GitLab or Bitbucket (#7422) project, a webhook is being added. Prebuilds are by default enabled for the default branch for GitHub repositories. However, prebuilds are not enabled for the default branch until you manually trigger a prebuild using the prefixed URL. See relevant docs[1][2] for GitLab and Bitbucket repositories.
🍊 🍊 🍊 🍊
See relevant comment in #7031 (comment):
Eventually we will most probably need to separate project addition and project configuration steps so that these can be done separastely. 💭
Proposal
To maintain a similar behavior within the product, we could consider enabling prebuilds when adding a repository as proejct without requiring triggering manully the first prebuild.