Block merge request for a specific pipeline

I am looking for a way to block a merge request when a specific pipeline fails.
Currently there is the Require a successful pipeline for merge flag which will block if ANY pipeline fails on the merge request.

I would like to be more specific and set which pipeline is required and which is not for merging pull requests in a specific projects.
Is there any way of doing so?

BTW, I saw the “External Status Checks” functionality looks similar to what I am looking for, but it is currently for Ultimate licenses only so I could not check up until now.
Is this the only option I have?