diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 37c430f6b..3696251b4 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -29,8 +29,6 @@ jobs:
     steps:
       - name: Checkout
         uses: actions/checkout@v2
-        with:
-          fetch-depth: 0
       - name: Calculate semver tags
         id: semver_tags
         run: |
@@ -96,6 +94,8 @@ jobs:
     steps:
       - name: Checkout
         uses: actions/checkout@v2
+        with:
+          fetch-depth: 0
       - name: Download release notes utility
         run: |
           sudo npm install github-release-notes -g