payload: {"action":"created","comment":{"url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/pulls/comments/298224719","pull_request_review_id":255286244,"id":298224719,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI5ODIyNDcxOQ==","diff_hunk":"@@ -0,0 +1,54 @@\n+= Agent configuration\n+\n+Agent can be run with a configuration by invoking `hercules-ci-agent --config FILE.toml`.\n+config formatted using https://github.com/toml-lang/toml#toml[TOML] markup.\n+\n+By default you don't need to specify the config file. A bit more involved example:\n+","path":"docs/agent-config.adoc","position":7,"original_position":7,"commit_id":"8751040ad6a134dbcaff43ec068007692459b557","original_commit_id":"8751040ad6a134dbcaff43ec068007692459b557","user":{"login":"roberth","id":496447,"node_id":"MDQ6VXNlcjQ5NjQ0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/496447?v=4","gravatar_id":"","url":"https://api.github.com/users/roberth","html_url":"https://github.com/roberth","followers_url":"https://api.github.com/users/roberth/followers","following_url":"https://api.github.com/users/roberth/following{/other_user}","gists_url":"https://api.github.com/users/roberth/gists{/gist_id}","starred_url":"https://api.github.com/users/roberth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roberth/subscriptions","organizations_url":"https://api.github.com/users/roberth/orgs","repos_url":"https://api.github.com/users/roberth/repos","events_url":"https://api.github.com/users/roberth/events{/privacy}","received_events_url":"https://api.github.com/users/roberth/received_events","type":"User","site_admin":false},"body":"```suggestion\r\n\r\nA basic `agent.toml` looks as follows:\r\n\r\n```\r\n\r\nSuggesting a default file name too.","created_at":"2019-06-27T15:03:02Z","updated_at":"2019-06-27T15:17:26Z","html_url":"https://github.com/hercules-ci/docs.hercules-ci.com/pull/25#discussion_r298224719","pull_request_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/pulls/25","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/pulls/comments/298224719"},"html":{"href":"https://github.com/hercules-ci/docs.hercules-ci.com/pull/25#discussion_r298224719"},"pull_request":{"href":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/pulls/25","id":292005275,"node_id":"MDExOlB1bGxSZXF1ZXN0MjkyMDA1Mjc1","html_url":"https://github.com/hercules-ci/docs.hercules-ci.com/pull/25","diff_url":"https://github.com/hercules-ci/docs.hercules-ci.com/pull/25.diff","patch_url":"https://github.com/hercules-ci/docs.hercules-ci.com/pull/25.patch","issue_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/issues/25","number":25,"state":"open","locked":false,"title":"Cachix documentation and agent config reference","user":{"login":"domenkozar","id":126339,"node_id":"MDQ6VXNlcjEyNjMzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/126339?v=4","gravatar_id":"","url":"https://api.github.com/users/domenkozar","html_url":"https://github.com/domenkozar","followers_url":"https://api.github.com/users/domenkozar/followers","following_url":"https://api.github.com/users/domenkozar/following{/other_user}","gists_url":"https://api.github.com/users/domenkozar/gists{/gist_id}","starred_url":"https://api.github.com/users/domenkozar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenkozar/subscriptions","organizations_url":"https://api.github.com/users/domenkozar/orgs","repos_url":"https://api.github.com/users/domenkozar/repos","events_url":"https://api.github.com/users/domenkozar/events{/privacy}","received_events_url":"https://api.github.com/users/domenkozar/received_events","type":"User","site_admin":false},"body":"- [ ] how to pass `binary-caches.json` to linux/macos agents","created_at":"2019-06-26T14:03:09Z","updated_at":"2019-06-27T15:17:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ecf119ac0c1ce0939178645034f729663fab5ffd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/pulls/25/commits","review_comments_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/pulls/25/comments","review_comment_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/issues/25/comments","statuses_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/statuses/8751040ad6a134dbcaff43ec068007692459b557","head":{"label":"hercules-ci:cachix-and-agent-config","ref":"cachix-and-agent-config","sha":"8751040ad6a134dbcaff43ec068007692459b557","user":{"login":"hercules-ci","id":23378925,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMzc4OTI1","avatar_url":"https://avatars1.githubusercontent.com/u/23378925?v=4","gravatar_id":"","url":"https://api.github.com/users/hercules-ci","html_url":"https://github.com/hercules-ci","followers_url":"https://api.github.com/users/hercules-ci/followers","following_url":"https://api.github.com/users/hercules-ci/following{/other_user}","gists_url":"https://api.github.com/users/hercules-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/hercules-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hercules-ci/subscriptions","organizations_url":"https://api.github.com/users/hercules-ci/orgs","repos_url":"https://api.github.com/users/hercules-ci/repos","events_url":"https://api.github.com/users/hercules-ci/events{/privacy}","received_events_url":"https://api.github.com/users/hercules-ci/received_events","type":"Organization","site_admin":false},"repo":{"id":170871243,"node_id":"MDEwOlJlcG9zaXRvcnkxNzA4NzEyNDM=","name":"docs.hercules-ci.com","full_name":"hercules-ci/docs.hercules-ci.com","private":false,"owner":{"login":"hercules-ci","id":23378925,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMzc4OTI1","avatar_url":"https://avatars1.githubusercontent.com/u/23378925?v=4","gravatar_id":"","url":"https://api.github.com/users/hercules-ci","html_url":"https://github.com/hercules-ci","followers_url":"https://api.github.com/users/hercules-ci/followers","following_url":"https://api.github.com/users/hercules-ci/following{/other_user}","gists_url":"https://api.github.com/users/hercules-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/hercules-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hercules-ci/subscriptions","organizations_url":"https://api.github.com/users/hercules-ci/orgs","repos_url":"https://api.github.com/users/hercules-ci/repos","events_url":"https://api.github.com/users/hercules-ci/events{/privacy}","received_events_url":"https://api.github.com/users/hercules-ci/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hercules-ci/docs.hercules-ci.com","description":null,"fork":false,"url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com","forks_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/forks","keys_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/teams","hooks_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/hooks","issue_events_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/issues/events{/number}","events_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/events","assignees_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/assignees{/user}","branches_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/branches{/branch}","tags_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/tags","blobs_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/statuses/{sha}","languages_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/languages","stargazers_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/stargazers","contributors_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/contributors","subscribers_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/subscribers","subscription_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/subscription","commits_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/contents/{+path}","compare_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/merges","archive_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/downloads","issues_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/issues{/number}","pulls_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/pulls{/number}","milestones_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/milestones{/number}","notifications_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/labels{/name}","releases_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/releases{/id}","deployments_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/deployments","created_at":"2019-02-15T13:42:55Z","updated_at":"2019-06-10T15:10:55Z","pushed_at":"2019-06-27T14:48:51Z","git_url":"git://github.com/hercules-ci/docs.hercules-ci.com.git","ssh_url":"git@github.com:hercules-ci/docs.hercules-ci.com.git","clone_url":"https://github.com/hercules-ci/docs.hercules-ci.com.git","svn_url":"https://github.com/hercules-ci/docs.hercules-ci.com","homepage":null,"size":1254,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"hercules-ci:master","ref":"master","sha":"62bf8f00155c119dabce542c75a3a016a2695ffd","user":{"login":"hercules-ci","id":23378925,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMzc4OTI1","avatar_url":"https://avatars1.githubusercontent.com/u/23378925?v=4","gravatar_id":"","url":"https://api.github.com/users/hercules-ci","html_url":"https://github.com/hercules-ci","followers_url":"https://api.github.com/users/hercules-ci/followers","following_url":"https://api.github.com/users/hercules-ci/following{/other_user}","gists_url":"https://api.github.com/users/hercules-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/hercules-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hercules-ci/subscriptions","organizations_url":"https://api.github.com/users/hercules-ci/orgs","repos_url":"https://api.github.com/users/hercules-ci/repos","events_url":"https://api.github.com/users/hercules-ci/events{/privacy}","received_events_url":"https://api.github.com/users/hercules-ci/received_events","type":"Organization","site_admin":false},"repo":{"id":170871243,"node_id":"MDEwOlJlcG9zaXRvcnkxNzA4NzEyNDM=","name":"docs.hercules-ci.com","full_name":"hercules-ci/docs.hercules-ci.com","private":false,"owner":{"login":"hercules-ci","id":23378925,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMzc4OTI1","avatar_url":"https://avatars1.githubusercontent.com/u/23378925?v=4","gravatar_id":"","url":"https://api.github.com/users/hercules-ci","html_url":"https://github.com/hercules-ci","followers_url":"https://api.github.com/users/hercules-ci/followers","following_url":"https://api.github.com/users/hercules-ci/following{/other_user}","gists_url":"https://api.github.com/users/hercules-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/hercules-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hercules-ci/subscriptions","organizations_url":"https://api.github.com/users/hercules-ci/orgs","repos_url":"https://api.github.com/users/hercules-ci/repos","events_url":"https://api.github.com/users/hercules-ci/events{/privacy}","received_events_url":"https://api.github.com/users/hercules-ci/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hercules-ci/docs.hercules-ci.com","description":null,"fork":false,"url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com","forks_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/forks","keys_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/teams","hooks_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/hooks","issue_events_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/issues/events{/number}","events_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/events","assignees_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/assignees{/user}","branches_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/branches{/branch}","tags_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/tags","blobs_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/statuses/{sha}","languages_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/languages","stargazers_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/stargazers","contributors_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/contributors","subscribers_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/subscribers","subscription_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/subscription","commits_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/contents/{+path}","compare_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/merges","archive_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/downloads","issues_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/issues{/number}","pulls_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/pulls{/number}","milestones_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/milestones{/number}","notifications_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/labels{/name}","releases_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/releases{/id}","deployments_url":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/deployments","created_at":"2019-02-15T13:42:55Z","updated_at":"2019-06-10T15:10:55Z","pushed_at":"2019-06-27T14:48:51Z","git_url":"git://github.com/hercules-ci/docs.hercules-ci.com.git","ssh_url":"git@github.com:hercules-ci/docs.hercules-ci.com.git","clone_url":"https://github.com/hercules-ci/docs.hercules-ci.com.git","svn_url":"https://github.com/hercules-ci/docs.hercules-ci.com","homepage":null,"size":1254,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":5,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/pulls/25"},"html":{"href":"https://github.com/hercules-ci/docs.hercules-ci.com/pull/25"},"issue":{"href":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/issues/25"},"comments":{"href":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/hercules-ci/docs.hercules-ci.com/statuses/8751040ad6a134dbcaff43ec068007692459b557"}},"author_association":"MEMBER"}}
other: {"actor":{"display_login":"roberth"}}