From a981dc61731a1e2e54e525ce7cfe4dc053a80a84 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Fri, 15 Apr 2022 00:18:39 +0300 Subject: [PATCH] github-actions-bot: fix publishing of canary releases (#3534) --- .github/workflows/github-actions-bot.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]