diff --git a/.github/workflows/gradle-check.yml b/.github/workflows/gradle-check.yml
index bebf4cab79fb5..f21bc9334f87c 100644
--- a/.github/workflows/gradle-check.yml
+++ b/.github/workflows/gradle-check.yml
@@ -22,6 +22,7 @@ jobs:
     outputs: 
       RUN_GRADLE_CHECK: ${{steps.changed-files-specific.outputs.any_changed}}
     steps: 
+      - uses: actions/checkout@v3
       - name: Get changed files in the docs folder
         id: changed-files-specific
         uses: tj-actions/changed-files@v44