diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 3e739f6..427830d 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -32,6 +32,9 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v3 + with: + # Using fetch-depth 0 is the only way to get all tags which are needed for building docs. + fetch-depth: 0 - name: Checkout gh-pages branch to dir publish/ uses: actions/checkout@v3 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c07c7a3..7e534a9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,6 +32,9 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v3 + with: + # Using fetch-depth 0 is the only way to get all tags which are needed for building docs. + fetch-depth: 0 - name: Checkout gh-pages branch to dir publish/ uses: actions/checkout@v3