Arthur: update tf-sync-repos

Signed-off-by: Arthur She <arthur.she@linaro.org>
Change-Id: I91152e8783d54a5eb6c6af33896bbd472f9f68f5
diff --git a/tf-sync-repos.yaml b/tf-sync-repos.yaml
index a13b06a..ef0a7f6 100644
--- a/tf-sync-repos.yaml
+++ b/tf-sync-repos.yaml
@@ -3,32 +3,25 @@
     node: master
     project-type: freestyle
     concurrent: false
-    description: Mirror TF-M, TF-A, TS projects into GitHub
+    description: Mirror TF-M, TF-A, TS, and Hafnium projects into GitHub
     disabled: false
     builders:
     - shell: |-
-        #!/bin/bash -xe
-
-        echo ""
+        #!/bin/bash
         echo "########################################################################"
         echo "    Gerrit Environment"
         env |grep '^GERRIT'
         echo "########################################################################"
-
-        cd proj_src
-        ls -a
-        git remote show
-        git remote get-url origin
-        git branch
+    - shell: |-
+        bash "$CI_ROOT/ci/tf-sync-repos.sh"
     properties:
     - build-discarder:
         num-to-keep: 10
     scm:
         - git:
             url: https://review.trustedfirmware.org/${GERRIT_PROJECT}
-            refspec: ${GERRIT_REFSPEC}
             branches:
-                - ${GERRIT_BRANCH}
+                - master
             skip-tag: true
             clean:
                 before: true
@@ -48,7 +41,7 @@
             branch-pattern: master
         silent: true
         trigger-on:
-        - patchset-created-event
+        - ref-updated-event
     wrappers:
     - credentials-binding:
       - text: