mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
[Ops] Fix scoped type check (#167229)
This commit is contained in:
parent
a8de9ebfdf
commit
192bd5af45
1 changed files with 2 additions and 2 deletions
4
.buildkite/scripts/steps/check_types_commits.sh
Normal file → Executable file
4
.buildkite/scripts/steps/check_types_commits.sh
Normal file → Executable file
|
@ -5,8 +5,8 @@ set -euo pipefail
|
||||||
|
|
||||||
if [[ "${CI-}" == "true" ]]; then
|
if [[ "${CI-}" == "true" ]]; then
|
||||||
.buildkite/scripts/bootstrap.sh
|
.buildkite/scripts/bootstrap.sh
|
||||||
|
|
||||||
sha1="${GITHUB_PR_TARGET_BRANCH-}"
|
sha1=$(git merge-base $GITHUB_PR_TARGET_BRANCH $GITHUB_PR_TRIGGERED_SHA)
|
||||||
sha2="${GITHUB_PR_TRIGGERED_SHA-}"
|
sha2="${GITHUB_PR_TRIGGERED_SHA-}"
|
||||||
else
|
else
|
||||||
# Script take between 0 and 2 arguments representing two commit SHA's:
|
# Script take between 0 and 2 arguments representing two commit SHA's:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue