{"action":"created","comment":{"url":"https://api.github.com/repos/UKHomeOffice/lev-web/pulls/comments/166009789","pull_request_review_id":94032606,"id":166009789,"diff_hunk":"@@ -179,3 +179,18 @@ pipeline:\n       branch: master\n       event: push\n       status: failure\n+\n+  promote_to_uat:\n+    image: quay.io/ukhomeofficedigital/drone-trigger:latest\n+    secrets:\n+      - drone_token\n+    drone_server: https://drone-gitlab.acp.homeoffice.gov.uk\n+    drone_token: $${DRONE_TOKEN}\n+    repo: lev/levops\n+    branch: master\n+    event: deployment","path":".drone.yml","position":13,"original_position":13,"commit_id":"c92d9ca0bf6880749112b7db271bbb7d5657167d","original_commit_id":"c92d9ca0bf6880749112b7db271bbb7d5657167d","user":{"login":"daniel-ac-martin","id":10604229,"avatar_url":"https://avatars1.githubusercontent.com/u/10604229?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-ac-martin","html_url":"https://github.com/daniel-ac-martin","followers_url":"https://api.github.com/users/daniel-ac-martin/followers","following_url":"https://api.github.com/users/daniel-ac-martin/following{/other_user}","gists_url":"https://api.github.com/users/daniel-ac-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-ac-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-ac-martin/subscriptions","organizations_url":"https://api.github.com/users/daniel-ac-martin/orgs","repos_url":"https://api.github.com/users/daniel-ac-martin/repos","events_url":"https://api.github.com/users/daniel-ac-martin/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-ac-martin/received_events","type":"User","site_admin":false},"body":"The event will be a push. (Though that might be the default so perhaps you can remove the line.)","created_at":"2018-02-05T15:38:04Z","updated_at":"2018-02-05T15:38:21Z","html_url":"https://github.com/UKHomeOffice/lev-web/pull/325#discussion_r166009789","pull_request_url":"https://api.github.com/repos/UKHomeOffice/lev-web/pulls/325","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/UKHomeOffice/lev-web/pulls/comments/166009789"},"html":{"href":"https://github.com/UKHomeOffice/lev-web/pull/325#discussion_r166009789"},"pull_request":{"href":"https://api.github.com/repos/UKHomeOffice/lev-web/pulls/325"}}},"pull_request":{"url":"https://api.github.com/repos/UKHomeOffice/lev-web/pulls/325","id":167173679,"html_url":"https://github.com/UKHomeOffice/lev-web/pull/325","diff_url":"https://github.com/UKHomeOffice/lev-web/pull/325.diff","patch_url":"https://github.com/UKHomeOffice/lev-web/pull/325.patch","issue_url":"https://api.github.com/repos/UKHomeOffice/lev-web/issues/325","number":325,"state":"open","locked":false,"title":"[LEVWEB-879] Promote successful Dev deploys to UAT","user":{"login":"RobinKnipe","id":7834222,"avatar_url":"https://avatars1.githubusercontent.com/u/7834222?v=4","gravatar_id":"","url":"https://api.github.com/users/RobinKnipe","html_url":"https://github.com/RobinKnipe","followers_url":"https://api.github.com/users/RobinKnipe/followers","following_url":"https://api.github.com/users/RobinKnipe/following{/other_user}","gists_url":"https://api.github.com/users/RobinKnipe/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinKnipe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinKnipe/subscriptions","organizations_url":"https://api.github.com/users/RobinKnipe/orgs","repos_url":"https://api.github.com/users/RobinKnipe/repos","events_url":"https://api.github.com/users/RobinKnipe/events{/privacy}","received_events_url":"https://api.github.com/users/RobinKnipe/received_events","type":"User","site_admin":false},"body":"Trigger the last successful drone build, to promote changes from Dev to UAT.","created_at":"2018-02-05T15:26:50Z","updated_at":"2018-02-05T15:38:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e8523191bf6fe0cd096b26f9011ef4c1fb8efee","assignee":null,"assignees":[],"requested_reviewers":[{"login":"easternbloc","id":92585,"avatar_url":"https://avatars2.githubusercontent.com/u/92585?v=4","gravatar_id":"","url":"https://api.github.com/users/easternbloc","html_url":"https://github.com/easternbloc","followers_url":"https://api.github.com/users/easternbloc/followers","following_url":"https://api.github.com/users/easternbloc/following{/other_user}","gists_url":"https://api.github.com/users/easternbloc/gists{/gist_id}","starred_url":"https://api.github.com/users/easternbloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easternbloc/subscriptions","organizations_url":"https://api.github.com/users/easternbloc/orgs","repos_url":"https://api.github.com/users/easternbloc/repos","events_url":"https://api.github.com/users/easternbloc/events{/privacy}","received_events_url":"https://api.github.com/users/easternbloc/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/UKHomeOffice/lev-web/pulls/325/commits","review_comments_url":"https://api.github.com/repos/UKHomeOffice/lev-web/pulls/325/comments","review_comment_url":"https://api.github.com/repos/UKHomeOffice/lev-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UKHomeOffice/lev-web/issues/325/comments","statuses_url":"https://api.github.com/repos/UKHomeOffice/lev-web/statuses/c92d9ca0bf6880749112b7db271bbb7d5657167d","head":{"label":"UKHomeOffice:LEVWEB-879_promote-to-UAT-after-Dev-deploy","ref":"LEVWEB-879_promote-to-UAT-after-Dev-deploy","sha":"c92d9ca0bf6880749112b7db271bbb7d5657167d","user":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars2.githubusercontent.com/u/3778081?v=4","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"repo":{"id":46924261,"name":"lev-web","full_name":"UKHomeOffice/lev-web","owner":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars2.githubusercontent.com/u/3778081?v=4","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UKHomeOffice/lev-web","description":null,"fork":false,"url":"https://api.github.com/repos/UKHomeOffice/lev-web","forks_url":"https://api.github.com/repos/UKHomeOffice/lev-web/forks","keys_url":"https://api.github.com/repos/UKHomeOffice/lev-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UKHomeOffice/lev-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UKHomeOffice/lev-web/teams","hooks_url":"https://api.github.com/repos/UKHomeOffice/lev-web/hooks","issue_events_url":"https://api.github.com/repos/UKHomeOffice/lev-web/issues/events{/number}","events_url":"https://api.github.com/repos/UKHomeOffice/lev-web/events","assignees_url":"https://api.github.com/repos/UKHomeOffice/lev-web/assignees{/user}","branches_url":"https://api.github.com/repos/UKHomeOffice/lev-web/branches{/branch}","tags_url":"https://api.github.com/repos/UKHomeOffice/lev-web/tags","blobs_url":"https://api.github.com/repos/UKHomeOffice/lev-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UKHomeOffice/lev-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UKHomeOffice/lev-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/UKHomeOffice/lev-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UKHomeOffice/lev-web/statuses/{sha}","languages_url":"https://api.github.com/repos/UKHomeOffice/lev-web/languages","stargazers_url":"https://api.github.com/repos/UKHomeOffice/lev-web/stargazers","contributors_url":"https://api.github.com/repos/UKHomeOffice/lev-web/contributors","subscribers_url":"https://api.github.com/repos/UKHomeOffice/lev-web/subscribers","subscription_url":"https://api.github.com/repos/UKHomeOffice/lev-web/subscription","commits_url":"https://api.github.com/repos/UKHomeOffice/lev-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/UKHomeOffice/lev-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/UKHomeOffice/lev-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/UKHomeOffice/lev-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/UKHomeOffice/lev-web/contents/{+path}","compare_url":"https://api.github.com/repos/UKHomeOffice/lev-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UKHomeOffice/lev-web/merges","archive_url":"https://api.github.com/repos/UKHomeOffice/lev-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UKHomeOffice/lev-web/downloads","issues_url":"https://api.github.com/repos/UKHomeOffice/lev-web/issues{/number}","pulls_url":"https://api.github.com/repos/UKHomeOffice/lev-web/pulls{/number}","milestones_url":"https://api.github.com/repos/UKHomeOffice/lev-web/milestones{/number}","notifications_url":"https://api.github.com/repos/UKHomeOffice/lev-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UKHomeOffice/lev-web/labels{/name}","releases_url":"https://api.github.com/repos/UKHomeOffice/lev-web/releases{/id}","deployments_url":"https://api.github.com/repos/UKHomeOffice/lev-web/deployments","created_at":"2015-11-26T11:59:34Z","updated_at":"2017-07-10T17:59:22Z","pushed_at":"2018-02-05T15:26:50Z","git_url":"git://github.com/UKHomeOffice/lev-web.git","ssh_url":"git@github.com:UKHomeOffice/lev-web.git","clone_url":"https://github.com/UKHomeOffice/lev-web.git","svn_url":"https://github.com/UKHomeOffice/lev-web","homepage":null,"size":745,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":3,"open_issues":16,"watchers":2,"default_branch":"master"}},"base":{"label":"UKHomeOffice:master","ref":"master","sha":"c72a2def5492b1309b670bd062919ba52045c636","user":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars2.githubusercontent.com/u/3778081?v=4","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"repo":{"id":46924261,"name":"lev-web","full_name":"UKHomeOffice/lev-web","owner":{"login":"UKHomeOffice","id":3778081,"avatar_url":"https://avatars2.githubusercontent.com/u/3778081?v=4","gravatar_id":"","url":"https://api.github.com/users/UKHomeOffice","html_url":"https://github.com/UKHomeOffice","followers_url":"https://api.github.com/users/UKHomeOffice/followers","following_url":"https://api.github.com/users/UKHomeOffice/following{/other_user}","gists_url":"https://api.github.com/users/UKHomeOffice/gists{/gist_id}","starred_url":"https://api.github.com/users/UKHomeOffice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UKHomeOffice/subscriptions","organizations_url":"https://api.github.com/users/UKHomeOffice/orgs","repos_url":"https://api.github.com/users/UKHomeOffice/repos","events_url":"https://api.github.com/users/UKHomeOffice/events{/privacy}","received_events_url":"https://api.github.com/users/UKHomeOffice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UKHomeOffice/lev-web","description":null,"fork":false,"url":"https://api.github.com/repos/UKHomeOffice/lev-web","forks_url":"https://api.github.com/repos/UKHomeOffice/lev-web/forks","keys_url":"https://api.github.com/repos/UKHomeOffice/lev-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UKHomeOffice/lev-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UKHomeOffice/lev-web/teams","hooks_url":"https://api.github.com/repos/UKHomeOffice/lev-web/hooks","issue_events_url":"https://api.github.com/repos/UKHomeOffice/lev-web/issues/events{/number}","events_url":"https://api.github.com/repos/UKHomeOffice/lev-web/events","assignees_url":"https://api.github.com/repos/UKHomeOffice/lev-web/assignees{/user}","branches_url":"https://api.github.com/repos/UKHomeOffice/lev-web/branches{/branch}","tags_url":"https://api.github.com/repos/UKHomeOffice/lev-web/tags","blobs_url":"https://api.github.com/repos/UKHomeOffice/lev-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UKHomeOffice/lev-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UKHomeOffice/lev-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/UKHomeOffice/lev-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UKHomeOffice/lev-web/statuses/{sha}","languages_url":"https://api.github.com/repos/UKHomeOffice/lev-web/languages","stargazers_url":"https://api.github.com/repos/UKHomeOffice/lev-web/stargazers","contributors_url":"https://api.github.com/repos/UKHomeOffice/lev-web/contributors","subscribers_url":"https://api.github.com/repos/UKHomeOffice/lev-web/subscribers","subscription_url":"https://api.github.com/repos/UKHomeOffice/lev-web/subscription","commits_url":"https://api.github.com/repos/UKHomeOffice/lev-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/UKHomeOffice/lev-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/UKHomeOffice/lev-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/UKHomeOffice/lev-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/UKHomeOffice/lev-web/contents/{+path}","compare_url":"https://api.github.com/repos/UKHomeOffice/lev-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UKHomeOffice/lev-web/merges","archive_url":"https://api.github.com/repos/UKHomeOffice/lev-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UKHomeOffice/lev-web/downloads","issues_url":"https://api.github.com/repos/UKHomeOffice/lev-web/issues{/number}","pulls_url":"https://api.github.com/repos/UKHomeOffice/lev-web/pulls{/number}","milestones_url":"https://api.github.com/repos/UKHomeOffice/lev-web/milestones{/number}","notifications_url":"https://api.github.com/repos/UKHomeOffice/lev-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UKHomeOffice/lev-web/labels{/name}","releases_url":"https://api.github.com/repos/UKHomeOffice/lev-web/releases{/id}","deployments_url":"https://api.github.com/repos/UKHomeOffice/lev-web/deployments","created_at":"2015-11-26T11:59:34Z","updated_at":"2017-07-10T17:59:22Z","pushed_at":"2018-02-05T15:26:50Z","git_url":"git://github.com/UKHomeOffice/lev-web.git","ssh_url":"git@github.com:UKHomeOffice/lev-web.git","clone_url":"https://github.com/UKHomeOffice/lev-web.git","svn_url":"https://github.com/UKHomeOffice/lev-web","homepage":null,"size":745,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":3,"open_issues":16,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UKHomeOffice/lev-web/pulls/325"},"html":{"href":"https://github.com/UKHomeOffice/lev-web/pull/325"},"issue":{"href":"https://api.github.com/repos/UKHomeOffice/lev-web/issues/325"},"comments":{"href":"https://api.github.com/repos/UKHomeOffice/lev-web/issues/325/comments"},"review_comments":{"href":"https://api.github.com/repos/UKHomeOffice/lev-web/pulls/325/comments"},"review_comment":{"href":"https://api.github.com/repos/UKHomeOffice/lev-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UKHomeOffice/lev-web/pulls/325/commits"},"statuses":{"href":"https://api.github.com/repos/UKHomeOffice/lev-web/statuses/c92d9ca0bf6880749112b7db271bbb7d5657167d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"daniel-ac-martin"}}