Make check-in.sh output in way that suggest to add only the most relevant info
This commit is contained in:
parent
6e02970f7f
commit
acd1390adb
|
|
@ -24,15 +24,11 @@ show_pulls() {
|
||||||
jq -r '.[] | { title, number, html_url, user: .user.login } | "- " + .title + " [#" + (.number | tostring) + "](" + .html_url + ")"'
|
jq -r '.[] | { title, number, html_url, user: .user.login } | "- " + .title + " [#" + (.number | tostring) + "](" + .html_url + ")"'
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "### Authors"
|
echo "### Most notable changes"
|
||||||
jq -r '{ login: .[].user.login } | "- **@" + .login + "**"' < pulls.json \
|
|
||||||
| sort -u
|
|
||||||
echo
|
|
||||||
echo "### Changes"
|
|
||||||
echo
|
echo
|
||||||
show_pulls < pulls.json
|
show_pulls < pulls.json
|
||||||
echo
|
echo
|
||||||
echo "### Changes in progress"
|
echo "### Most notable WIPs"
|
||||||
echo
|
echo
|
||||||
# If there are more than 30 PRs open at a time, you'll need to set `per_page`.
|
# If there are more than 30 PRs open at a time, you'll need to set `per_page`.
|
||||||
# For now this seems unlikely.
|
# For now this seems unlikely.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue