From b939b91fa357e231ed7e4607b1a74dcb73c04497 Mon Sep 17 00:00:00 2001 From: Alexander Mihajlovic Date: Fri, 5 Jul 2024 14:16:58 +0200 Subject: [PATCH] ci: Add fetch-depth: 0 as a workaround get tags on checkout We should not be required to add this, but fetch-tags: true seems broken. See https://github.com/actions/checkout/issues/1781 for a second opinion, and possible resolution. --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b6caaf9..cd64278 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,6 +23,9 @@ jobs: uses: actions/checkout@v4 with: fetch-tags: true + # XXX: fetch-depth: 0 should not be required. But this seems to be an issue + # with the checkout action: https://github.com/actions/checkout/issues/1781 + fetch-depth: 0 - name: Git Describe run: |