Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mac nightly WPT sync #23338

Merged
merged 7 commits into from May 7, 2019
Prev

Use correct variable when fetching taskcluster secret.

  • Loading branch information
jdm committed May 7, 2019
commit 594a0eaf15b68043e7f8f529645b4755c5e8e8e2
@@ -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

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.