{"action":"created","comment":{"url":"https://api.github.com/repos/okta/okta.github.io/pulls/comments/227139608","pull_request_review_id":167111216,"id":227139608,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzEzOTYwOA==","diff_hunk":"@@ -0,0 +1,56 @@\n+#!/usr/bin/env bash \n+# See https://bit.ly/2xsgk47 for details\n+\n+# Strict\n+set -o errexit -o pipefail\n+\n+# Constants\n+readonly branch=$(git rev-parse --abbrev-ref HEAD)\n+readonly url=https://bit.ly/2z4dsuv\n+readonly file=event-types.json\n+readonly dir=_source/_data\n+\n+main() {\n+    event-types-check\n+    echo\n+    event-types-download\n+    echo\n+    event-types-update\n+    echo\n+    event-types-diff\n+}\n+\n+event-types-check() {\n+    local -r target=weekly\n+\n+    banner \"Checking branch...\"\n+    echo \"Current branch is $branch\"\n+    [[ \"$branch\" == \"$target\" ]] || die \"Current banch must be $target. Aborting...\\n\"","path":"scripts/update-event-types.sh","position":null,"original_position":28,"commit_id":"ed886e1565c48e51305c2bec6d14dea7c893cc88","original_commit_id":"6d057e2fd42392d2a5f60a04e70f2246456bff95","user":{"login":"jakubvul","id":4551905,"node_id":"MDQ6VXNlcjQ1NTE5MDU=","avatar_url":"https://avatars3.githubusercontent.com/u/4551905?v=4","gravatar_id":"","url":"https://api.github.com/users/jakubvul","html_url":"https://github.com/jakubvul","followers_url":"https://api.github.com/users/jakubvul/followers","following_url":"https://api.github.com/users/jakubvul/following{/other_user}","gists_url":"https://api.github.com/users/jakubvul/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubvul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubvul/subscriptions","organizations_url":"https://api.github.com/users/jakubvul/orgs","repos_url":"https://api.github.com/users/jakubvul/repos","events_url":"https://api.github.com/users/jakubvul/events{/privacy}","received_events_url":"https://api.github.com/users/jakubvul/received_events","type":"User","site_admin":false},"body":"\"banch\" -> \"branch\"","created_at":"2018-10-22T21:10:03Z","updated_at":"2018-10-22T21:30:43Z","html_url":"https://github.com/okta/okta.github.io/pull/2413#discussion_r227139608","pull_request_url":"https://api.github.com/repos/okta/okta.github.io/pulls/2413","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/comments/227139608"},"html":{"href":"https://github.com/okta/okta.github.io/pull/2413#discussion_r227139608"},"pull_request":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/2413"}}},"pull_request":{"url":"https://api.github.com/repos/okta/okta.github.io/pulls/2413","id":224797055,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0Nzk3MDU1","html_url":"https://github.com/okta/okta.github.io/pull/2413","diff_url":"https://github.com/okta/okta.github.io/pull/2413.diff","patch_url":"https://github.com/okta/okta.github.io/pull/2413.patch","issue_url":"https://api.github.com/repos/okta/okta.github.io/issues/2413","number":2413,"state":"open","locked":false,"title":"OKTA-194188: Adds npm script to update event-types.json","user":{"login":"bobtiernay-okta","id":25536705,"node_id":"MDQ6VXNlcjI1NTM2NzA1","avatar_url":"https://avatars1.githubusercontent.com/u/25536705?v=4","gravatar_id":"","url":"https://api.github.com/users/bobtiernay-okta","html_url":"https://github.com/bobtiernay-okta","followers_url":"https://api.github.com/users/bobtiernay-okta/followers","following_url":"https://api.github.com/users/bobtiernay-okta/following{/other_user}","gists_url":"https://api.github.com/users/bobtiernay-okta/gists{/gist_id}","starred_url":"https://api.github.com/users/bobtiernay-okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobtiernay-okta/subscriptions","organizations_url":"https://api.github.com/users/bobtiernay-okta/orgs","repos_url":"https://api.github.com/users/bobtiernay-okta/repos","events_url":"https://api.github.com/users/bobtiernay-okta/events{/privacy}","received_events_url":"https://api.github.com/users/bobtiernay-okta/received_events","type":"User","site_admin":false},"body":"## Description:\r\n\r\nAdds npm script to update `event-types.json`. See linked JIRA ticket for details.\r\n\r\n## Script\r\n```bash\r\nnpm run update-event-types\r\n```\r\n```\r\n> @okta/okta.github.io@0.0.4 update-event-types /Users/btiernay/Workspaces/okta/okta.github.io\r\n> bash scripts/update-event-types.sh\r\n\r\n----------------------------------------------------------------------------------------------------\r\nDownloading jar from https://bit.ly/2z4dsuv...\r\n----------------------------------------------------------------------------------------------------\r\n--2018-10-22 16:03:26--  https://bit.ly/2z4dsuv\r\nResolving bit.ly... 67.199.248.11, 67.199.248.10\r\nConnecting to bit.ly|67.199.248.11|:443... connected.\r\nHTTP request sent, awaiting response... 301 Moved Permanently\r\nLocation: https://...\r\nWarning: wildcards not supported in HTTP.\r\n--2018-10-22 16:03:26--  https://...\r\nLength: 52679 (51K) [application/java-archive]\r\nSaving to: ‘STDOUT’\r\n\r\n-                                            100%[============================================================================================>]  51.44K   324KB/s    in 0.2s\r\n\r\n2018-10-22 16:03:27 (324 KB/s) - written to stdout [52679/52679]\r\n\r\n----------------------------------------------------------------------------------------------------\r\nUpdating event-types.json...\r\n----------------------------------------------------------------------------------------------------\r\nmoving event-types.json to _source/_data\r\n\r\n----------------------------------------------------------------------------------------------------\r\nShowing differences in event-types.json...\r\n----------------------------------------------------------------------------------------------------\r\ndiff --git a/_source/_data/event-types.json b/_source/_data/event-types.json\r\nindex 79e4c9391..1e03ec67a 100644\r\n--- a/_source/_data/event-types.json\r\n+++ b/_source/_data/event-types.json\r\n@@ -2492,6 +2492,12 @@\r\n       \"description\" : \"Import removed existing User.\",\r\n       \"tags\" : [ \"app\" ],\r\n       \"mappings\" : [ \"system.import.user.delete\" ]\r\n+    }, {\r\n+      \"id\" : \"app.generic.import.details.match_user\",\r\n+      \"category\" : \"sync\",\r\n+      \"description\" : \"Import link new User using callback.\",\r\n+      \"tags\" : [ \"app\" ],\r\n+      \"mappings\" : [ \"system.import.user.match\" ]\r\n...\r\n```\r\n\r\n### Resolves:\r\n\r\n* [OKTA-194188](https://oktainc.atlassian.net/browse/OKTA-194188)\r\n\r\n","created_at":"2018-10-22T20:04:57Z","updated_at":"2018-10-22T21:30:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"69c40b6c9785fdad5d2ba5ceff37f0aee9656f96","assignee":null,"assignees":[],"requested_reviewers":[{"login":"bdemers","id":99954,"node_id":"MDQ6VXNlcjk5OTU0","avatar_url":"https://avatars2.githubusercontent.com/u/99954?v=4","gravatar_id":"","url":"https://api.github.com/users/bdemers","html_url":"https://github.com/bdemers","followers_url":"https://api.github.com/users/bdemers/followers","following_url":"https://api.github.com/users/bdemers/following{/other_user}","gists_url":"https://api.github.com/users/bdemers/gists{/gist_id}","starred_url":"https://api.github.com/users/bdemers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdemers/subscriptions","organizations_url":"https://api.github.com/users/bdemers/orgs","repos_url":"https://api.github.com/users/bdemers/repos","events_url":"https://api.github.com/users/bdemers/events{/privacy}","received_events_url":"https://api.github.com/users/bdemers/received_events","type":"User","site_admin":false},{"login":"jakubvul-okta","id":26014374,"node_id":"MDQ6VXNlcjI2MDE0Mzc0","avatar_url":"https://avatars0.githubusercontent.com/u/26014374?v=4","gravatar_id":"","url":"https://api.github.com/users/jakubvul-okta","html_url":"https://github.com/jakubvul-okta","followers_url":"https://api.github.com/users/jakubvul-okta/followers","following_url":"https://api.github.com/users/jakubvul-okta/following{/other_user}","gists_url":"https://api.github.com/users/jakubvul-okta/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubvul-okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubvul-okta/subscriptions","organizations_url":"https://api.github.com/users/jakubvul-okta/orgs","repos_url":"https://api.github.com/users/jakubvul-okta/repos","events_url":"https://api.github.com/users/jakubvul-okta/events{/privacy}","received_events_url":"https://api.github.com/users/jakubvul-okta/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/okta/okta.github.io/pulls/2413/commits","review_comments_url":"https://api.github.com/repos/okta/okta.github.io/pulls/2413/comments","review_comment_url":"https://api.github.com/repos/okta/okta.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/okta/okta.github.io/issues/2413/comments","statuses_url":"https://api.github.com/repos/okta/okta.github.io/statuses/ed886e1565c48e51305c2bec6d14dea7c893cc88","head":{"label":"okta:bt-OKTA-194188-add-npm-run-script-to-improve-event-type-documentation-workflow","ref":"bt-OKTA-194188-add-npm-run-script-to-improve-event-type-documentation-workflow","sha":"ed886e1565c48e51305c2bec6d14dea7c893cc88","user":{"login":"okta","id":362460,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MjQ2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/362460?v=4","gravatar_id":"","url":"https://api.github.com/users/okta","html_url":"https://github.com/okta","followers_url":"https://api.github.com/users/okta/followers","following_url":"https://api.github.com/users/okta/following{/other_user}","gists_url":"https://api.github.com/users/okta/gists{/gist_id}","starred_url":"https://api.github.com/users/okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okta/subscriptions","organizations_url":"https://api.github.com/users/okta/orgs","repos_url":"https://api.github.com/users/okta/repos","events_url":"https://api.github.com/users/okta/events{/privacy}","received_events_url":"https://api.github.com/users/okta/received_events","type":"Organization","site_admin":false},"repo":{"id":10953058,"node_id":"MDEwOlJlcG9zaXRvcnkxMDk1MzA1OA==","name":"okta.github.io","full_name":"okta/okta.github.io","private":false,"owner":{"login":"okta","id":362460,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MjQ2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/362460?v=4","gravatar_id":"","url":"https://api.github.com/users/okta","html_url":"https://github.com/okta","followers_url":"https://api.github.com/users/okta/followers","following_url":"https://api.github.com/users/okta/following{/other_user}","gists_url":"https://api.github.com/users/okta/gists{/gist_id}","starred_url":"https://api.github.com/users/okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okta/subscriptions","organizations_url":"https://api.github.com/users/okta/orgs","repos_url":"https://api.github.com/users/okta/repos","events_url":"https://api.github.com/users/okta/events{/privacy}","received_events_url":"https://api.github.com/users/okta/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/okta/okta.github.io","description":"Okta Identity Platform API Docs and Developer Home","fork":false,"url":"https://api.github.com/repos/okta/okta.github.io","forks_url":"https://api.github.com/repos/okta/okta.github.io/forks","keys_url":"https://api.github.com/repos/okta/okta.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okta/okta.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okta/okta.github.io/teams","hooks_url":"https://api.github.com/repos/okta/okta.github.io/hooks","issue_events_url":"https://api.github.com/repos/okta/okta.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/okta/okta.github.io/events","assignees_url":"https://api.github.com/repos/okta/okta.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/okta/okta.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/okta/okta.github.io/tags","blobs_url":"https://api.github.com/repos/okta/okta.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okta/okta.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okta/okta.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/okta/okta.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okta/okta.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/okta/okta.github.io/languages","stargazers_url":"https://api.github.com/repos/okta/okta.github.io/stargazers","contributors_url":"https://api.github.com/repos/okta/okta.github.io/contributors","subscribers_url":"https://api.github.com/repos/okta/okta.github.io/subscribers","subscription_url":"https://api.github.com/repos/okta/okta.github.io/subscription","commits_url":"https://api.github.com/repos/okta/okta.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/okta/okta.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/okta/okta.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/okta/okta.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/okta/okta.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/okta/okta.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okta/okta.github.io/merges","archive_url":"https://api.github.com/repos/okta/okta.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okta/okta.github.io/downloads","issues_url":"https://api.github.com/repos/okta/okta.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/okta/okta.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/okta/okta.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/okta/okta.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okta/okta.github.io/labels{/name}","releases_url":"https://api.github.com/repos/okta/okta.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/okta/okta.github.io/deployments","created_at":"2013-06-25T23:22:38Z","updated_at":"2018-10-22T16:55:28Z","pushed_at":"2018-10-22T21:14:43Z","git_url":"git://github.com/okta/okta.github.io.git","ssh_url":"git@github.com:okta/okta.github.io.git","clone_url":"https://github.com/okta/okta.github.io.git","svn_url":"https://github.com/okta/okta.github.io","homepage":"http://developer.okta.com/","size":466933,"stargazers_count":54,"watchers_count":54,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":139,"mirror_url":null,"archived":false,"open_issues_count":55,"license":null,"forks":139,"open_issues":55,"watchers":54,"default_branch":"source"}},"base":{"label":"okta:source","ref":"source","sha":"7cc057ada59d17c44d29a6e2a5487da6bccabffe","user":{"login":"okta","id":362460,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MjQ2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/362460?v=4","gravatar_id":"","url":"https://api.github.com/users/okta","html_url":"https://github.com/okta","followers_url":"https://api.github.com/users/okta/followers","following_url":"https://api.github.com/users/okta/following{/other_user}","gists_url":"https://api.github.com/users/okta/gists{/gist_id}","starred_url":"https://api.github.com/users/okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okta/subscriptions","organizations_url":"https://api.github.com/users/okta/orgs","repos_url":"https://api.github.com/users/okta/repos","events_url":"https://api.github.com/users/okta/events{/privacy}","received_events_url":"https://api.github.com/users/okta/received_events","type":"Organization","site_admin":false},"repo":{"id":10953058,"node_id":"MDEwOlJlcG9zaXRvcnkxMDk1MzA1OA==","name":"okta.github.io","full_name":"okta/okta.github.io","private":false,"owner":{"login":"okta","id":362460,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MjQ2MA==","avatar_url":"https://avatars1.githubusercontent.com/u/362460?v=4","gravatar_id":"","url":"https://api.github.com/users/okta","html_url":"https://github.com/okta","followers_url":"https://api.github.com/users/okta/followers","following_url":"https://api.github.com/users/okta/following{/other_user}","gists_url":"https://api.github.com/users/okta/gists{/gist_id}","starred_url":"https://api.github.com/users/okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okta/subscriptions","organizations_url":"https://api.github.com/users/okta/orgs","repos_url":"https://api.github.com/users/okta/repos","events_url":"https://api.github.com/users/okta/events{/privacy}","received_events_url":"https://api.github.com/users/okta/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/okta/okta.github.io","description":"Okta Identity Platform API Docs and Developer Home","fork":false,"url":"https://api.github.com/repos/okta/okta.github.io","forks_url":"https://api.github.com/repos/okta/okta.github.io/forks","keys_url":"https://api.github.com/repos/okta/okta.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okta/okta.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okta/okta.github.io/teams","hooks_url":"https://api.github.com/repos/okta/okta.github.io/hooks","issue_events_url":"https://api.github.com/repos/okta/okta.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/okta/okta.github.io/events","assignees_url":"https://api.github.com/repos/okta/okta.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/okta/okta.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/okta/okta.github.io/tags","blobs_url":"https://api.github.com/repos/okta/okta.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okta/okta.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okta/okta.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/okta/okta.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okta/okta.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/okta/okta.github.io/languages","stargazers_url":"https://api.github.com/repos/okta/okta.github.io/stargazers","contributors_url":"https://api.github.com/repos/okta/okta.github.io/contributors","subscribers_url":"https://api.github.com/repos/okta/okta.github.io/subscribers","subscription_url":"https://api.github.com/repos/okta/okta.github.io/subscription","commits_url":"https://api.github.com/repos/okta/okta.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/okta/okta.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/okta/okta.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/okta/okta.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/okta/okta.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/okta/okta.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okta/okta.github.io/merges","archive_url":"https://api.github.com/repos/okta/okta.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okta/okta.github.io/downloads","issues_url":"https://api.github.com/repos/okta/okta.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/okta/okta.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/okta/okta.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/okta/okta.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okta/okta.github.io/labels{/name}","releases_url":"https://api.github.com/repos/okta/okta.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/okta/okta.github.io/deployments","created_at":"2013-06-25T23:22:38Z","updated_at":"2018-10-22T16:55:28Z","pushed_at":"2018-10-22T21:14:43Z","git_url":"git://github.com/okta/okta.github.io.git","ssh_url":"git@github.com:okta/okta.github.io.git","clone_url":"https://github.com/okta/okta.github.io.git","svn_url":"https://github.com/okta/okta.github.io","homepage":"http://developer.okta.com/","size":466933,"stargazers_count":54,"watchers_count":54,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":139,"mirror_url":null,"archived":false,"open_issues_count":55,"license":null,"forks":139,"open_issues":55,"watchers":54,"default_branch":"source"}},"_links":{"self":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/2413"},"html":{"href":"https://github.com/okta/okta.github.io/pull/2413"},"issue":{"href":"https://api.github.com/repos/okta/okta.github.io/issues/2413"},"comments":{"href":"https://api.github.com/repos/okta/okta.github.io/issues/2413/comments"},"review_comments":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/2413/comments"},"review_comment":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/okta/okta.github.io/pulls/2413/commits"},"statuses":{"href":"https://api.github.com/repos/okta/okta.github.io/statuses/ed886e1565c48e51305c2bec6d14dea7c893cc88"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jakubvul"}}