Skip to content

Commit

Permalink
[Actions] Ensure that we escape illegal chars from the commit msg. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mandel-macaque committed Mar 13, 2023
1 parent 7979fa0 commit 7f4eea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sdk-insertion-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 7f4eea4

Please sign in to comment.