[3.x] CI: fix build triggers and contrib rebuilds
The target branch is only known for merge requests triggers so we just use that which is enough.
The target branch is only known for merge requests triggers so we just use that which is enough.
VideoLAN code repository instance