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
local comment_body=$(echo "$comment"| jq -r '.body')
353
+
local comment_line=$(echo "$comment"| jq -r '.line')
348
354
349
355
# Check if the comment body contains '@stdlib-bot':
350
356
if [[ "$comment_body"==*"@stdlib-bot"* ]];then
@@ -357,10 +363,7 @@ main() {
357
363
local commit_sha
358
364
commit_sha=$(echo "$comment"| jq -r '.commit_id')
359
365
if [ -n"$commit_sha" ];then
360
-
# Extract the comment URL:
361
-
local comment_url
362
-
comment_url=$(echo "$comment"| jq -r '.html_url')
363
-
update_commit_map "$commit_sha""$comment_url"
366
+
update_commit_map "$comment"
364
367
fi
365
368
else
366
369
echo"Skipping comment by non-core contributor: ${comment_author}">&2
@@ -373,7 +376,7 @@ main() {
373
376
foridxin$(seq 0 $((${#commit_keys[@]}-1)));do
374
377
local commit_sha="${commit_keys[$idx]}"
375
378
local count="${commit_counts[$idx]}"
376
-
locallinks="${commit_links[$idx]}"
379
+
localcomments="${commit_comments[$idx]}"
377
380
378
381
# Generate a short SHA (first 7 characters):
379
382
local short_sha=${commit_sha:0:7}
@@ -385,7 +388,7 @@ main() {
385
388
386
389
**Comments:**
387
390
388
-
${links}
391
+
${comments}
389
392
390
393
Interested in helping improve the project? If you are, the comment linked to above has **${count}** comment(s) from core contributors that could use your attention.
0 commit comments