Allow any character in title/message

Fix https://github.com/notepad-plus-plus/notepad-plus-plus/pull/14943#issuecomment-2053716053

Close #14993, close #14994, close #14995, close #14996, close #14997, close #14998
pull/14999/head
ArkadiuszMichalski 2024-04-14 14:11:49 +02:00 committed by Don Ho
parent 126505180f
commit c2696001c2
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ jobs:
$isMaster = $isPush -and $${{ github.ref_name == github.event.repository.master_branch }} $isMaster = $isPush -and $${{ github.ref_name == github.event.repository.master_branch }}
if ($isPush) { if ($isPush) {
$commit_message = "${{ github.event.head_commit.message }}" $commit_message = (git show -s --format=%B)
} }
else { else {
$last_commit = @(Invoke-RestMethod ${{ github.event.pull_request._links.commits.href }})[0] | Select-Object -Last 1 $last_commit = @(Invoke-RestMethod ${{ github.event.pull_request._links.commits.href }})[0] | Select-Object -Last 1