'How do I get notified when someone creates a new Repository in Gitlab?
I need to be notified when someone creates a new Repository in a group (or in the instance) of my gitlab. I want only to be notified on new repositories, not all pull requests, merges, etc.
I have tried:
- Creating a Project Template that e-mails me when it is used. This should have worked but Projects do not run a pipeline when created from a template.
- Checking Webhooks. Webhooks provide the option to be notified on a number of things but not Repository Creation Specifically
- Checking Notifications. Similar to Webhooks.
- Extensively searching on google for anything related to creating new Repositories and notifications or triggering
There has to be some easier way to do this than setting up a service to constantly pull the list of projects and alert when it is different. Gitlab must have an integration for notifications about New Repositories.
Solution 1:[1]
System hooks can be used to hook into a number of system events, including project_create events for the instance.
This feature is only available on self-managed GitLab instances and can only be configured by administrators.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | sytech |
