diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b8ea7d6..d92e9e6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -14,12 +14,13 @@ jobs:
 
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 2
 
       - name: Get changed files
         id: changed-files
         uses: tj-actions/changed-files@v14.1
         with:
-          fetch-depth: 2
           files: |
             go.*
             **/*.go
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 1c0e86d..26a24ae 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -8,12 +8,13 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 2
 
       - name: Get changed files
         id: changed-files
         uses: tj-actions/changed-files@v14.1
         with:
-          fetch-depth: 2
           files: |
             go.*
             **/*.go
@@ -36,12 +37,13 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 2
 
       - name: Get changed files
         id: changed-files
         uses: tj-actions/changed-files@v14.1
         with:
-          fetch-depth: 2
           files: |
             **/*.md
             **/*.yml
diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml
index f6eb7b4..9f526f9 100644
--- a/.github/workflows/test-integration.yml
+++ b/.github/workflows/test-integration.yml
@@ -8,12 +8,13 @@ jobs:
 
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 2
 
       - name: Get changed files
         id: changed-files
         uses: tj-actions/changed-files@v14.1
         with:
-          fetch-depth: 2
           files: |
             go.*
             **/*.go
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c285946..9ce8a77 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -8,12 +8,13 @@ jobs:
 
     steps:
       - uses: actions/checkout@v2
+        with:
+          fetch-depth: 2
 
       - name: Get changed files
         id: changed-files
         uses: tj-actions/changed-files@v14.1
         with:
-          fetch-depth: 2
           files: |
             go.*
             **/*.go