You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
core.summary.addRaw('This report is automatically generated by the `PR / Check / cherry-pick` CI workflow.',true)
219
+
core.summary.addRaw(
220
+
'This report is automatically generated by the `PR / Check / cherry-pick` CI workflow.',
221
+
true,
222
+
)
221
223
core.summary.addEOL()
222
-
core.summary.addRaw("Some of the commits in this PR require the author's and reviewer's attention.",true)
224
+
core.summary.addRaw(
225
+
"Some of the commits in this PR require the author's and reviewer's attention.",
226
+
true,
227
+
)
223
228
core.summary.addEOL()
224
229
225
230
if(results.some(({ type })=>type==='no-commit-hash')){
226
-
core.summary.addRaw('Please follow the [backporting guidelines](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#how-to-backport-pull-requests) and cherry-pick with the `-x` flag.',true)
227
-
core.summary.addRaw('This requires changes to the unstable `master` and `staging` branches first, before backporting them.',true)
231
+
core.summary.addRaw(
232
+
'Please follow the [backporting guidelines](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#how-to-backport-pull-requests) and cherry-pick with the `-x` flag.',
233
+
true,
234
+
)
235
+
core.summary.addRaw(
236
+
'This requires changes to the unstable `master` and `staging` branches first, before backporting them.',
237
+
true,
238
+
)
228
239
core.summary.addEOL()
229
-
core.summary.addRaw('Occasionally, commits are not cherry-picked at all, for example when updating minor versions of packages which have already advanced to the next major on unstable.',true)
230
-
core.summary.addRaw('These commits can optionally be marked with a `Not-cherry-picked-because: <reason>` footer.',true)
240
+
core.summary.addRaw(
241
+
'Occasionally, commits are not cherry-picked at all, for example when updating minor versions of packages which have already advanced to the next major on unstable.',
242
+
true,
243
+
)
244
+
core.summary.addRaw(
245
+
'These commits can optionally be marked with a `Not-cherry-picked-because: <reason>` footer.',
246
+
true,
247
+
)
231
248
core.summary.addEOL()
232
249
}
233
250
234
251
if(results.some(({ type })=>type==='diff')){
235
-
core.summary.addRaw('Sometimes it is not possible to cherry-pick exactly the same patch.',true)
236
-
core.summary.addRaw('This most frequently happens when resolving merge conflicts.',true)
237
-
core.summary.addRaw('The range-diff will help to review the resolution of conflicts.',true)
252
+
core.summary.addRaw(
253
+
'Sometimes it is not possible to cherry-pick exactly the same patch.',
254
+
true,
255
+
)
256
+
core.summary.addRaw(
257
+
'This most frequently happens when resolving merge conflicts.',
258
+
true,
259
+
)
260
+
core.summary.addRaw(
261
+
'The range-diff will help to review the resolution of conflicts.',
262
+
true,
263
+
)
238
264
core.summary.addEOL()
239
265
}
240
266
241
-
core.summary.addRaw('If you need to merge this PR despite the warnings, please [dismiss](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/dismissing-a-pull-request-review) this review shortly before merging.',true)
267
+
core.summary.addRaw(
268
+
'If you need to merge this PR despite the warnings, please [dismiss](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/dismissing-a-pull-request-review) this review shortly before merging.',
269
+
true,
270
+
)
242
271
243
272
results.forEach(({ severity, message, diff })=>{
244
-
if(severity=='info')return
273
+
if(severity==='info')return
245
274
246
275
// The docs for markdown alerts only show examples with markdown blockquote syntax, like this:
0 commit comments