Take a look at how you can configure a TeamCity project to publish the build status of a PR in an Azure DevOps Git repo
ยท