Skip to content

Commit acb47c8

Browse files
authored
Use pull_request.body instead of pull_request.bodyText (#807)
Apparently `bodyText` doesn't exist (per https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#get-a-pull-request), despite https://docs.github.com/en/graphql/reference/objects#pullrequest saying it does.
1 parent 7a7b368 commit acb47c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/json.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/github-script@v7
2424
env:
2525
TITLE: ${{ github.event.pull_request.title }}
26-
BODY: ${{ github.event.pull_request.bodyText }}
26+
BODY: ${{ github.event.pull_request.body }}
2727
with:
2828
script: |
2929
const pattern = /Not\s+a\s+Contribution/i;

0 commit comments

Comments
 (0)