ci(buildkite): update hardcoded pipeline steps (#3711)

* ci(buildkite): update hardcoded pipeline steps

* fix: yamllint spacing
This commit is contained in:
Amir Zarrinkafsh 2022-07-15 11:58:25 +10:00 committed by GitHub
parent c101a836be
commit 6164057578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,18 +28,18 @@ steps:
concurrency: 1
concurrency_group: "deployments"
depends_on: ~
if: build.branch == "master"
if: build.branch == "master" && build.message !~ /^docs/
# Non-blocking deployment for all others (tagged commits/local branches).
- label: ":rocket: Setup Deployment"
command: ".buildkite/deployment.sh | buildkite-agent pipeline upload"
depends_on: ~
if: build.branch != "master" && build.branch !~ /^(dependabot|renovate)\/.*/ && build.pull_request.repository.fork != true # yamllint disable-line rule:line-length
if: build.branch != "master" && build.branch !~ /^(dependabot|renovate)\/.*/ && build.message !~ /^docs/ && build.pull_request.repository.fork != true # yamllint disable-line rule:line-length
# Removed dependency optimisation for forked PRs to enforce block step.
- label: ":rocket: Setup Deployment"
command: ".buildkite/deployment.sh | buildkite-agent pipeline upload"
if: build.pull_request.repository.fork == true
if: build.message !~ /^docs/ && build.pull_request.repository.fork == true
notify:
- webhook: "<REDACTED WEBHOOK_URL>"