{"action":"created","comment":{"url":"https://api.github.com/repos/yarpc/yarpc-go/pulls/comments/181868964","pull_request_review_id":112569005,"id":181868964,"diff_hunk":"@@ -0,0 +1,190 @@\n+#!/usr/bin/env bash\n+\n+# This script will update the dependencies for the branch that it was executed\n+# with. If the update didn't cause any generated code to change and the tests\n+# continue to pass, the change will be pushed directly to the branch. If the\n+# generated code changed or the tests failed, the change will be pushed to a\n+# new branch and a pull request will be created.\n+#\n+# Variables to control the behavior of this script:\n+#\n+# GITHUB_USER (required)\n+#   GitHub username used to authenticate requests.\n+# GITHUB_TOKEN (required)\n+#   GitHub token to authenticate $GITHUB_USER.\n+# GITHUB_EMAIL (optional)\n+#   Email address of the GitHub user.\n+# GITHUB_REPO (optional)\n+#   GitHub repository in the form $user/$repo. This will usually be inferred\n+#   automatically from BUILDKITE_REPO.\n+# GIT_REMOTE (optional)\n+#   Name of the git remote to which changes will be pushed. Defaults to\n+#   \"origin\".\n+#\n+# The following variables set by BuildKite are also accepted.\n+#\n+#   BUILDKITE_BRANCH\n+#   BUILDKITE_BUILD_CREATOR (optional)\n+#   BUILDKITE_BUILD_CREATOR_EMAIL (optional)\n+#   BUILDKITE_BUILD_NUMBER (optional)\n+#   BUILDKITE_REPO (optional)\n+#\n+# See https://buildkite.com/docs/builds/environment-variables for what they mean.\n+\n+set -euo pipefail","path":"etc/bin/update-deps.sh","position":34,"original_position":34,"commit_id":"97f30074b335752e02419efdc88b817d8b55d482","original_commit_id":"97f30074b335752e02419efdc88b817d8b55d482","user":{"login":"akshayjshah","id":972790,"avatar_url":"https://avatars3.githubusercontent.com/u/972790?v=4","gravatar_id":"","url":"https://api.github.com/users/akshayjshah","html_url":"https://github.com/akshayjshah","followers_url":"https://api.github.com/users/akshayjshah/followers","following_url":"https://api.github.com/users/akshayjshah/following{/other_user}","gists_url":"https://api.github.com/users/akshayjshah/gists{/gist_id}","starred_url":"https://api.github.com/users/akshayjshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshayjshah/subscriptions","organizations_url":"https://api.github.com/users/akshayjshah/orgs","repos_url":"https://api.github.com/users/akshayjshah/repos","events_url":"https://api.github.com/users/akshayjshah/events{/privacy}","received_events_url":"https://api.github.com/users/akshayjshah/received_events","type":"User","site_admin":false},"body":"Why not set `IFS` too? Do we depend on the default behavior?","created_at":"2018-04-16T20:09:14Z","updated_at":"2018-04-16T20:18:03Z","html_url":"https://github.com/yarpc/yarpc-go/pull/1474#discussion_r181868964","pull_request_url":"https://api.github.com/repos/yarpc/yarpc-go/pulls/1474","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/yarpc/yarpc-go/pulls/comments/181868964"},"html":{"href":"https://github.com/yarpc/yarpc-go/pull/1474#discussion_r181868964"},"pull_request":{"href":"https://api.github.com/repos/yarpc/yarpc-go/pulls/1474"}}},"pull_request":{"url":"https://api.github.com/repos/yarpc/yarpc-go/pulls/1474","id":181614081,"html_url":"https://github.com/yarpc/yarpc-go/pull/1474","diff_url":"https://github.com/yarpc/yarpc-go/pull/1474.diff","patch_url":"https://github.com/yarpc/yarpc-go/pull/1474.patch","issue_url":"https://api.github.com/repos/yarpc/yarpc-go/issues/1474","number":1474,"state":"open","locked":false,"title":"buildkite: Update dependencies automatically","user":{"login":"abhinav","id":41730,"avatar_url":"https://avatars0.githubusercontent.com/u/41730?v=4","gravatar_id":"","url":"https://api.github.com/users/abhinav","html_url":"https://github.com/abhinav","followers_url":"https://api.github.com/users/abhinav/followers","following_url":"https://api.github.com/users/abhinav/following{/other_user}","gists_url":"https://api.github.com/users/abhinav/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinav/subscriptions","organizations_url":"https://api.github.com/users/abhinav/orgs","repos_url":"https://api.github.com/users/abhinav/repos","events_url":"https://api.github.com/users/abhinav/events{/privacy}","received_events_url":"https://api.github.com/users/abhinav/received_events","type":"User","site_admin":false},"body":"This sets up automatic update of glide.lock for YARPC. It handles the\r\nfollowing scenarios:\r\n\r\n- Nothing changed: Do nothing\r\n- Only dependencies changed and tests continue to pass: Push directly to\r\n  the target branch\r\n- Dependencies and generated code changed: Create a pull request\r\n- Tests failed: Create a pull request\r\n\r\nFor most cases, we will have an up-to-date glide.lock. When something\r\nbreaks, we'll get a PR and we'll have to figure out what went wrong and\r\nfix it.\r\n\r\nThe following needs to be done before this is functional.\r\n\r\n- [x] Set up a @yarpcbot account\r\n- [ ] Give yarpcbot write access to YARPC\r\n- [x] Generate SSH keys and a GitHub token for yarpcbot\r\n- [x] Upload the keys and token to the secret store\r\n\r\nAfter this lands, we need to set up a scheduled build with\r\n`YARPC_PIPELINE=update-deps`.","created_at":"2018-04-13T23:10:34Z","updated_at":"2018-04-16T20:18:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f26ff5ca407001acce91a04a789aca0ff4f709a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"AlexAPB","id":3745201,"avatar_url":"https://avatars2.githubusercontent.com/u/3745201?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexAPB","html_url":"https://github.com/AlexAPB","followers_url":"https://api.github.com/users/AlexAPB/followers","following_url":"https://api.github.com/users/AlexAPB/following{/other_user}","gists_url":"https://api.github.com/users/AlexAPB/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexAPB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexAPB/subscriptions","organizations_url":"https://api.github.com/users/AlexAPB/orgs","repos_url":"https://api.github.com/users/AlexAPB/repos","events_url":"https://api.github.com/users/AlexAPB/events{/privacy}","received_events_url":"https://api.github.com/users/AlexAPB/received_events","type":"User","site_admin":false},{"login":"peter-edge","id":4228796,"avatar_url":"https://avatars1.githubusercontent.com/u/4228796?v=4","gravatar_id":"","url":"https://api.github.com/users/peter-edge","html_url":"https://github.com/peter-edge","followers_url":"https://api.github.com/users/peter-edge/followers","following_url":"https://api.github.com/users/peter-edge/following{/other_user}","gists_url":"https://api.github.com/users/peter-edge/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-edge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-edge/subscriptions","organizations_url":"https://api.github.com/users/peter-edge/orgs","repos_url":"https://api.github.com/users/peter-edge/repos","events_url":"https://api.github.com/users/peter-edge/events{/privacy}","received_events_url":"https://api.github.com/users/peter-edge/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/yarpc/yarpc-go/pulls/1474/commits","review_comments_url":"https://api.github.com/repos/yarpc/yarpc-go/pulls/1474/comments","review_comment_url":"https://api.github.com/repos/yarpc/yarpc-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yarpc/yarpc-go/issues/1474/comments","statuses_url":"https://api.github.com/repos/yarpc/yarpc-go/statuses/97f30074b335752e02419efdc88b817d8b55d482","head":{"label":"yarpc:abg/buildkite/update-deps","ref":"abg/buildkite/update-deps","sha":"97f30074b335752e02419efdc88b817d8b55d482","user":{"login":"yarpc","id":16569504,"avatar_url":"https://avatars2.githubusercontent.com/u/16569504?v=4","gravatar_id":"","url":"https://api.github.com/users/yarpc","html_url":"https://github.com/yarpc","followers_url":"https://api.github.com/users/yarpc/followers","following_url":"https://api.github.com/users/yarpc/following{/other_user}","gists_url":"https://api.github.com/users/yarpc/gists{/gist_id}","starred_url":"https://api.github.com/users/yarpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarpc/subscriptions","organizations_url":"https://api.github.com/users/yarpc/orgs","repos_url":"https://api.github.com/users/yarpc/repos","events_url":"https://api.github.com/users/yarpc/events{/privacy}","received_events_url":"https://api.github.com/users/yarpc/received_events","type":"Organization","site_admin":false},"repo":{"id":50390111,"name":"yarpc-go","full_name":"yarpc/yarpc-go","owner":{"login":"yarpc","id":16569504,"avatar_url":"https://avatars2.githubusercontent.com/u/16569504?v=4","gravatar_id":"","url":"https://api.github.com/users/yarpc","html_url":"https://github.com/yarpc","followers_url":"https://api.github.com/users/yarpc/followers","following_url":"https://api.github.com/users/yarpc/following{/other_user}","gists_url":"https://api.github.com/users/yarpc/gists{/gist_id}","starred_url":"https://api.github.com/users/yarpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarpc/subscriptions","organizations_url":"https://api.github.com/users/yarpc/orgs","repos_url":"https://api.github.com/users/yarpc/repos","events_url":"https://api.github.com/users/yarpc/events{/privacy}","received_events_url":"https://api.github.com/users/yarpc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yarpc/yarpc-go","description":"A message passing platform for Go","fork":false,"url":"https://api.github.com/repos/yarpc/yarpc-go","forks_url":"https://api.github.com/repos/yarpc/yarpc-go/forks","keys_url":"https://api.github.com/repos/yarpc/yarpc-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yarpc/yarpc-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yarpc/yarpc-go/teams","hooks_url":"https://api.github.com/repos/yarpc/yarpc-go/hooks","issue_events_url":"https://api.github.com/repos/yarpc/yarpc-go/issues/events{/number}","events_url":"https://api.github.com/repos/yarpc/yarpc-go/events","assignees_url":"https://api.github.com/repos/yarpc/yarpc-go/assignees{/user}","branches_url":"https://api.github.com/repos/yarpc/yarpc-go/branches{/branch}","tags_url":"https://api.github.com/repos/yarpc/yarpc-go/tags","blobs_url":"https://api.github.com/repos/yarpc/yarpc-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yarpc/yarpc-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yarpc/yarpc-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/yarpc/yarpc-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yarpc/yarpc-go/statuses/{sha}","languages_url":"https://api.github.com/repos/yarpc/yarpc-go/languages","stargazers_url":"https://api.github.com/repos/yarpc/yarpc-go/stargazers","contributors_url":"https://api.github.com/repos/yarpc/yarpc-go/contributors","subscribers_url":"https://api.github.com/repos/yarpc/yarpc-go/subscribers","subscription_url":"https://api.github.com/repos/yarpc/yarpc-go/subscription","commits_url":"https://api.github.com/repos/yarpc/yarpc-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/yarpc/yarpc-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/yarpc/yarpc-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/yarpc/yarpc-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/yarpc/yarpc-go/contents/{+path}","compare_url":"https://api.github.com/repos/yarpc/yarpc-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yarpc/yarpc-go/merges","archive_url":"https://api.github.com/repos/yarpc/yarpc-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yarpc/yarpc-go/downloads","issues_url":"https://api.github.com/repos/yarpc/yarpc-go/issues{/number}","pulls_url":"https://api.github.com/repos/yarpc/yarpc-go/pulls{/number}","milestones_url":"https://api.github.com/repos/yarpc/yarpc-go/milestones{/number}","notifications_url":"https://api.github.com/repos/yarpc/yarpc-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yarpc/yarpc-go/labels{/name}","releases_url":"https://api.github.com/repos/yarpc/yarpc-go/releases{/id}","deployments_url":"https://api.github.com/repos/yarpc/yarpc-go/deployments","created_at":"2016-01-26T00:04:14Z","updated_at":"2018-04-13T20:59:10Z","pushed_at":"2018-04-16T20:04:01Z","git_url":"git://github.com/yarpc/yarpc-go.git","ssh_url":"git@github.com:yarpc/yarpc-go.git","clone_url":"https://github.com/yarpc/yarpc-go.git","svn_url":"https://github.com/yarpc/yarpc-go","homepage":"","size":10634,"stargazers_count":127,"watchers_count":127,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":22,"open_issues":10,"watchers":127,"default_branch":"dev"}},"base":{"label":"yarpc:dev","ref":"dev","sha":"683094e496a5ed0b32ffff38da2881123286b025","user":{"login":"yarpc","id":16569504,"avatar_url":"https://avatars2.githubusercontent.com/u/16569504?v=4","gravatar_id":"","url":"https://api.github.com/users/yarpc","html_url":"https://github.com/yarpc","followers_url":"https://api.github.com/users/yarpc/followers","following_url":"https://api.github.com/users/yarpc/following{/other_user}","gists_url":"https://api.github.com/users/yarpc/gists{/gist_id}","starred_url":"https://api.github.com/users/yarpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarpc/subscriptions","organizations_url":"https://api.github.com/users/yarpc/orgs","repos_url":"https://api.github.com/users/yarpc/repos","events_url":"https://api.github.com/users/yarpc/events{/privacy}","received_events_url":"https://api.github.com/users/yarpc/received_events","type":"Organization","site_admin":false},"repo":{"id":50390111,"name":"yarpc-go","full_name":"yarpc/yarpc-go","owner":{"login":"yarpc","id":16569504,"avatar_url":"https://avatars2.githubusercontent.com/u/16569504?v=4","gravatar_id":"","url":"https://api.github.com/users/yarpc","html_url":"https://github.com/yarpc","followers_url":"https://api.github.com/users/yarpc/followers","following_url":"https://api.github.com/users/yarpc/following{/other_user}","gists_url":"https://api.github.com/users/yarpc/gists{/gist_id}","starred_url":"https://api.github.com/users/yarpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarpc/subscriptions","organizations_url":"https://api.github.com/users/yarpc/orgs","repos_url":"https://api.github.com/users/yarpc/repos","events_url":"https://api.github.com/users/yarpc/events{/privacy}","received_events_url":"https://api.github.com/users/yarpc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yarpc/yarpc-go","description":"A message passing platform for Go","fork":false,"url":"https://api.github.com/repos/yarpc/yarpc-go","forks_url":"https://api.github.com/repos/yarpc/yarpc-go/forks","keys_url":"https://api.github.com/repos/yarpc/yarpc-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yarpc/yarpc-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yarpc/yarpc-go/teams","hooks_url":"https://api.github.com/repos/yarpc/yarpc-go/hooks","issue_events_url":"https://api.github.com/repos/yarpc/yarpc-go/issues/events{/number}","events_url":"https://api.github.com/repos/yarpc/yarpc-go/events","assignees_url":"https://api.github.com/repos/yarpc/yarpc-go/assignees{/user}","branches_url":"https://api.github.com/repos/yarpc/yarpc-go/branches{/branch}","tags_url":"https://api.github.com/repos/yarpc/yarpc-go/tags","blobs_url":"https://api.github.com/repos/yarpc/yarpc-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yarpc/yarpc-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yarpc/yarpc-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/yarpc/yarpc-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yarpc/yarpc-go/statuses/{sha}","languages_url":"https://api.github.com/repos/yarpc/yarpc-go/languages","stargazers_url":"https://api.github.com/repos/yarpc/yarpc-go/stargazers","contributors_url":"https://api.github.com/repos/yarpc/yarpc-go/contributors","subscribers_url":"https://api.github.com/repos/yarpc/yarpc-go/subscribers","subscription_url":"https://api.github.com/repos/yarpc/yarpc-go/subscription","commits_url":"https://api.github.com/repos/yarpc/yarpc-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/yarpc/yarpc-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/yarpc/yarpc-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/yarpc/yarpc-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/yarpc/yarpc-go/contents/{+path}","compare_url":"https://api.github.com/repos/yarpc/yarpc-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yarpc/yarpc-go/merges","archive_url":"https://api.github.com/repos/yarpc/yarpc-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yarpc/yarpc-go/downloads","issues_url":"https://api.github.com/repos/yarpc/yarpc-go/issues{/number}","pulls_url":"https://api.github.com/repos/yarpc/yarpc-go/pulls{/number}","milestones_url":"https://api.github.com/repos/yarpc/yarpc-go/milestones{/number}","notifications_url":"https://api.github.com/repos/yarpc/yarpc-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yarpc/yarpc-go/labels{/name}","releases_url":"https://api.github.com/repos/yarpc/yarpc-go/releases{/id}","deployments_url":"https://api.github.com/repos/yarpc/yarpc-go/deployments","created_at":"2016-01-26T00:04:14Z","updated_at":"2018-04-13T20:59:10Z","pushed_at":"2018-04-16T20:04:01Z","git_url":"git://github.com/yarpc/yarpc-go.git","ssh_url":"git@github.com:yarpc/yarpc-go.git","clone_url":"https://github.com/yarpc/yarpc-go.git","svn_url":"https://github.com/yarpc/yarpc-go","homepage":"","size":10634,"stargazers_count":127,"watchers_count":127,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":22,"open_issues":10,"watchers":127,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/yarpc/yarpc-go/pulls/1474"},"html":{"href":"https://github.com/yarpc/yarpc-go/pull/1474"},"issue":{"href":"https://api.github.com/repos/yarpc/yarpc-go/issues/1474"},"comments":{"href":"https://api.github.com/repos/yarpc/yarpc-go/issues/1474/comments"},"review_comments":{"href":"https://api.github.com/repos/yarpc/yarpc-go/pulls/1474/comments"},"review_comment":{"href":"https://api.github.com/repos/yarpc/yarpc-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yarpc/yarpc-go/pulls/1474/commits"},"statuses":{"href":"https://api.github.com/repos/yarpc/yarpc-go/statuses/97f30074b335752e02419efdc88b817d8b55d482"}},"author_association":"OWNER"}}
{"actor":{"display_login":"akshayjshah"}}