How to run a job only on a merge request that will merge into a specific branch


#1

Hello,
I’m looking for a way to run a job only when it’s a merge request that will merge into a specific branch, let’s say dev.
Is it possible to achieve that ?
I’m already using only: - merge_requests but haven’t been able to find a solution to do what I want.
Thanks,