Compare commits
6
Commits
v4.1.0
...
stas00-patch-1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8eacf1ac19 | ||
|
|
dc775bc915 | ||
|
|
321a6e4eb3 | ||
|
|
59ea3e4c52 | ||
|
|
f7296d6559 | ||
|
|
57323e9e48 |
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user