This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
# <xbar.title>PR Reviews</xbar.title> | |
# <xbar.version>v1.0</xbar.version> | |
# <xbar.author>Ange DAUMAL</xbar.author> | |
# <xbar.desc>Show open PRs that request your review.</xbar.desc> | |
# <xbar.dependencies>gh, bash</xbar.dependencies> | |
# <xbar.refreshTime>5m</xbar.refreshTime> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Define target repositories | |
REPOS=("algolia/python" "algolia/go") | |
echo "🔍 Listing open PRs with review requested for you or your team..." | |
for REPO in "${REPOS[@]}"; do | |
echo -e "\n📦 Repository: $REPO" |