mirror of
https://github.com/actions/runner.git
synced 2025-12-13 00:36:29 +00:00
don't echo removal token
This commit is contained in:
@@ -46,7 +46,7 @@ which jq || fatal "jq required. Please install in PATH with apt-get, brew, etc"
|
|||||||
# Get a remove token
|
# Get a remove token
|
||||||
#--------------------------------------
|
#--------------------------------------
|
||||||
echo
|
echo
|
||||||
echo "Generating a registration token..."
|
echo "Generating a removal token..."
|
||||||
|
|
||||||
# if the scope has a slash, it's an repo runner
|
# if the scope has a slash, it's an repo runner
|
||||||
base_api_url="https://api.github.com/orgs"
|
base_api_url="https://api.github.com/orgs"
|
||||||
@@ -58,8 +58,6 @@ export REMOVE_TOKEN=$(curl -s -X POST ${base_api_url}/${runner_scope}/actions/ru
|
|||||||
|
|
||||||
if [ -z "$REMOVE_TOKEN" ]; then fatal "Failed to get a token"; fi
|
if [ -z "$REMOVE_TOKEN" ]; then fatal "Failed to get a token"; fi
|
||||||
|
|
||||||
echo $REMOVE_TOKEN
|
|
||||||
|
|
||||||
#---------------------------------------
|
#---------------------------------------
|
||||||
# Stop and uninstall the service
|
# Stop and uninstall the service
|
||||||
#---------------------------------------
|
#---------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user