Skip to content

Commit

Permalink
πŸ”§ Tweaking
Browse files Browse the repository at this point in the history
  • Loading branch information
himynameisdave committed Sep 23, 2023
1 parent 3b4e591 commit 3246003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/find-rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3246003

Please sign in to comment.