We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6682299 commit b0af926Copy full SHA for b0af926
.github/workflows/auto-comment-pr.yml
@@ -19,7 +19,11 @@ jobs:
19
github-token: ${{ secrets.BOT_TOKEN }}
20
script: |
21
const { owner, repo, number: issue_number } = context.issue;
22
- const commentBody = "🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥";
+
23
+ // Get PR creator's username
24
+ const prCreator = context.payload.pull_request.user.login;
25
26
+ const commentBody = "🚀Thanks for your contribution🎉 @${prCreator}. CodeRabbit(AI) will review your code first🔥";
27
github.rest.issues.createComment({
28
owner,
29
repo,
0 commit comments