From e1a0d3850c1dbe2d321579b753a7cab85a5ae83d Mon Sep 17 00:00:00 2001 From: David Refoua Date: Mon, 17 Oct 2022 21:18:24 +0330 Subject: [PATCH] improve formatting of text --- .github/workflows/vendor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/vendor.yml b/.github/workflows/vendor.yml index 254cf37..8cc87ba 100644 --- a/.github/workflows/vendor.yml +++ b/.github/workflows/vendor.yml @@ -39,7 +39,7 @@ jobs: $oldVersion = ($currentVersion | Where-Object {$_.name -eq $s.name}).version if ($s.version -ne $oldVersion) { $listUpdated += "$($s.name), " - $updateMessage += "**$($s.name)** ($oldVersion → **$($s.version)**)
" + $updateMessage += "- **$($s.name)** ($oldVersion → **$($s.version)**)\n" } } Set-GHVariable -Name $listUpdated -Value $listUpdated.Trim(', ') @@ -48,7 +48,7 @@ jobs: - uses: peter-evans/create-pull-request@v4 with: title: 'Updates to `${{ env.COUNT_UPDATED }}` vendored dependencies' - body: '### Automatically updated `${{ env.COUNT_UPDATED }}` dependencies`n${{ env.UPDATE_MESSAGE }}' + body: '### Automatically updated `${{ env.COUNT_UPDATED }}` dependencies:\n\n${{ env.UPDATE_MESSAGE }}\n\n---\nPlease verify and then **Merge** the pull request to update.' commit-message: 'Update vendored dependencies (${{ env.LIST_UPDATED }})' branch: update-vendor base: master