Auto merge of #23346 - servo:jdm-patch-39, r=jdm

Update expected JSON format for taskcluster secret.

This is tested locally against the taskcluster secrets API JSON output.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23346)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-05-09 01:39:05 -04:00 committed by GitHub
commit ed995c79b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ function unsafe_open_pull_request() {
if [[ -z "${WPT_SYNC_TOKEN+set}" ]]; then
SECRET_RESPONSE=$(curl $TASKCLUSTER_PROXY_URL/api/secrets/v1/secret/project/servo/wpt-sync)
WPT_SYNC_TOKEN=`echo "${SECRET_RESPONSE}" | jq '.token'`
WPT_SYNC_TOKEN=`echo "${SECRET_RESPONSE}" | jq '.secret.token'`
fi
if [[ -z "${WPT_SYNC_TOKEN}" ]]; then