From e33d27cb96b79e96530cddd8ecd3579ed929f601 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Mon, 13 Mar 2023 16:40:30 -0400 Subject: [PATCH] [Actions] Ensure that the commit message is valid json. --- .github/workflows/sdk-insertion-bump.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sdk-insertion-bump.yml b/.github/workflows/sdk-insertion-bump.yml index 1e812f07dfe..5a0867ca543 100644 --- a/.github/workflows/sdk-insertion-bump.yml +++ b/.github/workflows/sdk-insertion-bump.yml @@ -19,7 +19,7 @@ jobs: id: commit_title run: | Write-Host "Commit message is $Env:COMMIT_MESSAGE" - $title = ($Env:COMMIT_MESSAGE -split '\n')[0] + $title = ($Env:COMMIT_MESSAGE -split '\n')[0] | ConvertTo-Json "COMMIT_TITLE=$title" >> $env:GITHUB_OUTPUT env: COMMIT_MESSAGE: "${{ github.event.head_commit.message }}"