{"action":"opened","number":54,"pull_request":{"url":"https://api.github.com/repos/gocardless/draupnir/pulls/54","id":210094596,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwMDk0NTk2","html_url":"https://github.com/gocardless/draupnir/pull/54","diff_url":"https://github.com/gocardless/draupnir/pull/54.diff","patch_url":"https://github.com/gocardless/draupnir/pull/54.patch","issue_url":"https://api.github.com/repos/gocardless/draupnir/issues/54","number":54,"state":"open","locked":false,"title":"Don't require authentication for creating access tokens","user":{"login":"hmac","id":237543,"node_id":"MDQ6VXNlcjIzNzU0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/237543?v=4","gravatar_id":"","url":"https://api.github.com/users/hmac","html_url":"https://github.com/hmac","followers_url":"https://api.github.com/users/hmac/followers","following_url":"https://api.github.com/users/hmac/following{/other_user}","gists_url":"https://api.github.com/users/hmac/gists{/gist_id}","starred_url":"https://api.github.com/users/hmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmac/subscriptions","organizations_url":"https://api.github.com/users/hmac/orgs","repos_url":"https://api.github.com/users/hmac/repos","events_url":"https://api.github.com/users/hmac/events{/privacy}","received_events_url":"https://api.github.com/users/hmac/received_events","type":"User","site_admin":false},"body":"When creating an access token you're necessarily not authenticated yet.","created_at":"2018-08-22T10:55:00Z","updated_at":"2018-08-22T10:55:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gocardless/draupnir/pulls/54/commits","review_comments_url":"https://api.github.com/repos/gocardless/draupnir/pulls/54/comments","review_comment_url":"https://api.github.com/repos/gocardless/draupnir/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gocardless/draupnir/issues/54/comments","statuses_url":"https://api.github.com/repos/gocardless/draupnir/statuses/a2479c4e371522f55a568c402283f9fe2c282183","head":{"label":"gocardless:hmac/fix-access-token-auth","ref":"hmac/fix-access-token-auth","sha":"a2479c4e371522f55a568c402283f9fe2c282183","user":{"login":"gocardless","id":790629,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MDYyOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/790629?v=4","gravatar_id":"","url":"https://api.github.com/users/gocardless","html_url":"https://github.com/gocardless","followers_url":"https://api.github.com/users/gocardless/followers","following_url":"https://api.github.com/users/gocardless/following{/other_user}","gists_url":"https://api.github.com/users/gocardless/gists{/gist_id}","starred_url":"https://api.github.com/users/gocardless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocardless/subscriptions","organizations_url":"https://api.github.com/users/gocardless/orgs","repos_url":"https://api.github.com/users/gocardless/repos","events_url":"https://api.github.com/users/gocardless/events{/privacy}","received_events_url":"https://api.github.com/users/gocardless/received_events","type":"Organization","site_admin":false},"repo":{"id":76380203,"node_id":"MDEwOlJlcG9zaXRvcnk3NjM4MDIwMw==","name":"draupnir","full_name":"gocardless/draupnir","owner":{"login":"gocardless","id":790629,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MDYyOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/790629?v=4","gravatar_id":"","url":"https://api.github.com/users/gocardless","html_url":"https://github.com/gocardless","followers_url":"https://api.github.com/users/gocardless/followers","following_url":"https://api.github.com/users/gocardless/following{/other_user}","gists_url":"https://api.github.com/users/gocardless/gists{/gist_id}","starred_url":"https://api.github.com/users/gocardless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocardless/subscriptions","organizations_url":"https://api.github.com/users/gocardless/orgs","repos_url":"https://api.github.com/users/gocardless/repos","events_url":"https://api.github.com/users/gocardless/events{/privacy}","received_events_url":"https://api.github.com/users/gocardless/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gocardless/draupnir","description":"Anonymised database instances as-a-service","fork":false,"url":"https://api.github.com/repos/gocardless/draupnir","forks_url":"https://api.github.com/repos/gocardless/draupnir/forks","keys_url":"https://api.github.com/repos/gocardless/draupnir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gocardless/draupnir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gocardless/draupnir/teams","hooks_url":"https://api.github.com/repos/gocardless/draupnir/hooks","issue_events_url":"https://api.github.com/repos/gocardless/draupnir/issues/events{/number}","events_url":"https://api.github.com/repos/gocardless/draupnir/events","assignees_url":"https://api.github.com/repos/gocardless/draupnir/assignees{/user}","branches_url":"https://api.github.com/repos/gocardless/draupnir/branches{/branch}","tags_url":"https://api.github.com/repos/gocardless/draupnir/tags","blobs_url":"https://api.github.com/repos/gocardless/draupnir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gocardless/draupnir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gocardless/draupnir/git/refs{/sha}","trees_url":"https://api.github.com/repos/gocardless/draupnir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gocardless/draupnir/statuses/{sha}","languages_url":"https://api.github.com/repos/gocardless/draupnir/languages","stargazers_url":"https://api.github.com/repos/gocardless/draupnir/stargazers","contributors_url":"https://api.github.com/repos/gocardless/draupnir/contributors","subscribers_url":"https://api.github.com/repos/gocardless/draupnir/subscribers","subscription_url":"https://api.github.com/repos/gocardless/draupnir/subscription","commits_url":"https://api.github.com/repos/gocardless/draupnir/commits{/sha}","git_commits_url":"https://api.github.com/repos/gocardless/draupnir/git/commits{/sha}","comments_url":"https://api.github.com/repos/gocardless/draupnir/comments{/number}","issue_comment_url":"https://api.github.com/repos/gocardless/draupnir/issues/comments{/number}","contents_url":"https://api.github.com/repos/gocardless/draupnir/contents/{+path}","compare_url":"https://api.github.com/repos/gocardless/draupnir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gocardless/draupnir/merges","archive_url":"https://api.github.com/repos/gocardless/draupnir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gocardless/draupnir/downloads","issues_url":"https://api.github.com/repos/gocardless/draupnir/issues{/number}","pulls_url":"https://api.github.com/repos/gocardless/draupnir/pulls{/number}","milestones_url":"https://api.github.com/repos/gocardless/draupnir/milestones{/number}","notifications_url":"https://api.github.com/repos/gocardless/draupnir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gocardless/draupnir/labels{/name}","releases_url":"https://api.github.com/repos/gocardless/draupnir/releases{/id}","deployments_url":"https://api.github.com/repos/gocardless/draupnir/deployments","created_at":"2016-12-13T17:01:08Z","updated_at":"2018-07-09T20:37:11Z","pushed_at":"2018-08-22T10:54:53Z","git_url":"git://github.com/gocardless/draupnir.git","ssh_url":"git@github.com:gocardless/draupnir.git","clone_url":"https://github.com/gocardless/draupnir.git","svn_url":"https://github.com/gocardless/draupnir","homepage":"","size":11584,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":7,"watchers":4,"default_branch":"master"}},"base":{"label":"gocardless:master","ref":"master","sha":"ff264bb061ee8b04c1c65fc43c764302f1ce6c9f","user":{"login":"gocardless","id":790629,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MDYyOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/790629?v=4","gravatar_id":"","url":"https://api.github.com/users/gocardless","html_url":"https://github.com/gocardless","followers_url":"https://api.github.com/users/gocardless/followers","following_url":"https://api.github.com/users/gocardless/following{/other_user}","gists_url":"https://api.github.com/users/gocardless/gists{/gist_id}","starred_url":"https://api.github.com/users/gocardless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocardless/subscriptions","organizations_url":"https://api.github.com/users/gocardless/orgs","repos_url":"https://api.github.com/users/gocardless/repos","events_url":"https://api.github.com/users/gocardless/events{/privacy}","received_events_url":"https://api.github.com/users/gocardless/received_events","type":"Organization","site_admin":false},"repo":{"id":76380203,"node_id":"MDEwOlJlcG9zaXRvcnk3NjM4MDIwMw==","name":"draupnir","full_name":"gocardless/draupnir","owner":{"login":"gocardless","id":790629,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc5MDYyOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/790629?v=4","gravatar_id":"","url":"https://api.github.com/users/gocardless","html_url":"https://github.com/gocardless","followers_url":"https://api.github.com/users/gocardless/followers","following_url":"https://api.github.com/users/gocardless/following{/other_user}","gists_url":"https://api.github.com/users/gocardless/gists{/gist_id}","starred_url":"https://api.github.com/users/gocardless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocardless/subscriptions","organizations_url":"https://api.github.com/users/gocardless/orgs","repos_url":"https://api.github.com/users/gocardless/repos","events_url":"https://api.github.com/users/gocardless/events{/privacy}","received_events_url":"https://api.github.com/users/gocardless/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gocardless/draupnir","description":"Anonymised database instances as-a-service","fork":false,"url":"https://api.github.com/repos/gocardless/draupnir","forks_url":"https://api.github.com/repos/gocardless/draupnir/forks","keys_url":"https://api.github.com/repos/gocardless/draupnir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gocardless/draupnir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gocardless/draupnir/teams","hooks_url":"https://api.github.com/repos/gocardless/draupnir/hooks","issue_events_url":"https://api.github.com/repos/gocardless/draupnir/issues/events{/number}","events_url":"https://api.github.com/repos/gocardless/draupnir/events","assignees_url":"https://api.github.com/repos/gocardless/draupnir/assignees{/user}","branches_url":"https://api.github.com/repos/gocardless/draupnir/branches{/branch}","tags_url":"https://api.github.com/repos/gocardless/draupnir/tags","blobs_url":"https://api.github.com/repos/gocardless/draupnir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gocardless/draupnir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gocardless/draupnir/git/refs{/sha}","trees_url":"https://api.github.com/repos/gocardless/draupnir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gocardless/draupnir/statuses/{sha}","languages_url":"https://api.github.com/repos/gocardless/draupnir/languages","stargazers_url":"https://api.github.com/repos/gocardless/draupnir/stargazers","contributors_url":"https://api.github.com/repos/gocardless/draupnir/contributors","subscribers_url":"https://api.github.com/repos/gocardless/draupnir/subscribers","subscription_url":"https://api.github.com/repos/gocardless/draupnir/subscription","commits_url":"https://api.github.com/repos/gocardless/draupnir/commits{/sha}","git_commits_url":"https://api.github.com/repos/gocardless/draupnir/git/commits{/sha}","comments_url":"https://api.github.com/repos/gocardless/draupnir/comments{/number}","issue_comment_url":"https://api.github.com/repos/gocardless/draupnir/issues/comments{/number}","contents_url":"https://api.github.com/repos/gocardless/draupnir/contents/{+path}","compare_url":"https://api.github.com/repos/gocardless/draupnir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gocardless/draupnir/merges","archive_url":"https://api.github.com/repos/gocardless/draupnir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gocardless/draupnir/downloads","issues_url":"https://api.github.com/repos/gocardless/draupnir/issues{/number}","pulls_url":"https://api.github.com/repos/gocardless/draupnir/pulls{/number}","milestones_url":"https://api.github.com/repos/gocardless/draupnir/milestones{/number}","notifications_url":"https://api.github.com/repos/gocardless/draupnir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gocardless/draupnir/labels{/name}","releases_url":"https://api.github.com/repos/gocardless/draupnir/releases{/id}","deployments_url":"https://api.github.com/repos/gocardless/draupnir/deployments","created_at":"2016-12-13T17:01:08Z","updated_at":"2018-07-09T20:37:11Z","pushed_at":"2018-08-22T10:54:53Z","git_url":"git://github.com/gocardless/draupnir.git","ssh_url":"git@github.com:gocardless/draupnir.git","clone_url":"https://github.com/gocardless/draupnir.git","svn_url":"https://github.com/gocardless/draupnir","homepage":"","size":11584,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gocardless/draupnir/pulls/54"},"html":{"href":"https://github.com/gocardless/draupnir/pull/54"},"issue":{"href":"https://api.github.com/repos/gocardless/draupnir/issues/54"},"comments":{"href":"https://api.github.com/repos/gocardless/draupnir/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/gocardless/draupnir/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/gocardless/draupnir/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gocardless/draupnir/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/gocardless/draupnir/statuses/a2479c4e371522f55a568c402283f9fe2c282183"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":8,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"hmac"}}