Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion linux/scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ cleanup() {
echo "Removing runner..."
# token is only valid for 1h, so it needs to be re-queried
# https://github.com/actions/runner/discussions/1799#discussioncomment-2747605
REG_TOKEN=$(curl --fail-with-body -X POST -H "Authorization: token ${TOKEN}" -H "Accept: application/vnd.github+json" "$REQ_TOKEN_URL" | jq .token --raw-output)
REG_TOKEN=$(curl --fail-with-body -X POST -H "Authorization: token ${TOKEN}" -H "Accept: application/vnd.github+json" "${REQ_TOKEN_URL}" | jq .token --raw-output)
./config.sh remove --token "${REG_TOKEN}"
}

Expand Down
Loading