use correct escaping for new line

This commit is contained in:
David Refoua 2022-10-17 21:58:51 +03:30
parent ae391eb576
commit 0559060ceb

View File

@ -43,7 +43,7 @@ jobs:
}
}
Set-GHVariable -Name LIST_UPDATED -Value $listUpdated.Trim(', ')
Set-GHVariable -Name UPDATE_MESSAGE -Value ([System.Web.HTTPUtility]::UrlEncode($updateMessage))
Set-GHVariable -Name UPDATE_MESSAGE -Value $updateMessage.Replace("`n", "%0a")
- uses: peter-evans/create-pull-request@v4
with: