From 0fb680211ad05dacb621b351a8f7b266e7239b7d Mon Sep 17 00:00:00 2001 From: Thom Espach Date: Fri, 14 Jun 2024 16:53:44 +0100 Subject: [PATCH] Use multi-line formatting for PR body. --- .github/workflows/update_phishing_detection_data.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update_phishing_detection_data.yml b/.github/workflows/update_phishing_detection_data.yml index 8dba6252b7..a93401d35c 100644 --- a/.github/workflows/update_phishing_detection_data.yml +++ b/.github/workflows/update_phishing_detection_data.yml @@ -18,15 +18,17 @@ jobs: echo "REVISION=$REVISION" >> $GITHUB_ENV TEMPLATE="$(bash ./scripts/update_phishing_detection_data.sh pr-body)" PR_BODY_MACOS="${TEMPLATE//\{\{revision\}\}/$REVISION}" - echo "PR_BODY_MACOS=$PR_BODY_MACOS" >> $GITHUB_ENV + echo "PR_BODY_MACOS<> $GITHUB_ENV + echo "$PR_BODY_MACOS" >> $GITHUB_ENV + echo "EOF" >> $GITHUB_ENV - name: Create PR for macOS uses: peter-evans/create-pull-request@88bf0de51c7487d91e1abbb4899332e602c58bbf id: create-pr with: path: macos/ add-paths: | - ./macos/DuckDuckGo/PhishingDetection/ - commit-message: "Update phishing detection data to revision ${{ env.REVISION }}" - branch: "update-phishing-protection-${{ env.REVISION }}" - title: "Update phishing protection datasets to ${{ env.REVISION }}" + ./DuckDuckGo/PhishingDetection/ + commit-message: Update phishing detection data to revision ${{ env.REVISION }} + branch: update-phishing-protection-${{ env.REVISION }} + title: Update phishing protection datasets to ${{ env.REVISION }} body: "${{ env.PR_BODY_MACOS }}"