mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-20 12:30:37 +08:00
PR comment: change name to azure_devops_server
This commit is contained in:
7
Usage.md
7
Usage.md
@ -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>"
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user