From 0f408fe5839f9fd24459ddee2820bb5806be0c4d Mon Sep 17 00:00:00 2001 From: jkbschmid Date: Tue, 12 May 2026 14:59:14 +0200 Subject: [PATCH] Set GH_HOST to support GHEC ..otherwise gh CLI will target the wrong domain --- action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.yml b/action.yml index 45ed8c2..921878e 100644 --- a/action.yml +++ b/action.yml @@ -28,6 +28,9 @@ runs: INPUT_LABEL: ${{ inputs.label }} run: | set -euo pipefail + + # Support GitHub Enterprise Cloud when using gh CLI + export GH_HOST="${GITHUB_SERVER_URL#*://}" if [ ! -f "$INPUT_FILE" ]; then echo "::error::Coverage file not found: $INPUT_FILE"