ci(buildkite): add notification webhook for blocked PRs (#2077)

This commit is contained in:
Amir Zarrinkafsh 2021-06-10 13:23:23 +10:00 committed by GitHub
parent 983054f2b5
commit 91a2cc1caa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,4 +40,8 @@ steps:
- label: ":rocket: Setup Deployment" - label: ":rocket: Setup Deployment"
command: ".buildkite/deployment.sh | buildkite-agent pipeline upload" command: ".buildkite/deployment.sh | buildkite-agent pipeline upload"
if: build.pull_request.repository.fork == true if: build.pull_request.repository.fork == true
notify:
- webhook: "<REDACTED WEBHOOK_URL>"
if: build.state == "blocked"
... ...