Skip to content

Commit 5808def

Browse files
authored
Avoid @ mentioning PR creator for PR nudge comments (#12)
1 parent 1129485 commit 5808def

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/pr-draft-nudge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = async ({ github, context, core }) => {
3737

3838
const prCreator = pr.user.login;
3939
const commentIdentifier = "<!-- pr-draft-nudge-comment -->";
40-
const commentBody = `:wave: @${prCreator}, thanks for creating this pull request!\n\nTo help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.\n\nOnce you're ready, you can mark it as "Ready for review" to request feedback. Thanks!\n\n${commentIdentifier}`;
40+
const commentBody = `:wave: ${prCreator}, thanks for creating this pull request!\n\nTo help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.\n\nOnce you're ready, you can mark it as "Ready for review" to request feedback. Thanks!\n\n${commentIdentifier}`;
4141

4242
// Check if a comment with the identifier already exists
4343
const { data: comments } = await github.rest.issues.listComments({

0 commit comments

Comments
 (0)