diff options
Diffstat (limited to '.travis/labeler.sh')
-rwxr-xr-x | .travis/labeler.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis/labeler.sh b/.travis/labeler.sh index e69002b670..e8d7d228df 100755 --- a/.travis/labeler.sh +++ b/.travis/labeler.sh @@ -16,7 +16,7 @@ new_labels() { # remove duplicate quotes in case parameters were already quoted LABELS="${LABELS//\"\"/\"}" echo "-------- Assigning labels to #${ISSUE}: ${LABELS} --------" - curl -H "Authorization: token $GITHUB_TOKEN" -d "{\"labels\":[${LABELS}]}" -X POST "${URL}" &>/dev/null + curl -H "Authorization: token $GITHUB_TOKEN" -d "{\"labels\":[${LABELS}]}" -X PUT "${URL}" &>/dev/null } if [ "$GITHUB_TOKEN" == "" ]; then |