diff --git a/scripts/assign-new-pr-to-review.js b/scripts/assign-new-pr-to-review.js index 754fb9d..300a66e 100644 --- a/scripts/assign-new-pr-to-review.js +++ b/scripts/assign-new-pr-to-review.js @@ -89,7 +89,7 @@ async function assignPullRequestToReview(gitHubContext, githubPayload, robot) { robot.logger.debug(`Created card: ${ghcard.data.url}`, ghcard.data.id); // Send message to Slack - robot.messageRoom(githubConfig.slack.notification.room, `Moved PR #${githubPayload.pull_request.number} (${githubPayload.pull_request.title}) to ${reviewColumnName} in ${projectBoardName} project\n${githubPayload.pull_request.html_url}`); + robot.messageRoom(githubConfig.slack.notification.room, `Moved PR to ${reviewColumnName} in ${projectBoardName} project\n${githubPayload.pull_request.html_url}`); } catch (err) { robot.logger.error(`Couldn't create project card for the PR: ${err}`, column.id, githubPayload.pull_request.id); } diff --git a/scripts/greet-new-contributor.js b/scripts/greet-new-contributor.js index 12ee9e2..3c14c0e 100644 --- a/scripts/greet-new-contributor.js +++ b/scripts/greet-new-contributor.js @@ -61,7 +61,7 @@ async function greetNewContributor(gitHubContext, githubPayload, robot) { }) // Send message to Slack - robot.messageRoom(githubConfig.slack.notification.room, `Greeted ${githubPayload.pull_request.user.login} on his first PR (${githubPayload.pull_request.title}) in ${repoName}\n${githubPayload.pull_request.html_url}`); + robot.messageRoom(githubConfig.slack.notification.room, `Greeted ${githubPayload.pull_request.user.login} on his first PR in the ${repoName} repo\n${githubPayload.pull_request.html_url}`); } catch (err) { if (err.code !== 404) { robot.logger.error(`Couldn't create comment on PR: ${err}`, ownerName, repoName);