From 2b99b055a34815b11b0ba565c0e514bba7455c4f Mon Sep 17 00:00:00 2001 From: Meysam Azad Date: Thu, 7 Nov 2024 18:03:35 +0700 Subject: [PATCH] fix: set the env var for GH CLI --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index 40f3d24..4cda8e5 100644 --- a/action.yml +++ b/action.yml @@ -197,6 +197,8 @@ runs: ${{ inputs.registry-username }} != '' && ${{ inputs.registry-password }} != '' shell: bash + env: + GH_TOKEN: ${{ inputs.github-token }} run: | gh release download ${{ inputs.kubescape-version }} \ -R kubescape/kubescape -p kubescape-ubuntu-latest -O kubescape