From 6edee36e16249b7feac329192bcb0b2e3138fea4 Mon Sep 17 00:00:00 2001 From: Tyndyll Date: Mon, 10 Aug 2026 08:04:41 +0100 Subject: [PATCH] Update action.yml to remove initial auth check --- action.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/action.yml b/action.yml index aa02ab9..222d415 100644 --- a/action.yml +++ b/action.yml @@ -119,21 +119,6 @@ runs: shell: bash run: | - response=$(curl -sSL -X POST \ - --url "https://oauth.${{ inputs.upwind_uri }}/oauth/token" \ - --data "audience=https://agent.${{ inputs.upwind_uri }}" \ - --data "client_id=${{ inputs.upwind_client_id }}" \ - --data "client_secret=${{ inputs.upwind_client_secret }}" \ - --data "grant_type=client_credentials") - - if ! TOKEN=$(echo "$response" | jq -r '.access_token // empty' 2>/dev/null); then - echo "Failed to parse JSON response: $response" >&2 - exit 1 - elif [ -z "$TOKEN" ]; then - echo "No access_token found in response: $response" >&2 - exit 1 - fi - OS=$(uname | tr '[:upper:]' '[:lower:]') ARCH=$(uname -m | tr '[:upper:]' '[:lower:]')