From 6164057578363a2f3327fb907efd2743d3428458 Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Fri, 15 Jul 2022 11:58:25 +1000 Subject: [PATCH] ci(buildkite): update hardcoded pipeline steps (#3711) * ci(buildkite): update hardcoded pipeline steps * fix: yamllint spacing --- .buildkite/pipeline.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 7d4f5db4..27e7de0c 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -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: ""