Skip to content

Commit

Permalink
Use multi-line formatting for PR body.
Browse files Browse the repository at this point in the history
  • Loading branch information
not-a-rootkit authored Jun 14, 2024
1 parent 5fd9900 commit 0fb6802
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/update_phishing_detection_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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<<EOF" >> $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 }}"

0 comments on commit 0fb6802

Please sign in to comment.