From 9381fa3ab9ab98f2bbfee95d9b7fd1c6ea9978ab Mon Sep 17 00:00:00 2001 From: Harrison Ravazzolo <38767391+harrisonravazzolo@users.noreply.github.com> Date: Tue, 10 Feb 2026 06:32:03 -0600 Subject: [PATCH] remove trailing slash if it exists --- .github/gitops-action/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/gitops-action/action.yml b/.github/gitops-action/action.yml index dbfca9a0..2d3d6e59 100644 --- a/.github/gitops-action/action.yml +++ b/.github/gitops-action/action.yml @@ -19,6 +19,7 @@ runs: shell: bash working-directory: ${{ inputs.working-directory }} run: | + FLEET_URL="${FLEET_URL%/}" FLEET_VERSION="$(curl "$FLEET_URL/api/v1/fleet/version" --header "Authorization: Bearer $FLEET_API_TOKEN" --fail --silent | jq --raw-output '.version')" DEFAULT_FLEETCTL_VERSION="4.80.1"