Instance/group wide setting setting for mirror_trigger_builds
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
If you want a mirrored project to trigger a pipeline on mirror updates, then you need to specify that in the project with the checkbox trigger pipelines for mirror updates:
If you want to apply this setting Instance wide, or group wide, then you will need to utilize the gitlab-rails console:
Project.where(mirror: true).where(mirror_trigger_builds: false).update_all(mirror_trigger_builds: true), or you would need to create a script that utilizes the API
Intended users
Further details
By having this setting instance wide, it will also solve the issue of having to run this script programmatically every time when a new mirrored project is created
Proposal
Permissions and Security
Documentation
Availability & Testing
What does success look like, and how can we measure that?
What is the type of buyer?
Is this a cross-stage feature?
Links / references
Edited  by 🤖 GitLab Bot 🤖
