You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo"Failed to fetch GITHUB_TOKEN from AWS SSM">&2
29
65
exit 1
30
66
fi
@@ -57,9 +93,12 @@ while true; do
57
93
if [[ ${exit_code}-eq 0 ]];then
58
94
PR_NUMBER=$(echo "$PR_DATA"| sed '1,/^[[:space:]]*$/d'| jq -r '.[].number')
59
95
PR_BASE_REF=$(echo "$PR_DATA"| sed '1,/^[[:space:]]*$/d'| jq -r '.[].base.ref')
60
-
echo"PR is https://github.com/datadog/dd-trace-java/pull/${PR_NUMBER} and base ref is ${PR_BASE_REF}">&2
61
-
echo"${PR_BASE_REF}"
62
-
exit 0
96
+
if [[ -n"${PR_BASE_REF:-}" ]];then
97
+
echo"PR is https://github.com/datadog/dd-trace-java/pull/${PR_NUMBER} and base ref is ${PR_BASE_REF}">&2
0 commit comments