pending-reviews: add bullet points to prs
All checks were successful
checks-impure / test (pull_request) Successful in 1m54s
checks / test (pull_request) Successful in 2m9s

This commit is contained in:
Jörg Thalheim 2023-11-15 16:34:21 +01:00
parent 56f135faed
commit df0bdb5b5f
No known key found for this signature in database

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
display_pr() { jq -r '.[] | "\(.url) | \(.title) from \(.user.login)"'; }
display_pr() { jq -r '.[] | "- \(.url) | \(.title) from \(.user.login)"'; }
echo "# Review needed"
curl -s 'https://git.clan.lol/api/v1/repos/clan/clan-core/pulls?state=closed&sort=leastupdate&labels=8' | display_pr