Last active
June 12, 2020 08:45
-
-
Save oscard0m/e179608b46550abc2723f26b693ba2fb to your computer and use it in GitHub Desktop.
Github CLI: Approve multiple PR's
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
while read pr; do | |
echo "Reviewing $pr" | |
gh pr review "$pr" --approve" | |
done <list-prs.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
list-prs.txt format
https://github.com/${ORG | USER}/${REPO}/pull/1
https://github.com/${ORG | USER}/${REPO}/pull/2
...
https://github.com/${ORG | USER}/${REPO}/pull/N