We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 095cf41 commit 5a71671Copy full SHA for 5a71671
dev_tools/ci/size-labeler.sh
@@ -79,7 +79,6 @@ function jq_file() {
79
}
80
81
function api_call() {
82
- set -x
83
local -r endpoint="${1// /%20}" # love that our label names have spaces...
84
local -r uri="https://api.github.com/repos/${GITHUB_REPOSITORY}"
85
local -r url="${uri}/${endpoint}"
@@ -96,12 +95,11 @@ function api_call() {
96
95
response_body=$(curl "${curl_opts[@]}" "${@:2}" "${url}")
97
local exit_status=$?
98
set -e
+ echo "${response_body}"
99
if [[ $exit_status -ne 0 ]]; then
100
error "GitHub API call failed (curl exit $exit_status) for ${url}"
101
- cat "${response_body}"
102
exit $exit_status
103
fi
104
- echo "${response_body}"
105
106
107
function compute_changes() {
0 commit comments