diff --git a/.github/workflows/github-actions-bot.yml b/.github/workflows/github-actions-bot.yml index 72c1631631..31744b9554 100644 --- a/.github/workflows/github-actions-bot.yml +++ b/.github/workflows/github-actions-bot.yml @@ -76,7 +76,8 @@ jobs: core.setOutput('cmd', comment.replace('@github-actions ', '').trim()); const { url } = context.payload.issue.pull_request; - core.setOutput('pullRequestJSON', await github.request(url)); + const { data } = await github.request(url); + core.setOutput('pullRequestJSON', JSON.stringify(data, null, 2)); cmd-publish-pr-on-npm: needs: [accept-cmd]