Skip to content

Commit

Permalink
fix: use PULL_PULL_SHA to determine PR head hash
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vasek <mvasek@redhat.com>
  • Loading branch information
matejvasek committed Aug 9, 2023
1 parent d9310f7 commit abdc2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/presubmit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export KNATIVE_SERVING_VERSION=${KNATIVE_SERVING_VERSION:-latest}
export KNATIVE_EVENTING_VERSION=${KNATIVE_EVENTING_VERSION:-latest}
source "$(dirname "$0")/../vendor/knative.dev/hack/presubmit-tests.sh"

FUNC_REPO_BRANCH_REF="$(git branch --show-current)"
FUNC_REPO_BRANCH_REF="${PULL_PULL_SHA}"
export FUNC_REPO_BRANCH_REF

function post_build_tests() {
Expand Down

0 comments on commit abdc2e9

Please sign in to comment.