{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/pulls/2","id":138632618,"html_url":"https://github.com/alphagov/puppetlabs-postgresql/pull/2","diff_url":"https://github.com/alphagov/puppetlabs-postgresql/pull/2.diff","patch_url":"https://github.com/alphagov/puppetlabs-postgresql/pull/2.patch","issue_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/issues/2","number":2,"state":"open","locked":false,"title":"Create the user before granting to it","user":{"login":"SamLR","id":486265,"avatar_url":"https://avatars2.githubusercontent.com/u/486265?v=4","gravatar_id":"","url":"https://api.github.com/users/SamLR","html_url":"https://github.com/SamLR","followers_url":"https://api.github.com/users/SamLR/followers","following_url":"https://api.github.com/users/SamLR/following{/other_user}","gists_url":"https://api.github.com/users/SamLR/gists{/gist_id}","starred_url":"https://api.github.com/users/SamLR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamLR/subscriptions","organizations_url":"https://api.github.com/users/SamLR/orgs","repos_url":"https://api.github.com/users/SamLR/repos","events_url":"https://api.github.com/users/SamLR/events{/privacy}","received_events_url":"https://api.github.com/users/SamLR/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-31T10:30:24Z","updated_at":"2017-08-31T10:30:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/pulls/2/commits","review_comments_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/pulls/2/comments","review_comment_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/issues/2/comments","statuses_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/statuses/b4ff8ad6a92a61ea49f1dcd15cd467c6464f6d6f","head":{"label":"alphagov:fix-user-creation-requirement","ref":"fix-user-creation-requirement","sha":"b4ff8ad6a92a61ea49f1dcd15cd467c6464f6d6f","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":99905551,"name":"puppetlabs-postgresql","full_name":"alphagov/puppetlabs-postgresql","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/puppetlabs-postgresql","description":"Puppet module for managing PostgreSQL","fork":true,"url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql","forks_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/forks","keys_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/teams","hooks_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/hooks","issue_events_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/events","assignees_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/tags","blobs_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/languages","stargazers_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/stargazers","contributors_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/contributors","subscribers_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/subscribers","subscription_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/subscription","commits_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/merges","archive_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/downloads","issues_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/deployments","created_at":"2017-08-10T09:25:05Z","updated_at":"2017-08-10T09:25:08Z","pushed_at":"2017-08-31T10:29:40Z","git_url":"git://github.com/alphagov/puppetlabs-postgresql.git","ssh_url":"git@github.com:alphagov/puppetlabs-postgresql.git","clone_url":"https://github.com/alphagov/puppetlabs-postgresql.git","svn_url":"https://github.com/alphagov/puppetlabs-postgresql","homepage":null,"size":1626,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"5a49c3476172cb603f0dae29a95afa3f3712d78c","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":99905551,"name":"puppetlabs-postgresql","full_name":"alphagov/puppetlabs-postgresql","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/puppetlabs-postgresql","description":"Puppet module for managing PostgreSQL","fork":true,"url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql","forks_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/forks","keys_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/teams","hooks_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/hooks","issue_events_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/events","assignees_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/tags","blobs_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/languages","stargazers_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/stargazers","contributors_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/contributors","subscribers_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/subscribers","subscription_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/subscription","commits_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/merges","archive_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/downloads","issues_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/deployments","created_at":"2017-08-10T09:25:05Z","updated_at":"2017-08-10T09:25:08Z","pushed_at":"2017-08-31T10:29:40Z","git_url":"git://github.com/alphagov/puppetlabs-postgresql.git","ssh_url":"git@github.com:alphagov/puppetlabs-postgresql.git","clone_url":"https://github.com/alphagov/puppetlabs-postgresql.git","svn_url":"https://github.com/alphagov/puppetlabs-postgresql","homepage":null,"size":1626,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/pulls/2"},"html":{"href":"https://github.com/alphagov/puppetlabs-postgresql/pull/2"},"issue":{"href":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/issues/2"},"comments":{"href":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/puppetlabs-postgresql/statuses/b4ff8ad6a92a61ea49f1dcd15cd467c6464f6d6f"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":4,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"SamLR"}}