Skip to content

Instantly share code, notes, and snippets.

@keirlawson
Last active May 9, 2025 11:11
Show Gist options
  • Save keirlawson/e3a697667da4cf9a76510e6f383f7046 to your computer and use it in GitHub Desktop.
Save keirlawson/e3a697667da4cf9a76510e6f383f7046 to your computer and use it in GitHub Desktop.
Create PR with reviewer selector
gh repo view --json assignableUsers -q '.assignableUsers[] | "\(.name) (\(.login))"' | sk -m | grep -Po '\(\K.*(?=\))' | paste -sd, - | xargs -I '{}' gh pr create --reviewer {} --fill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment