From 3246003f49cde3c7565dcc5cae5c25710329c8fd Mon Sep 17 00:00:00 2001 From: himynameisdave Date: Fri, 22 Sep 2023 19:48:46 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Tweaking?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/find-rules.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/find-rules.yml b/.github/workflows/find-rules.yml index 225da3e..ed182b0 100644 --- a/.github/workflows/find-rules.yml +++ b/.github/workflows/find-rules.yml @@ -67,14 +67,14 @@ jobs: prefix="update-pkgs" commit_message="📦 Updating packages" pr_title="Package upgrades" - pr_body="## 🤖 Hello human{$'\n\n'}I have upgraded your dependencies for you. Here's the packages which were updated:{$'\n\n'}${UPDATED_PACKAGES}" + pr_body=$(printf "## 🤖 Hello human\n\nI have upgraded your dependencies for you. Here's the packages which were updated:\n\n\n${UPDATED_PACKAGES}") if [ ! -z "${MISSING_RULES}" ]; then prefix="missing-rules" commit_message="🔎 Missing rules" pr_title="Package upgrades + missing rules found" # Format missing rules as a Markdown list MISSING_RULES=$(echo "${MISSING_RULES}" | sed 's/^/- /') - pr_body="## 🤖 Hello human\n\nI have upgraded your dependencies for you, and it turns out that these latest versions include rules which are missing in your ESLint config.{$'\n'}Here's the packages which were updated:{$'\n'}${UPDATED_PACKAGES}{$'\n\n'}The missing rules are these ones:{$'\n\n'}${MISSING_RULES}" + pr_body=$(printf "## 🤖 Hello human\n\nI have upgraded your dependencies for you, and it turns out that these latest versions include rules which are missing in your ESLint config.\nHere's the packages which were updated:\n${UPDATED_PACKAGES}\n\nThe missing rules are these ones:\n\n${MISSING_RULES}") fi # Checkout, commit and push