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 #14998pull/14999/head
parent
126505180f
commit
c2696001c2
|
@ -31,7 +31,7 @@ jobs:
|
|||
$isMaster = $isPush -and $${{ github.ref_name == github.event.repository.master_branch }}
|
||||
|
||||
if ($isPush) {
|
||||
$commit_message = "${{ github.event.head_commit.message }}"
|
||||
$commit_message = (git show -s --format=%B)
|
||||
}
|
||||
else {
|
||||
$last_commit = @(Invoke-RestMethod ${{ github.event.pull_request._links.commits.href }})[0] | Select-Object -Last 1
|
||||
|
|
Loading…
Reference in New Issue