We build and release from commit tags. In order to manage production releases we want to enforce that a tagged build only runs if it is already merged into master.
Is there a way with either branch restrictions or via pipelines to check that the tagged commit is part of the master branch?