diff --git a/scripts/diffs.sh b/scripts/diffs.sh index 705e1f1..ed4696e 100755 --- a/scripts/diffs.sh +++ b/scripts/diffs.sh @@ -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)) @@ -51,7 +52,7 @@ do # else # move=" " # fi - echo "|$position|${last:--}|[https://github.com/$name]($name)|$total (+$star)|" + echo "|$position|${last:--}|[https://github.com/$name]($name)
$desc|$total (+$star)|" done < "today-nr" printf '\n\n
\n'