From 187d306653390909e567cf303cf4142f1d7810a1 Mon Sep 17 00:00:00 2001 From: Octavian FlowiseAI <154992625+ocflowiseai@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:42:55 +0100 Subject: [PATCH] Update autoSyncSingleCommit.yml (#1985) --- .github/workflows/autoSyncSingleCommit.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autoSyncSingleCommit.yml b/.github/workflows/autoSyncSingleCommit.yml index 7d0356b9..f917265f 100644 --- a/.github/workflows/autoSyncSingleCommit.yml +++ b/.github/workflows/autoSyncSingleCommit.yml @@ -23,7 +23,7 @@ jobs: run: | echo Autosync a single commit with id: ${{ github.sha }} from openSource main branch towards cloud hosted version. - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v2 + uses: peter-evans/repository-dispatch@v3 with: token: ${{ secrets.AUTOSYNC_TOKEN }} repository: ${{ secrets.AUTOSYNC_CH_URL }} @@ -32,5 +32,5 @@ jobs: { "ref": "${{ github.ref }}", "sha": "${{ github.sha }}", - "commitMessage": "${{ toJSON(github.event.commits[0].message) }}" + "commitMessage": "${{ toJSON(github.event.commits[0].id) }}" }