diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 7d4f5db44..27e7de0cf 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: ""