Ado Gate Functions An Azure Function codebase that you can call from Azure DevOps Environment Gates. Functions ValidatePrFromBuildId Provide the BuildId from your Build Policy initiated Pipeline, and you'll be told if the associated Pull Request Policies have all been satisfied.