mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Use correct variable when fetching taskcluster secret.
This commit is contained in:
parent
a5b5bab322
commit
594a0eaf15
1 changed files with 2 additions and 2 deletions
|
@ -93,11 +93,11 @@ 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 "${OPEN_PR_RESPONSE}" | jq '.token'`
|
||||
WPT_SYNC_TOKEN=`echo "${SECRET_RESPONSE}" | jq '.token'`
|
||||
fi
|
||||
|
||||
if [[ -z "${WPT_SYNC_TOKEN}" ]]; then
|
||||
echo "Github auth token missing from .wpt-token file."
|
||||
echo "Github auth token missing from WPT_SYNC_TOKEN."
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue