Created
November 18, 2021 16:31
-
-
Save jwendell/16283c42606466d4637940b2f43d7a63 to your computer and use it in GitHub Desktop.
List open PR's in maistra org
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 | |
for repo in $(gh repo list --no-archived maistra --json name -q ".[].name"); do | |
output=$(gh --repo "maistra/${repo}" pr list --json url,title,baseRefName -q ".[] | .url + \" - \" + .baseRefName + \" - \" + .title") | |
if [ -n "${output}" ]; then | |
echo "PR's in ${repo}:" | |
echo "${output}" | |
echo | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment