Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sivasadobe committed Jul 2, 2024
1 parent 6de3d0b commit c867143
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/merged-to-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
3 changes: 2 additions & 1 deletion .github/workflows/src/send-slack.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit c867143

Please sign in to comment.