From 83a75289a57aa9597561cecbaa071a9af6bffd54 Mon Sep 17 00:00:00 2001 From: Nikolay Shirokovskiy Date: Mon, 17 Jun 2024 17:05:04 +0300 Subject: [PATCH] fixup: checkout hack for tag --- .github/workflows/tree.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tree.yml b/.github/workflows/tree.yml index 1bb55bf731f97..6a70a1462da4c 100644 --- a/.github/workflows/tree.yml +++ b/.github/workflows/tree.yml @@ -43,7 +43,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - ref: ${{github.sha}} + ref: ${{ github.reftype == 'tag' && github.sha || github.ref }} - name: Fix "dubious ownership" issue run: git config --global --add safe.directory /__w/tarantool/tarantool