Skip to content

Commit 8593185

Browse files
authored
update script
1 parent 5621e84 commit 8593185

File tree

1 file changed

+1
-1
lines changed
  • .devcontainer/codespaceRunner/library-scripts

1 file changed

+1
-1
lines changed

.devcontainer/codespaceRunner/library-scripts/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ GH_TOKEN=$GH_TOKEN
77
HOSTNAME=$(hostname)
88
RUNNER_SUFFIX="runner"
99
RUNNER_NAME="${HOSTNAME}-${RUNNER_SUFFIX}"
10-
USER_NAME_LABEL=$(git config --get user.name)
10+
USER_NAME_LABEL=$( (git config --get user.name) | sed -e 's/ //g')
1111
REPO_NAME_LABEL="$GH_REPOSITORY"
1212

1313
REG_TOKEN=$(curl -sX POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${GH_TOKEN}" https://api.github.com/repos/${GH_OWNER}/${GH_REPOSITORY}/actions/runners/registration-token | jq .token --raw-output)

0 commit comments

Comments
 (0)