From 4ddcd81c800590f41821002ee8a5200d9aa9a383 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 3b74f95..7508663 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 and tag list run: |