Skip to content

Commit d5bc5ce

Browse files
authored
Merge pull request #146 from nodenv/scraper
scraper
2 parents ead5ecb + c67b7d7 commit d5bc5ce

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/definitions.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,10 @@ jobs:
2222
GIT_COMMITTER_NAME: ${{ vars.GHA_BOT_NAME }}
2323
GIT_COMMITTER_EMAIL: ${{ vars.GHA_BOT_EMAIL }}
2424

25-
- id: log
26-
run: |
27-
# TODO fix this whole PR body mess
28-
msg=$(git log --format='- %s' --reverse ${{github.sha}}..)
29-
echo "message=${msg//$'\n'/'%0A'}" >> "$GITHUB_OUTPUT"
25+
- run: git log --format='- %s' --reverse ${{github.sha}}.. >> ${{ runner.temp }}/pr-body
3026
- uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
3127
with:
3228
token: ${{ secrets.BOT_TOKEN }}
3329
branch: latest-scraped-definitions
3430
title: "Scraped latest definitions"
35-
body: ${{ steps.log.outputs.message }}
31+
body-path: ${{ runner.temp }}/pr-body

0 commit comments

Comments
 (0)