'AzureDevOps | GitHub, required status check

I have setup AzureDevOps to build Xamarin mobile application, using GitHub (not Azure Repos yet).

In image below, Merge button is still clickable. I would like to disble it until build is completed successfully. I can not see any option to add WebHook for AzureDevOps to restrict branch protection rules via GitHub, all is managed via pipeline triggers from azure console



Solution 1:[1]

Fixed by adding pipeline name in branch rules.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 vITs