Skip to content

Instantly share code, notes, and snippets.

@rindeal
Created September 19, 2014 16:25
Show Gist options
  • Save rindeal/8c862f576036dd58e46d to your computer and use it in GitHub Desktop.
Save rindeal/8c862f576036dd58e46d to your computer and use it in GitHub Desktop.
Github Bigquery - get all merged PR's of a specific user
SELECT created_at,
repository_name,
payload_pull_request_title,
payload_pull_request_issue_url ,
repository_description,
repository_language,
repository_url
FROM [githubarchive:github.timeline]
WHERE TYPE="PullRequestEvent"
AND payload_pull_request_head_repo_owner_login="USERNAME"
AND payload_pull_request_merged="true"
ORDER BY created_at ASC;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment