diff --git a/.circleci/config.yml b/.circleci/config.yml index b6a1b50bd526..111b9bba9ae0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,8 +15,8 @@ commands: then echo $CIRCLE_PR_NUMBER resp=$(curl -Ls https://api.github.com/repos/huggingface/transformers/pulls/${CIRCLE_PR_NUMBER}) - user=$(jq -r .user.login \<<< $resp) # PR creator username - head_ref=$(jq -r .head.ref \<<< $resp) # PR user's branch name + user=$(jq -r .head.user.login \<<< $resp) # PR head username + head_ref=$(jq -r .head.ref \<<< $resp) # PR head branch name echo head_ref=$head_ref, user=$user fi