From 7f4eea494106dc0b9e50812bd47495a933e89588 Mon Sep 17 00:00:00 2001 From: Manuel de la Pena Date: Mon, 13 Mar 2023 17:49:24 -0400 Subject: [PATCH] [Actions] Ensure that we escape illegal chars from the commit msg. (#17783) --- .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 3408b9015c34..12521d044b1a 100644 --- a/.github/workflows/sdk-insertion-bump.yml +++ b/.github/workflows/sdk-insertion-bump.yml @@ -14,7 +14,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 }}"