Files
renovate/lib/modules/platform
Adam Setch 179f69ce59 fix(platform/github): replace rendered alerts after smart truncation (#45613)
* fix(github): rendered md alerts

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* fix(github): rendered md alerts

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* fix(github): rendered md alerts

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* refactor(pr): use `codeBlock` and address review feedback

- Use `codeBlock` template helper for Caution/Important PR body notes
- Drop the all-platform truncation notice text change (moved to separate PR)
- Remove GitHub truncation-notice test depending on the extracted change

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* remove extra space

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* fix(github): tolerate blockquote blank line whitespace in alert conversion

The emoji callout to GitHub alert syntax conversion relied on the blank
blockquote line being exactly '> ' (trailing space). Linters/CI strip
trailing whitespace from the emitted notes, so also accept '>' without
a trailing space.

* fix(dashboard): render abandoned-dependencies note as a GitHub alert

The '[!NOTE]' callout inside the abandoned-dependencies <details> block
never rendered: GitHub alerts only render at the top level of a body, not
inside collapsible sections, and the description text sat outside the
blockquote (no '> ' prefix), leaving the alert empty.

Move the note outside (above) the <details> block and keep the
description inside the blockquote with '> ' prefixes.

* Revert "fix(dashboard): render abandoned-dependencies note as a GitHub alert"

This reverts commit 55a5d9490e.

* incorporate feedback

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* update test case per feedback

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
2026-10-12 15:13:20 +00:00
..