Skip to content

Commit b0af926

Browse files
authored
[ISSUE #1188]🔨Upate Github actions CI🔧
1 parent 6682299 commit b0af926

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/auto-comment-pr.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ jobs:
1919
github-token: ${{ secrets.BOT_TOKEN }}
2020
script: |
2121
const { owner, repo, number: issue_number } = context.issue;
22-
const commentBody = "🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥";
22+
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🔥";
2327
github.rest.issues.createComment({
2428
owner,
2529
repo,

0 commit comments

Comments
 (0)