{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/govuk-developer-docs/pulls/comments/168747876","pull_request_review_id":97167668,"id":168747876,"diff_hunk":"@@ -38,6 +38,10 @@ node {\n       govuk.rubyLinter(\"app lib helpers spec bin\")\n     }\n \n+    stage(\"Lint documentation\") {\n+      sh \"find . -name '*.md' |xargs ./vale-lint.sh\"","path":"Jenkinsfile","position":5,"original_position":5,"commit_id":"50a974209b265d71791325b56e66e7145564fc9f","original_commit_id":"50a974209b265d71791325b56e66e7145564fc9f","user":{"login":"timblair","id":3360,"avatar_url":"https://avatars2.githubusercontent.com/u/3360?v=4","gravatar_id":"","url":"https://api.github.com/users/timblair","html_url":"https://github.com/timblair","followers_url":"https://api.github.com/users/timblair/followers","following_url":"https://api.github.com/users/timblair/following{/other_user}","gists_url":"https://api.github.com/users/timblair/gists{/gist_id}","starred_url":"https://api.github.com/users/timblair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timblair/subscriptions","organizations_url":"https://api.github.com/users/timblair/orgs","repos_url":"https://api.github.com/users/timblair/repos","events_url":"https://api.github.com/users/timblair/events{/privacy}","received_events_url":"https://api.github.com/users/timblair/received_events","type":"User","site_admin":false},"body":"Ah, unless you did it like that on purpose to only highlight errors, rather than outputting a deluge of warnings on every run? Might want to tweak the shell script to output all failures then, rather than exiting on the first one it finds.","created_at":"2018-02-16T12:50:20Z","updated_at":"2018-02-16T12:50:20Z","html_url":"https://github.com/alphagov/govuk-developer-docs/pull/720#discussion_r168747876","pull_request_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/pulls/720","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk-developer-docs/pulls/comments/168747876"},"html":{"href":"https://github.com/alphagov/govuk-developer-docs/pull/720#discussion_r168747876"},"pull_request":{"href":"https://api.github.com/repos/alphagov/govuk-developer-docs/pulls/720"}},"in_reply_to_id":168746149},"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk-developer-docs/pulls/720","id":169600979,"html_url":"https://github.com/alphagov/govuk-developer-docs/pull/720","diff_url":"https://github.com/alphagov/govuk-developer-docs/pull/720.diff","patch_url":"https://github.com/alphagov/govuk-developer-docs/pull/720.patch","issue_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/issues/720","number":720,"state":"open","locked":false,"title":"Add ValeLint to CI","user":{"login":"surminus","id":5610276,"avatar_url":"https://avatars0.githubusercontent.com/u/5610276?v=4","gravatar_id":"","url":"https://api.github.com/users/surminus","html_url":"https://github.com/surminus","followers_url":"https://api.github.com/users/surminus/followers","following_url":"https://api.github.com/users/surminus/following{/other_user}","gists_url":"https://api.github.com/users/surminus/gists{/gist_id}","starred_url":"https://api.github.com/users/surminus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surminus/subscriptions","organizations_url":"https://api.github.com/users/surminus/orgs","repos_url":"https://api.github.com/users/surminus/repos","events_url":"https://api.github.com/users/surminus/events{/privacy}","received_events_url":"https://api.github.com/users/surminus/received_events","type":"User","site_admin":false},"body":"I added Vale as a pre-commit hook in b3dcb10783b238de3fbc0acc808da2647ee851f7.\n\nThe idea is that we can \"lint\" our documentation for grammar and readability. Documentation is often as important as the code we have to support, so we should ensure it is concise and accessible, particularly to people where English is not their first language.\n\nThis adds the tool to the CI chain. It can be further configured using `.vale`, and further styles may be added to `styles/`.","created_at":"2018-02-16T11:23:51Z","updated_at":"2018-02-16T12:50:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f335e879d12a3b3e46af29ada18c01b944e7d4f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/pulls/720/commits","review_comments_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/pulls/720/comments","review_comment_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/issues/720/comments","statuses_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/statuses/50a974209b265d71791325b56e66e7145564fc9f","head":{"label":"alphagov:add-valelint","ref":"add-valelint","sha":"50a974209b265d71791325b56e66e7145564fc9f","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":57145363,"name":"govuk-developer-docs","full_name":"alphagov/govuk-developer-docs","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/govuk-developer-docs","description":"📖 Tech docs for everyone working on GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-developer-docs","forks_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/deployments","created_at":"2016-04-26T16:43:08Z","updated_at":"2018-01-30T01:38:23Z","pushed_at":"2018-02-16T12:37:54Z","git_url":"git://github.com/alphagov/govuk-developer-docs.git","ssh_url":"git@github.com:alphagov/govuk-developer-docs.git","clone_url":"https://github.com/alphagov/govuk-developer-docs.git","svn_url":"https://github.com/alphagov/govuk-developer-docs","homepage":"https://docs.publishing.service.gov.uk","size":7956,"stargazers_count":12,"watchers_count":12,"language":"CSS","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":11,"open_issues":8,"watchers":12,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"bc501bd6155e18ee6d65aa5c02ad824cebee7c81","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":57145363,"name":"govuk-developer-docs","full_name":"alphagov/govuk-developer-docs","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/govuk-developer-docs","description":"📖 Tech docs for everyone working on GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-developer-docs","forks_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk-developer-docs/deployments","created_at":"2016-04-26T16:43:08Z","updated_at":"2018-01-30T01:38:23Z","pushed_at":"2018-02-16T12:37:54Z","git_url":"git://github.com/alphagov/govuk-developer-docs.git","ssh_url":"git@github.com:alphagov/govuk-developer-docs.git","clone_url":"https://github.com/alphagov/govuk-developer-docs.git","svn_url":"https://github.com/alphagov/govuk-developer-docs","homepage":"https://docs.publishing.service.gov.uk","size":7956,"stargazers_count":12,"watchers_count":12,"language":"CSS","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":11,"open_issues":8,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk-developer-docs/pulls/720"},"html":{"href":"https://github.com/alphagov/govuk-developer-docs/pull/720"},"issue":{"href":"https://api.github.com/repos/alphagov/govuk-developer-docs/issues/720"},"comments":{"href":"https://api.github.com/repos/alphagov/govuk-developer-docs/issues/720/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govuk-developer-docs/pulls/720/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govuk-developer-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govuk-developer-docs/pulls/720/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govuk-developer-docs/statuses/50a974209b265d71791325b56e66e7145564fc9f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"timblair"}}