mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-13 03:09:10 +08:00
improve formatting of text
This commit is contained in:
parent
1e34c885f3
commit
e1a0d3850c
4
.github/workflows/vendor.yml
vendored
4
.github/workflows/vendor.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
$oldVersion = ($currentVersion | Where-Object {$_.name -eq $s.name}).version
|
$oldVersion = ($currentVersion | Where-Object {$_.name -eq $s.name}).version
|
||||||
if ($s.version -ne $oldVersion) {
|
if ($s.version -ne $oldVersion) {
|
||||||
$listUpdated += "$($s.name), "
|
$listUpdated += "$($s.name), "
|
||||||
$updateMessage += "**$($s.name)** ($oldVersion → **$($s.version)**)<br/>"
|
$updateMessage += "- **$($s.name)** ($oldVersion → **$($s.version)**)\n"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Set-GHVariable -Name $listUpdated -Value $listUpdated.Trim(', ')
|
Set-GHVariable -Name $listUpdated -Value $listUpdated.Trim(', ')
|
||||||
@ -48,7 +48,7 @@ jobs:
|
|||||||
- uses: peter-evans/create-pull-request@v4
|
- uses: peter-evans/create-pull-request@v4
|
||||||
with:
|
with:
|
||||||
title: 'Updates to `${{ env.COUNT_UPDATED }}` vendored dependencies'
|
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 }})'
|
commit-message: 'Update vendored dependencies (${{ env.LIST_UPDATED }})'
|
||||||
branch: update-vendor
|
branch: update-vendor
|
||||||
base: master
|
base: master
|
||||||
|
Loading…
Reference in New Issue
Block a user