Skip to content

Commit c8647a3

Browse files
committed
CI: update the PR contents
1 parent 88d704d commit c8647a3

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/scripts/Update-Dependencies.ps1

+12-2
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ foreach ($dependency in $currentVersions.Keys)
124124
$hasChanges = $updates.Count -gt 0
125125
if ($hasChanges)
126126
{
127-
$branchName = 'dependencies' + ($updates.Keys -join '+')
127+
$branchName = 'dependencies/' + ($updates.Keys -join '+')
128128
[array] $versionUpdateStrings = $updates.Values | ForEach-Object { "$($_.Name) to v$($_.Version)" }
129129
$prTitle = 'Update ' + ($versionUpdateStrings -join ' and ')
130130
$commitMessage = $prTitle
@@ -134,7 +134,17 @@ if ($hasChanges)
134134
$($_.ReleaseNotes)
135135
"@
136136
}
137-
$prBody = $updateReleaseNoteStrings -join "`n"
137+
$prBody = @'
138+
# Maintainer Note
139+
> [!WARNING]
140+
> This PR will not trigger CI by default. Please close it and reopen manually to trigger the CI.
141+
>
142+
> Unfortunately, this is a consequence of the current GitHub Action security model (by default, PRs created by bots
143+
> aren't allowed to trigger other bots).
144+
145+
The updates packages' release notes follow below.
146+
147+
'@ + $updateReleaseNoteStrings -join "`n"
138148
}
139149

140150
ApplyUpdates $updates

0 commit comments

Comments
 (0)