From 5f4c80724694c77bb9df6874064f805b7a098d17 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 00:10:38 +0400 Subject: [PATCH] ci(release): fetch tags for git-cliff workflows Use a shallow checkout with tags instead of a partial clone so git-cliff can read the repository history reliably in both preview and publish workflows. --- .github/workflows/preview-release.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/preview-release.yml b/.github/workflows/preview-release.yml index 9399758..0ef13fd 100644 --- a/.github/workflows/preview-release.yml +++ b/.github/workflows/preview-release.yml @@ -27,8 +27,8 @@ jobs: uses: actions/checkout@v6 with: ref: ${{ github.event.repository.default_branch }} - fetch-depth: 0 - filter: blob:none + fetch-depth: 100 + fetch-tags: true - name: Install git-cliff uses: taiki-e/install-action@git-cliff diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 86b7b69..287a181 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,8 +30,8 @@ jobs: uses: actions/checkout@v6 with: ref: ${{ github.event.repository.default_branch }} - fetch-depth: 0 - filter: blob:none + fetch-depth: 100 + fetch-tags: true - name: Install git-cliff uses: taiki-e/install-action@git-cliff