You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then
40
-
PR_NUMBER=$PR_NUMBER_PR
41
-
MESSAGE="Thanks for your contribution! Gemini AI Code Reviewer has started reviewing this PR and will provide detailed feedback in about 3 minutes. Please wait a moment."
35
+
# Try issue number first, fallback to pull request number
36
+
if [ -n "$PR_NUMBER_ISSUE" ]; then
37
+
PR_NUMBER=$PR_NUMBER_ISSUE
42
38
else
43
-
# Try issue number first, fallback to pull request number
44
-
if [ -n "$PR_NUMBER_ISSUE" ]; then
45
-
PR_NUMBER=$PR_NUMBER_ISSUE
46
-
else
47
-
PR_NUMBER=$PR_NUMBER_FALLBACK
48
-
fi
49
-
MESSAGE="Thanks for triggering the review! Gemini AI Code Reviewer has started reviewing this PR and will provide detailed feedback in about 3 minutes. Please wait a moment."
39
+
PR_NUMBER=$PR_NUMBER_FALLBACK
50
40
fi
51
-
41
+
MESSAGE="Thanks for triggering the review! Gemini AI Code Reviewer has started reviewing this PR and will provide detailed feedback in about 3 minutes. Please wait a moment."
0 commit comments