Skip to content

Commit

Permalink
[Ops] Fix scoped type check (elastic#167229)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Watson authored Sep 26, 2023
1 parent a8de9eb commit 192bd5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/scripts/steps/check_types_commits.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 192bd5a

Please sign in to comment.