diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index e18797b72..a3a5831d3 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -11,10 +11,10 @@ jobs:
 
     steps:
     - uses: actions/checkout@v1
-       with:
-         # Must fetch at least the immediate parents so that if this is
-         # a pull request then we can checkout the head of the pull request.
-         fetch-depth: 2
+      with:
+        # Must fetch at least the immediate parents so that if this is
+        # a pull request then we can checkout the head of the pull request.
+        fetch-depth: 2
 
     # If this run was triggered by a pull request event then checkout
     # the head of the pull request instead of the merge commit.