diff --git a/.github/workflows/merged-to-main.yaml b/.github/workflows/merged-to-main.yaml index 7c8a6ff..af9327e 100644 --- a/.github/workflows/merged-to-main.yaml +++ b/.github/workflows/merged-to-main.yaml @@ -65,4 +65,4 @@ jobs: with: script: | const {sendReleaseNotes} = require('./.github/workflows/src/send-slack.js') - sendReleaseNotes(process.env.PR_NUMBER,process.env.CC_RELEASE_SLACK_WH) + sendReleaseNotes(process.env.PR_NUMBER, process.env.CC_RELEASE_SLACK_WH) diff --git a/.github/workflows/src/send-slack.js b/.github/workflows/src/send-slack.js index c9a95ee..c81b0b5 100644 --- a/.github/workflows/src/send-slack.js +++ b/.github/workflows/src/send-slack.js @@ -11,7 +11,8 @@ const auth = process.env.GH_TOKEN; * @returns {Promise} - Promise representing the result of the Slack message sending process */ const sendReleaseNotes = async (prNumber, slackWebHookURL) => { - console.log({ owner, repo, pr_number: prNumber }); + + console.log({ owner, repo, pr_number: prNumber, slackWebHookURL}); try { prNumber = parseInt(prNumber); const { Octokit } = await import("@octokit/rest");