From 1ab0381b172c4ce39e5893df9cceccb40bb4334ded987cf430fec3a565ee351f Mon Sep 17 00:00:00 2001 From: Vital A Pi Date: Fri, 9 Oct 2026 13:51:29 +0300 Subject: [PATCH] let it be git-show friendly --- act/checkout/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/act/checkout/action.yaml b/act/checkout/action.yaml index 9e8cfb6..763f732 100644 --- a/act/checkout/action.yaml +++ b/act/checkout/action.yaml @@ -35,5 +35,5 @@ runs: git init --object-format=${{ inputs.git_object_format }} -b main . git remote add origin "${{ inputs.server_url }}/${{ inputs.repository }}.git" export AH="Authorization: Basic $(printf 'x-access-token:${{ inputs.token }}' | base64 | tr -d '\n')" - git --config-env=http.extraheader=AH fetch --depth 1 origin "${{ inputs.sha }}" + git --config-env=http.extraheader=AH fetch --depth 2 origin "${{ inputs.sha }}" git reset --hard FETCH_HEAD