Skip to content

Commit

Permalink
add description
Browse files Browse the repository at this point in the history
  • Loading branch information
vilaca committed Apr 6, 2024
1 parent 0365002 commit d6ca81f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/diffs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ do
last=${yesterday["$name"]}
star=${diffs["$name"]}
total=${stars["$name"]}
desc="$(curl -s "https://api.github.com/repos/$name" --header "Authorization: Bearer $PAT" | jq -r .description)"

# move=""
# if ((position < last))
Expand All @@ -51,7 +52,7 @@ do
# else
# move=" "
# fi
echo "|$position|${last:--}|[https://github.com/$name]($name)|$total <sup>(+$star)</sup>|"
echo "|$position|${last:--}|[https://github.com/$name]($name)<br/>$desc|$total <sup>(+$star)</sup>|"
done < "today-nr"

printf '\n\n<div>\n'
Expand Down

0 comments on commit d6ca81f

Please sign in to comment.