Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
merge all open PR's across all repos for a github userr
for repo in $(gh repo list -L 100 | awk {'print $1}'); do
for pr_no in $(gh pr list -R $repo | awk {'print $1}'); do
gh pr merge -R $repo -s $pr_no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment