mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -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
|
||||
.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-}"
|
||||
else
|
||||
# Script take between 0 and 2 arguments representing two commit SHA's:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue