From ef482c679eed1888efbd7cbc1f18479a06f20370 Mon Sep 17 00:00:00 2001 From: Sean OMeara Date: Fri, 29 Sep 2023 11:26:51 +0200 Subject: [PATCH] Revert "Member name and description" This reverts commit fd8cd0b25953aa7a1317d668696373d1967d7df5. --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 2580c6a..491cc9d 100644 --- a/action.yml +++ b/action.yml @@ -44,7 +44,7 @@ runs: esac echo "⏁ Authorizing Runner to ZeroTier network" - while ! curl -s -X POST -H "Authorization: token ${{ inputs.auth_token }}" -H "Content-Type: application/json" -d '{"name":"Zerotier GitHub Member '"${GITHUB_SHA::7}"'", "description": "Member created by '"${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}"'", "config":{"authorized":true}}' "${{ inputs.api_url }}/network/${{ inputs.network_id }}/member/${member_id}" | grep '"authorized":true' ; do sleep 2 ; done + while ! curl -s -X POST -H "Authorization: token ${{ inputs.auth_token }}" -H "Content-Type: application/json" -d '{"config":{"authorized":true}}' "${{ inputs.api_url }}/network/${{ inputs.network_id }}/member/${member_id}" | grep '"authorized":true' ; do sleep 2 ; done echo "⏁ Joining ZeroTier Network ID: ${{ inputs.network_id }}" case $(uname -s) in