mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-24 00:27:40 +00:00
chore: authenticate github request when triggering test builds
This commit is contained in:
parent
8372c949f2
commit
2d8fb8cda9
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ fi
|
|||
#
|
||||
|
||||
echo ". Get information about pull request #$PRNUM from GitHub"
|
||||
prinfo=`curl -s -H "User-Agent: @keymanapp" https://api.github.com/repos/keymanapp/keyman/pulls/$PRNUM`
|
||||
prinfo=`curl -s -H "User-Agent: @keymanapp" -H "Authorization: Bearer $GITHUB_TOKEN" https://api.github.com/repos/keymanapp/keyman/pulls/$PRNUM`
|
||||
prbase=`echo ${prinfo} | "$JQ" -r '.base.ref'`
|
||||
prhead=`echo ${prinfo} | "$JQ" -r '.head.ref'`
|
||||
prbaserepo=`echo ${prinfo} | "$JQ" -r '.base.repo.html_url'`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue