update branch for tf-m-* repo

Updated branches for tf-m-tests and  tf-m-extras from master to main

Change-Id: I9ac9f4509fcb2eadd064a55fd3ed4f20526c5ef2
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
diff --git a/scripts/clone.sh b/scripts/clone.sh
index e8e5567..94c55e4 100755
--- a/scripts/clone.sh
+++ b/scripts/clone.sh
@@ -29,6 +29,7 @@
 
 # Global defaults
 REFSPEC_MASTER="refs/heads/master"
+REFSPEC_MAIN="refs/heads/main"
 GIT_REPO="https://git.trustedfirmware.org"
 GERRIT_HOST="https://review.trustedfirmware.org"
 GIT_CLONE_PARAMS=""
@@ -48,8 +49,8 @@
 TF_GERRIT_REFSPEC="${TF_GERRIT_REFSPEC:-${REFSPEC_MASTER}}"
 TFTF_GERRIT_REFSPEC="${TFTF_GERRIT_REFSPEC:-${REFSPEC_MASTER}}"
 SPM_REFSPEC="${SPM_REFSPEC:-${REFSPEC_MASTER}}"
-TF_M_TESTS_GERRIT_REFSPEC="${TF_M_TESTS_GERRIT_REFSPEC:-${REFSPEC_MASTER}}"
-TF_M_EXTRAS_GERRIT_REFSPEC="${TF_M_EXTRAS_GERRIT_REFSPEC:-${REFSPEC_MASTER}}"
+TF_M_TESTS_GERRIT_REFSPEC="${TF_M_TESTS_GERRIT_REFSPEC:-${REFSPEC_MAIN}}"
+TF_M_EXTRAS_GERRIT_REFSPEC="${TF_M_EXTRAS_GERRIT_REFSPEC:-${REFSPEC_MAIN}}"
 CI_REFSPEC="${CI_REFSPEC:-${REFSPEC_MASTER}}"
 JOBS_REFSPEC="${JOBS_REFSPEC:-${REFSPEC_MASTER}}"
 
diff --git a/tf-a-ci-gateway.yaml b/tf-a-ci-gateway.yaml
index 536473b..8f0d9b1 100644
--- a/tf-a-ci-gateway.yaml
+++ b/tf-a-ci-gateway.yaml
@@ -49,14 +49,14 @@
           tf-a-tests refspec to use. The master branch is used by default.
     - string:
         name: TF_M_TESTS_GERRIT_REFSPEC
-        default: '+refs/heads/master:refs/remotes/origin/master'
+        default: '+refs/heads/main:refs/remotes/origin/main'
         description: |
-          tf-m-tests refspec to use. The master branch is used by default.
+          tf-m-tests refspec to use. The main branch is used by default.
     - string:
         name: TF_M_EXTRAS_GERRIT_REFSPEC
-        default: '+refs/heads/master:refs/remotes/origin/master'
+        default: '+refs/heads/main:refs/remotes/origin/main'
         description: |
-          tf-m-extras refspec to use. The master branch is used by default.
+          tf-m-extras refspec to use. The main branch is used by default.
     - string:
        name: SPM_REFSPEC
        default: '+refs/heads/master:refs/remotes/origin/master'