ci: fix dispatch workflow

The precise reason behind the change in CL 6322 is that the
repository_dispatch workflow cannot be tested until it hits master.
That's exactly what happened again here (although arguably I could have
tested by hand slightly more carefully).

Tested by hand, the repository_dispatch step should now work.

Change-Id: I383792ca4c488d5df0c36ceb37248832c9e8a7e0
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/6326
Reviewed-by: Paul Jolly <paul@myitcv.org.uk>
diff --git a/.github/workflows/test_dispatch.yml b/.github/workflows/test_dispatch.yml
index 2ee6bf1..f7a0d0f 100644
--- a/.github/workflows/test_dispatch.yml
+++ b/.github/workflows/test_dispatch.yml
@@ -19,6 +19,6 @@
     - name: Create build branch
       run: |-
         ref=$(echo ${{ github.event.client_payload.ref }} | sed -e 's/\//_/g')
-        branch=$( $(date -u +%Y%m%d%H%M%S)-${{ github.event.client_payload.changeID }}-${{ github.event.client_payload.commit }}-$ref)
+        branch="$(date -u +%Y%m%d%H%M%S)-${{ github.event.client_payload.changeID }}-${{ github.event.client_payload.commit }}-$ref"
         git checkout -b $branch
         git push origin $branch
diff --git a/internal/ci/workflows.cue b/internal/ci/workflows.cue
index cb8f7aa..bd684ad 100644
--- a/internal/ci/workflows.cue
+++ b/internal/ci/workflows.cue
@@ -234,7 +234,7 @@
 					name: "Create build branch"
 					run: #"""
 					ref=$(echo ${{ github.event.client_payload.ref }} | sed -e 's/\//_/g')
-					branch=$( $(date -u +%Y%m%d%H%M%S)-${{ github.event.client_payload.changeID }}-${{ github.event.client_payload.commit }}-$ref)
+					branch="$(date -u +%Y%m%d%H%M%S)-${{ github.event.client_payload.changeID }}-${{ github.event.client_payload.commit }}-$ref"
 					git checkout -b $branch
 					git push origin $branch
 					"""#