Skip to content

Commit 05ea45b

Browse files
authored
Update github workflow format
1 parent 89ed2d2 commit 05ea45b

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/check-dotnet-updates.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
} elseif ($readmeContent -match $notEolPattern) {
9898
# Add EOL marker to existing entry
9999
# Note: In PowerShell, `$1 uses backtick (`) to escape $ and reference the first capture group
100-
$readmeContent = $readmeContent -replace $notEolPattern, "`$1 (EOL)*"
100+
$readmeContent = $readmeContent -replace $notEolPattern, "`$1 - EOL"
101101
Write-Host "Marked $versionLabel as EOL in README.md"
102102
$updatesFound = $true
103103
$eolMarkedVersions += $versionLabel
@@ -333,10 +333,8 @@ jobs:
333333
commit-message: "Update to .NET ${{ steps.check-updates.outputs.summary }}${{ steps.check-updates.outputs.eol && format(' | Marked EOL: {0}', steps.check-updates.outputs.eol) || '' }}"
334334
title: "Update to .NET ${{ steps.check-updates.outputs.summary }}${{ steps.check-updates.outputs.eol && format(' | Marked EOL: {0}', steps.check-updates.outputs.eol) || '' }}"
335335
body: |
336-
This PR updates the following .NET runtime dependencies: .NET ${{ steps.check-updates.outputs.summary || 'No version updates' }}
337-
338-
---
339-
*This PR was automatically created by the Check .NET Updates workflow.*
336+
This PR updates the following .NET runtime dependencies:
337+
.NET ${{ steps.check-updates.outputs.summary || 'No version updates' }}
340338
branch: update-dotnet-dependencies
341339
delete-branch: true
342340
labels: dependencies, automated

0 commit comments

Comments
 (0)