STATIC CHECKS: Sets TF-M repo to unshallow

Updates the TF-M repo to no longer be a shallow clone for the static
checks job.

Change-Id: I9d386125eb0325e6eee56439957319676bb06f35
Signed-off-by: Matthew Dalzell <matthew.dalzell@arm.com>
diff --git a/clone.sh b/clone.sh
index 7060091..2723232 100755
--- a/clone.sh
+++ b/clone.sh
@@ -107,6 +107,10 @@
     exit 1
 fi
 
+if [ "${JOB_NAME}" = "tf-m-static-checks" ]; then
+    git -C ${WORKSPACE}/${TFM_NAME} fetch --unshallow
+fi
+
 pip install --no-deps ../trusted-firmware-m/
 
 # Dependency projects