CI: Fix flake rate commenting

pull/19273/head
Steven Powell 2024-07-16 12:03:30 -05:00 committed by Medya Ghazizadeh
parent 20825df3af
commit 2226221d25
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ if [[ "${MINIKUBE_LOCATION}" == "master" ]]; then
"${DIR}/process_last_90/process_last_90.sh"
else
TMP_COMMENT=$(mktemp)
go run "${DIR}/report_flakes" "${MINIKUBE_LOCATION}" "${ROOT_JOB_ID}" "${FINISHED_LIST}" > "$TMP_COMMENT"
(cd "${DIR}/report_flakes" && go run . "${MINIKUBE_LOCATION}" "${ROOT_JOB_ID}" "${FINISHED_LIST}") > "$TMP_COMMENT"
# install gh if not present
"$DIR/../installers/check_install_gh.sh"
gh pr comment "https://github.com/kubernetes/minikube/pull/$MINIKUBE_LOCATION" --body "$(cat $TMP_COMMENT)"