From 561495ffce5d5bb083e6ddf98c355cd4143f0bd4 Mon Sep 17 00:00:00 2001 From: jeangovil Date: Mon, 9 Oct 2023 11:42:26 +0330 Subject: [PATCH] ci: update release-pr.yml workflow --- .github/workflows/release-pr.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index c0333d3..d2b57c8 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -129,13 +129,13 @@ jobs: const type = "${{ steps.release_type.outputs.value }}"; const head = "${{ steps.release_commit.outputs.head }}"; const title = "${{ steps.release_commit.outputs.message }}"; - let body = ''; + const body = `This PR will bump the following packages:\n\`\`\`\n${changes}\n\`\`\`\n\nPlease review and test the code, before merging this PR. You can also check the changelog for more details on what has changed.\n\n**Warning**: Once you merge this PR, the changes will be published to the npm registry and cannot be undone. Please make sure you are confident about the quality and stability of the code before publishing.`; - body += `This PR will bump the following packages:\n` - body += `\`\`\`\n${changes}\n\`\`\``; - body += `\n\n`; - body += `Please review and test the code, before merging this PR. You can also check the changelog for more details on what has changed.\n\n` - body += `**Warning**: Once you merge this PR, the changes will be published to the npm registry and cannot be undone. Please make sure you are confident about the quality and stability of the code before publishing.` + console.log(changes); + console.log(type); + console.log(head); + console.log(title); + console.log(body); const res = await github.rest.pulls.create({ body,