CI: enable jobs only for parent repo and merge request into it ?

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Hi

Is it possible to configure ci yaml so only push to a parent repo or merge request into the parent repo will start jobs but not when push into a forked repo ?

I have tried - branches@group/project in only, but It seems GitLab consider a MR is something in forked repo, not in parent, so it actually make runner skip job on a MR.

Edited Jun 13, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading