{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/18F/pages/pulls/12","id":36970350,"html_url":"https://github.com/18F/pages/pull/12","diff_url":"https://github.com/18F/pages/pull/12.diff","patch_url":"https://github.com/18F/pages/pull/12.patch","issue_url":"https://api.github.com/repos/18F/pages/issues/12","number":12,"state":"open","locked":false,"title":"Support staging","user":{"login":"mbland","id":301547,"avatar_url":"https://avatars.githubusercontent.com/u/301547?v=3","gravatar_id":"","url":"https://api.github.com/users/mbland","html_url":"https://github.com/mbland","followers_url":"https://api.github.com/users/mbland/followers","following_url":"https://api.github.com/users/mbland/following{/other_user}","gists_url":"https://api.github.com/users/mbland/gists{/gist_id}","starred_url":"https://api.github.com/users/mbland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbland/subscriptions","organizations_url":"https://api.github.com/users/mbland/orgs","repos_url":"https://api.github.com/users/mbland/repos","events_url":"https://api.github.com/users/mbland/events{/privacy}","received_events_url":"https://api.github.com/users/mbland/received_events","type":"User","site_admin":false},"body":"Closes #11. Implements https://pages-staging.18f.gov/, which is already live and using SSO authentication via oauth2_proxy.\r\n\r\nOne of these days I'll figure out a way to test the script other than running it live.\r\n\r\n@dhcole, @afeld, @shawnbot or @msecret: Would love a quick review, pointers.\r\n\r\ncc: @maya @juliaelman ","created_at":"2015-06-04T19:41:10Z","updated_at":"2015-06-04T19:41:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/pages/pulls/12/commits","review_comments_url":"https://api.github.com/repos/18F/pages/pulls/12/comments","review_comment_url":"https://api.github.com/repos/18F/pages/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/pages/issues/12/comments","statuses_url":"https://api.github.com/repos/18F/pages/statuses/1e266749d68939b87b6143821610a2316efe7dd8","head":{"label":"18F:support-staging","ref":"support-staging","sha":"1e266749d68939b87b6143821610a2316efe7dd8","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":34495913,"name":"pages","full_name":"18F/pages","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/pages","description":"Webhook for automatically generating 18F sites a la GitHub pages","fork":false,"url":"https://api.github.com/repos/18F/pages","forks_url":"https://api.github.com/repos/18F/pages/forks","keys_url":"https://api.github.com/repos/18F/pages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/pages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/pages/teams","hooks_url":"https://api.github.com/repos/18F/pages/hooks","issue_events_url":"https://api.github.com/repos/18F/pages/issues/events{/number}","events_url":"https://api.github.com/repos/18F/pages/events","assignees_url":"https://api.github.com/repos/18F/pages/assignees{/user}","branches_url":"https://api.github.com/repos/18F/pages/branches{/branch}","tags_url":"https://api.github.com/repos/18F/pages/tags","blobs_url":"https://api.github.com/repos/18F/pages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/pages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/pages/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/pages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/pages/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/pages/languages","stargazers_url":"https://api.github.com/repos/18F/pages/stargazers","contributors_url":"https://api.github.com/repos/18F/pages/contributors","subscribers_url":"https://api.github.com/repos/18F/pages/subscribers","subscription_url":"https://api.github.com/repos/18F/pages/subscription","commits_url":"https://api.github.com/repos/18F/pages/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/pages/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/pages/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/pages/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/pages/contents/{+path}","compare_url":"https://api.github.com/repos/18F/pages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/pages/merges","archive_url":"https://api.github.com/repos/18F/pages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/pages/downloads","issues_url":"https://api.github.com/repos/18F/pages/issues{/number}","pulls_url":"https://api.github.com/repos/18F/pages/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/pages/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/pages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/pages/labels{/name}","releases_url":"https://api.github.com/repos/18F/pages/releases{/id}","created_at":"2015-04-24T03:28:50Z","updated_at":"2015-06-04T17:36:00Z","pushed_at":"2015-06-04T19:38:01Z","git_url":"git://github.com/18F/pages.git","ssh_url":"git@github.com:18F/pages.git","clone_url":"https://github.com/18F/pages.git","svn_url":"https://github.com/18F/pages","homepage":"https://pages.18f.gov","size":250,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":14,"default_branch":"18f-pages"}},"base":{"label":"18F:18f-pages","ref":"18f-pages","sha":"44a3b863b2df7827fed8c3186c5408fc55f5ecef","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":34495913,"name":"pages","full_name":"18F/pages","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/pages","description":"Webhook for automatically generating 18F sites a la GitHub pages","fork":false,"url":"https://api.github.com/repos/18F/pages","forks_url":"https://api.github.com/repos/18F/pages/forks","keys_url":"https://api.github.com/repos/18F/pages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/pages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/pages/teams","hooks_url":"https://api.github.com/repos/18F/pages/hooks","issue_events_url":"https://api.github.com/repos/18F/pages/issues/events{/number}","events_url":"https://api.github.com/repos/18F/pages/events","assignees_url":"https://api.github.com/repos/18F/pages/assignees{/user}","branches_url":"https://api.github.com/repos/18F/pages/branches{/branch}","tags_url":"https://api.github.com/repos/18F/pages/tags","blobs_url":"https://api.github.com/repos/18F/pages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/pages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/pages/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/pages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/pages/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/pages/languages","stargazers_url":"https://api.github.com/repos/18F/pages/stargazers","contributors_url":"https://api.github.com/repos/18F/pages/contributors","subscribers_url":"https://api.github.com/repos/18F/pages/subscribers","subscription_url":"https://api.github.com/repos/18F/pages/subscription","commits_url":"https://api.github.com/repos/18F/pages/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/pages/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/pages/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/pages/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/pages/contents/{+path}","compare_url":"https://api.github.com/repos/18F/pages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/pages/merges","archive_url":"https://api.github.com/repos/18F/pages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/pages/downloads","issues_url":"https://api.github.com/repos/18F/pages/issues{/number}","pulls_url":"https://api.github.com/repos/18F/pages/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/pages/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/pages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/pages/labels{/name}","releases_url":"https://api.github.com/repos/18F/pages/releases{/id}","created_at":"2015-04-24T03:28:50Z","updated_at":"2015-06-04T17:36:00Z","pushed_at":"2015-06-04T19:38:01Z","git_url":"git://github.com/18F/pages.git","ssh_url":"git@github.com:18F/pages.git","clone_url":"https://github.com/18F/pages.git","svn_url":"https://github.com/18F/pages","homepage":"https://pages.18f.gov","size":250,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":14,"default_branch":"18f-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/pages/pulls/12"},"html":{"href":"https://github.com/18F/pages/pull/12"},"issue":{"href":"https://api.github.com/repos/18F/pages/issues/12"},"comments":{"href":"https://api.github.com/repos/18F/pages/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/pages/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/pages/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/pages/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/18F/pages/statuses/1e266749d68939b87b6143821610a2316efe7dd8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":49,"deletions":13,"changed_files":2}}