diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f6e25f0ef99..2e7bc8061c7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -40,7 +40,9 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 150 - fetch-tags: true + + - name: Get tags + run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - name: Install using PyPI uses: ./.github/actions/install-pypi diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af6cfcb781d..4b62e76b758 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,9 +11,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - fetch-depth: 10 - fetch-tags: true - name: Set up Python id: setup