mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-27 08:40:57 -05:00
cascading-pr update
This commit is contained in:
parent
a580cb63b6
commit
de76a9c85f
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ function login_api() {
|
||||||
fi
|
fi
|
||||||
( echo -n "Authorization: token " ; cat $DOT/token ) > $DOT/header-token
|
( echo -n "Authorization: token " ; cat $DOT/token ) > $DOT/header-token
|
||||||
#
|
#
|
||||||
# Verify it works
|
# Verify the token works
|
||||||
#
|
#
|
||||||
local status=$(api -w "%{http_code}" -o /dev/null "${url}/api/v1/user")
|
local status=$(api -w "%{http_code}" -o /dev/null "${url}/api/v1/user")
|
||||||
if test "${status}" != 200 ; then
|
if test "${status}" != 200 ; then
|
||||||
|
|
Loading…
Reference in a new issue