diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 00eb092c3eaf8c..99d9d9c3263043 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -54,3 +54,10 @@ steps: env: AWS_ACCESS_KEY_ID: $(AWS_ACCESS_KEY_ID) AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY) + + - script: | + yarn danger ci + displayName: 'run danger on PRs' + condition: eq(variables['Build.Reason'], 'PullRequest') + env: + DANGER_GITHUB_API_TOKEN: $(GITHUB_API_TOKEN)