Skip to content

Commit 04b9af6

Browse files
authored
Run danger on azure (#9)
* Run danger on azure * Fix missing danger env variables
1 parent d9e3b73 commit 04b9af6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

azure-pipelines.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,10 @@ steps:
5454
env:
5555
AWS_ACCESS_KEY_ID: $(AWS_ACCESS_KEY_ID)
5656
AWS_SECRET_ACCESS_KEY: $(AWS_SECRET_ACCESS_KEY)
57+
58+
- script: |
59+
yarn danger ci
60+
displayName: 'run danger on PRs'
61+
condition: eq(variables['Build.Reason'], 'PullRequest')
62+
env:
63+
DANGER_GITHUB_API_TOKEN: $(GITHUB_API_TOKEN)

0 commit comments

Comments
 (0)