From df431b32c83ebd2cc2eb83ab22607f5b1a130d72 Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Mon, 9 Mar 2020 15:59:58 +1100 Subject: [PATCH] [Buildkite] Compare to `origin/master` for docs bypass (#696) --- .buildkite/deployment.sh | 2 +- .buildkite/pipeline.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/deployment.sh b/.buildkite/deployment.sh index 5c86d00d2..cb0814050 100755 --- a/.buildkite/deployment.sh +++ b/.buildkite/deployment.sh @@ -3,7 +3,7 @@ set -u cat << EOF env: - CI_DOCS_BYPASS: $(git diff --name-only `git merge-base --fork-point master` | sed -rn '/^docs\/.*/!{q1}' && echo true || echo false) + CI_DOCS_BYPASS: $(git diff --name-only `git merge-base --fork-point origin/master` | sed -rn '/^docs\/.*/!{q1}' && echo true || echo false) steps: - label: ":docker: Image Deployments" diff --git a/.buildkite/pipeline.sh b/.buildkite/pipeline.sh index 8ec5b705c..50c01ad86 100755 --- a/.buildkite/pipeline.sh +++ b/.buildkite/pipeline.sh @@ -3,7 +3,7 @@ set -u cat << EOF env: - CI_DOCS_BYPASS: $(git diff --name-only `git merge-base --fork-point master` | sed -rn '/^docs\/.*/!{q1}' && echo true || echo false) + CI_DOCS_BYPASS: $(git diff --name-only `git merge-base --fork-point origin/master` | sed -rn '/^docs\/.*/!{q1}' && echo true || echo false) steps: - label: ":hammer_and_wrench: Unit Test"