PR comment: change name to azure_devops_server

This commit is contained in:
yochail
2024-02-13 22:25:52 -05:00
committed by GitHub
parent 9ff62dce08
commit b833d63468

View File

@ -443,11 +443,12 @@ pat = "YOUR_PAT_TOKEN"
``` ```
##### Azure DevOps Webhook ##### Azure DevOps Webhook
To trigger from an Azure webhook, you need to manually [add a webhook](https://learn.microsoft.com/en-us/azure/devops/service-hooks/services/webhooks?view=azure-devops). Use the "Pull request created" type to trigger a review, or "Pull request commented on" to trigger any supported comment with /<command> <args> comment on the relevant PR. Note that for the "Pull request commented on" trigger, only API v2.0 is supported. To trigger from an Azure webhook, you need to manually [add a webhook](https://learn.microsoft.com/en-us/azure/devops/service-hooks/services/webhooks?view=azure-devops).
Use the "Pull request created" type to trigger a review, or "Pull request commented on" to trigger any supported comment with /<command> <args> comment on the relevant PR. Note that for the "Pull request commented on" trigger, only API v2.0 is supported.
For webhook security, configure the webhook username and password on both the server and Azure DevOps webhook. These will be sent as basic Auth data by the webhook with each request: For webhook security, create a sporadic username/password pair and configure the webhook username and password on both the server and Azure DevOps webhook. These will be sent as basic Auth data by the webhook with each request:
``` ```
[azuredevops_server] [azure_devops_server]
webhook_username = "<basic auth user>" webhook_username = "<basic auth user>"
webhook_password = "<basic auth password>" webhook_password = "<basic auth password>"
``` ```