pending-reviews: add bullet points to prs

This commit is contained in:
Jörg Thalheim
2023-11-15 16:34:21 +01:00
parent 56f135faed
commit df0bdb5b5f

View File

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