review comment

pull/21544/head
Medya Ghazizadeh 2025-09-17 14:02:50 -07:00
parent 398f3ecca1
commit 3a8d719855
1 changed files with 9 additions and 6 deletions

View File

@ -71,12 +71,15 @@ if ! make release-iso 2>&1 | tee iso-logs.txt; then
# Only comment on non-release; default release=false if unset
if [[ ${release:-false} != "true" ]]; then
gh pr comment "${ghprbPullId}" --body "$(cat <<'MSG'
Hi ${ghprbPullAuthorLoginMention}, building a new ISO failed for Commit ${ghprbActualCommit}
See the logs at:
https://storage.cloud.google.com/minikube-builds/logs/${ghprbPullId}/${ghprbActualCommit::7}/iso_build.txt
MSG
)"
body="$(cat <<'EOF'
Hi ${ghprbPullAuthorLoginMention}, building a new ISO failed for Commit ${ghprbActualCommit}
See the logs at:
https://storage.cloud.google.com/minikube-builds/logs/${ghprbPullId}/${ghprbActualCommit::7}/iso_build.txt
EOF
"
gh pr comment "${ghprbPullId}" --body "$body"
fi
exit "$ec"
fi