Skip to content

refactor(pr-body): use Important truncation notice across platforms - #45644

Closed
setchy wants to merge 6 commits into
renovatebot:mainfrom
setchy:fix/pr-body-truncation-notice
Closed

refactor(pr-body): use Important truncation notice across platforms#45644
setchy wants to merge 6 commits into
renovatebot:mainfrom
setchy:fix/pr-body-truncation-notice

Conversation

@setchy

@setchy setchy commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Changes

Change the PR-body truncation notice from a Note alert to an Important alert, and move the scissors emoji into the message body, so it renders consistently across all platforms.

This all-platforms change was split out of #45613 following review feedback that the truncation notice change should live in its own PR.

Context

  • This closes an existing Issue, Closes: #
  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation

AI assistance disclosure

Did you use AI tools to create any part of this pull request?

  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation).

The change and this PR were produced with assistance from an AI coding agent.

Use of AI in replying to PR comments

Who answers review comments:

  • @username will read and reply directly. Name the account.
  • An agent will draft replies and @username will read them before they are posted. Name the account.
  • Nobody has explicitly committed to replying.

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests, but ran on a real repository, or
  • Both unit tests + ran on a real repository

The public repository:

Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
- 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>
Change the PR-body truncation notice from a `Note` to an `Important` alert,
and move the scissors emoji into the message body.

This is a change that affects all platforms, split out from the GitHub
rendered-alerts work.

Signed-off-by: Adam Setch <adam.setch@outlook.com>
@setchy setchy changed the title chore(pr-body): use Important truncation notice across platforms refactor(pr-body): use Important truncation notice across platforms Sep 3, 2026
@setchy setchy closed this Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant