Skip to content

Commit 34f1a1f

Browse files
authored
Update external-pr-sync.yml
1 parent 2a1cea9 commit 34f1a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/external-pr-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1717
run: |
1818
# Fetching fresh PR body via gh cli is more reliable than event payload for 'edited'
19-
PR_BODY=$(gh pr view ${{ github.event.pull_request.number }} --json body --jq .body)
19+
PR_BODY=${{ github.event.pull_request.body }}
2020
# Make body safe for multiline output
2121
PR_BODY="${PR_BODY//'%'/'%25'}"
2222
PR_BODY="${PR_BODY//$'\n'/'%0A'}"

0 commit comments

Comments
 (0)