From c67b7d79d954297d7436890c446a507ce3e5c0a3 Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Wed, 23 Jul 2025 14:51:18 -0400 Subject: [PATCH] Fix PR body newlines --- .github/workflows/definitions.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/definitions.yml b/.github/workflows/definitions.yml index 4036c69e..0652984f 100644 --- a/.github/workflows/definitions.yml +++ b/.github/workflows/definitions.yml @@ -22,14 +22,10 @@ jobs: GIT_COMMITTER_NAME: ${{ vars.GHA_BOT_NAME }} GIT_COMMITTER_EMAIL: ${{ vars.GHA_BOT_EMAIL }} - - id: log - run: | - # TODO fix this whole PR body mess - msg=$(git log --format='- %s' --reverse ${{github.sha}}..) - echo "message=${msg//$'\n'/'%0A'}" >> "$GITHUB_OUTPUT" + - run: git log --format='- %s' --reverse ${{github.sha}}.. >> ${{ runner.temp }}/pr-body - uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 with: token: ${{ secrets.BOT_TOKEN }} branch: latest-scraped-definitions title: "Scraped latest definitions" - body: ${{ steps.log.outputs.message }} + body-path: ${{ runner.temp }}/pr-body