From fc9d914b1621ab932c779e66e22ffc641383dc51 Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Tue, 19 Nov 2024 12:18:29 -0800 Subject: [PATCH] Tone down message about restoring deleted assets and features (#53188) --- src/assets/scripts/deleted-assets-pr-comment.ts | 6 +++--- src/data-directory/scripts/deleted-features-pr-comment.ts | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/assets/scripts/deleted-assets-pr-comment.ts b/src/assets/scripts/deleted-assets-pr-comment.ts index 561fb461b0..99c3f39a3d 100755 --- a/src/assets/scripts/deleted-assets-pr-comment.ts +++ b/src/assets/scripts/deleted-assets-pr-comment.ts @@ -60,11 +60,11 @@ async function main({ owner, repo, baseSHA, headSHA }: MainArgs) { return '' } - let markdown = '⚠️ 🙀 **You deleted some assets** 🙀 ⚠️\n\n' + let markdown = '**Please restore deleted assets**\n\n' markdown += - "Even if you don't reference these assets anymore, as of this branch, you should not delete them.\n" + "Even if you don't reference these assets anymore, as of this branch, please do not delete them.\n" markdown += 'They might still be referenced in translated content.\n' - markdown += 'The weekly "Delete orphaned assets" workflow will worry about cleaning those up.\n\n' + markdown += 'The weekly "Delete orphaned assets" workflow will clean those up.\n\n' markdown += '**To *undo* these removals run this command:**\n\n' markdown += ` \`\`\`sh diff --git a/src/data-directory/scripts/deleted-features-pr-comment.ts b/src/data-directory/scripts/deleted-features-pr-comment.ts index 5155b76594..271e9ebbcf 100644 --- a/src/data-directory/scripts/deleted-features-pr-comment.ts +++ b/src/data-directory/scripts/deleted-features-pr-comment.ts @@ -78,12 +78,11 @@ async function main(owner: string, repo: string, baseSHA: string, headSHA: strin return '' } - let markdown = '⚠️ 🙀 **You deleted some features** 🙀 ⚠️\n\n' + let markdown = '**Please restore deleted features**\n\n' markdown += - "Even if you don't reference these features anymore, as of this branch, you should not delete them.\n" + "Even if you don't reference these features anymore, as of this branch, please do not delete them.\n" markdown += 'They might still be referenced in translated content.\n' - markdown += - 'The weekly "Delete orphaned features" workflow will worry about cleaning those up.\n\n' + markdown += 'The weekly "Delete orphaned features" workflow will clean those up.\n\n' markdown += '**To *undo* these removals run this command:**\n\n' markdown += ` \`\`\`sh