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 c699fc9 commit 5bf59fbCopy full SHA for 5bf59fb
dev_tools/ci/size-labeler.sh
@@ -79,6 +79,7 @@ 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}"
@@ -97,10 +98,10 @@ function api_call() {
97
98
set -e
99
if [[ $exit_status -ne 0 ]]; then
100
error "GitHub API call failed (curl exit $exit_status) for ${url}"
- cat "$response_body"
101
+ cat "${response_body}"
102
exit $exit_status
103
fi
- echo "$response_body"
104
+ echo "${response_body}"
105
106
107
function compute_changes() {
0 commit comments