Skip to content

Instantly share code, notes, and snippets.

View wibus-wee's full-sized avatar
📚
Learning

Wibus wibus-wee

📚
Learning
View GitHub Profile
@wibus-wee
wibus-wee / GitHub.sh
Created November 14, 2022 11:10 — forked from sxzz/GitHub.sh
GitHub CLI scripts
# Get the owner of the repository to which you contributed (Pull Requests)
gh api graphql --paginate -f query='
query($endCursor: String) {
user(login: "username") {
pullRequests(first: 100, after: $endCursor, states: MERGED) {
nodes { repository { owner { login } } }
pageInfo {
hasNextPage
endCursor