{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/pulls/2","id":240827011,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwODI3MDEx","html_url":"https://github.com/zestairlike/getting-started-github-apps/pull/2","diff_url":"https://github.com/zestairlike/getting-started-github-apps/pull/2.diff","patch_url":"https://github.com/zestairlike/getting-started-github-apps/pull/2.patch","issue_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/issues/2","number":2,"state":"closed","locked":false,"title":"Trigger the app","user":{"login":"github-learning-lab[bot]","id":37936606,"node_id":"MDM6Qm90Mzc5MzY2MDY=","avatar_url":"https://avatars0.githubusercontent.com/in/10572?v=4","gravatar_id":"","url":"https://api.github.com/users/github-learning-lab%5Bbot%5D","html_url":"https://github.com/apps/github-learning-lab","followers_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/followers","following_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/repos","events_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/github-learning-lab%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"## Triggering GitHub Apps\n\nActions that a person or tool takes on GitHub can be used to trigger events. Creating an issue, making a commit, or leaving a comment, to name a few, are logged on GitHub. If GitHub doesn't use it, it can still be useful to other applications.\n\nWhen you install an app, you give the app permission to receive some of this data from GitHub. That data allows the apps to react in ways that are useful to you. You can also allow the app to send information back, or change information completely.\n\nIt's important to mention that GitHub Apps are not people. You can't interact with them by doing things like using an @mention, or assigning them to review your work. On the other hand, they can do things that humans can't - like crunch big data, piece together networks of information and find bugs or errors that people wouldn't.\n\n## App components\n\nAn app is like a home security system. It's equipped to watch your house at all times, but only notifies you for specific criteria.\tWhen you install a home security system, you need to worry about a few components:\n\n- **Electricity** to have the power to run continuously. You don't want failure when you aren't watching.\n- **Standard behaviors** to detect things like movement, noise, and doors opening. You don't want to have to program it to understand these actions -- you want to select how it responds to them.\n- A **location** that will be watched.\n- A **notification delivery service** -- either to your phone, a dedicated security service, or both.\n\nJust like a home security system, a GitHub App only watches for specific actions, and then responds in predetermined ways.\n\n## Step 2: Trigger the WIP app\n\n**WIP** is a common abbreviation to mean **work in progress**.\n\nThe app you've just installed is concerned with one action: changing the title of a pull request. Let's test it out and see what the result is by updating the title of this pull request.\n\n### :keyboard: Activity: Test the app by editing the pull request title\n\n1. To the right of the pull request title, click the **Edit** button\n1. Add `WIP` to the beginning of the title\n1. Click **Save**\n\n<hr>\n<h3 align=\"center\">After changing the title, look for my response in this pull request</h3>\n","created_at":"2018-12-25T03:25:15Z","updated_at":"2018-12-25T04:00:14Z","closed_at":"2018-12-25T04:00:13Z","merged_at":"2018-12-25T04:00:13Z","merge_commit_sha":"21a37d2f9170969564cad902393a000402a120e9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/pulls/2/commits","review_comments_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/pulls/2/comments","review_comment_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/issues/2/comments","statuses_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/statuses/b2b2943a24a9668868d7dc809bf54d018406bcc5","head":{"label":"zestairlike:add-to-list","ref":"add-to-list","sha":"b2b2943a24a9668868d7dc809bf54d018406bcc5","user":{"login":"zestairlike","id":45736764,"node_id":"MDQ6VXNlcjQ1NzM2NzY0","avatar_url":"https://avatars1.githubusercontent.com/u/45736764?v=4","gravatar_id":"","url":"https://api.github.com/users/zestairlike","html_url":"https://github.com/zestairlike","followers_url":"https://api.github.com/users/zestairlike/followers","following_url":"https://api.github.com/users/zestairlike/following{/other_user}","gists_url":"https://api.github.com/users/zestairlike/gists{/gist_id}","starred_url":"https://api.github.com/users/zestairlike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestairlike/subscriptions","organizations_url":"https://api.github.com/users/zestairlike/orgs","repos_url":"https://api.github.com/users/zestairlike/repos","events_url":"https://api.github.com/users/zestairlike/events{/privacy}","received_events_url":"https://api.github.com/users/zestairlike/received_events","type":"User","site_admin":false},"repo":{"id":163041231,"node_id":"MDEwOlJlcG9zaXRvcnkxNjMwNDEyMzE=","name":"getting-started-github-apps","full_name":"zestairlike/getting-started-github-apps","private":false,"owner":{"login":"zestairlike","id":45736764,"node_id":"MDQ6VXNlcjQ1NzM2NzY0","avatar_url":"https://avatars1.githubusercontent.com/u/45736764?v=4","gravatar_id":"","url":"https://api.github.com/users/zestairlike","html_url":"https://github.com/zestairlike","followers_url":"https://api.github.com/users/zestairlike/followers","following_url":"https://api.github.com/users/zestairlike/following{/other_user}","gists_url":"https://api.github.com/users/zestairlike/gists{/gist_id}","starred_url":"https://api.github.com/users/zestairlike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestairlike/subscriptions","organizations_url":"https://api.github.com/users/zestairlike/orgs","repos_url":"https://api.github.com/users/zestairlike/repos","events_url":"https://api.github.com/users/zestairlike/events{/privacy}","received_events_url":"https://api.github.com/users/zestairlike/received_events","type":"User","site_admin":false},"html_url":"https://github.com/zestairlike/getting-started-github-apps","description":null,"fork":false,"url":"https://api.github.com/repos/zestairlike/getting-started-github-apps","forks_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/forks","keys_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/teams","hooks_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/hooks","issue_events_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/issues/events{/number}","events_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/events","assignees_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/assignees{/user}","branches_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/branches{/branch}","tags_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/tags","blobs_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/statuses/{sha}","languages_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/languages","stargazers_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/stargazers","contributors_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/contributors","subscribers_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/subscribers","subscription_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/subscription","commits_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/contents/{+path}","compare_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/merges","archive_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/downloads","issues_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/issues{/number}","pulls_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/pulls{/number}","milestones_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/milestones{/number}","notifications_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/labels{/name}","releases_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/releases{/id}","deployments_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/deployments","created_at":"2018-12-25T03:11:29Z","updated_at":"2018-12-25T03:11:36Z","pushed_at":"2018-12-25T04:00:13Z","git_url":"git://github.com/zestairlike/getting-started-github-apps.git","ssh_url":"git@github.com:zestairlike/getting-started-github-apps.git","clone_url":"https://github.com/zestairlike/getting-started-github-apps.git","svn_url":"https://github.com/zestairlike/getting-started-github-apps","homepage":"https://lab.github.com/githubtraining/getting-started-with-github-apps","size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zestairlike:master","ref":"master","sha":"c52989e058c706c743ae00cd21b57cb0ba160634","user":{"login":"zestairlike","id":45736764,"node_id":"MDQ6VXNlcjQ1NzM2NzY0","avatar_url":"https://avatars1.githubusercontent.com/u/45736764?v=4","gravatar_id":"","url":"https://api.github.com/users/zestairlike","html_url":"https://github.com/zestairlike","followers_url":"https://api.github.com/users/zestairlike/followers","following_url":"https://api.github.com/users/zestairlike/following{/other_user}","gists_url":"https://api.github.com/users/zestairlike/gists{/gist_id}","starred_url":"https://api.github.com/users/zestairlike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestairlike/subscriptions","organizations_url":"https://api.github.com/users/zestairlike/orgs","repos_url":"https://api.github.com/users/zestairlike/repos","events_url":"https://api.github.com/users/zestairlike/events{/privacy}","received_events_url":"https://api.github.com/users/zestairlike/received_events","type":"User","site_admin":false},"repo":{"id":163041231,"node_id":"MDEwOlJlcG9zaXRvcnkxNjMwNDEyMzE=","name":"getting-started-github-apps","full_name":"zestairlike/getting-started-github-apps","private":false,"owner":{"login":"zestairlike","id":45736764,"node_id":"MDQ6VXNlcjQ1NzM2NzY0","avatar_url":"https://avatars1.githubusercontent.com/u/45736764?v=4","gravatar_id":"","url":"https://api.github.com/users/zestairlike","html_url":"https://github.com/zestairlike","followers_url":"https://api.github.com/users/zestairlike/followers","following_url":"https://api.github.com/users/zestairlike/following{/other_user}","gists_url":"https://api.github.com/users/zestairlike/gists{/gist_id}","starred_url":"https://api.github.com/users/zestairlike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestairlike/subscriptions","organizations_url":"https://api.github.com/users/zestairlike/orgs","repos_url":"https://api.github.com/users/zestairlike/repos","events_url":"https://api.github.com/users/zestairlike/events{/privacy}","received_events_url":"https://api.github.com/users/zestairlike/received_events","type":"User","site_admin":false},"html_url":"https://github.com/zestairlike/getting-started-github-apps","description":null,"fork":false,"url":"https://api.github.com/repos/zestairlike/getting-started-github-apps","forks_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/forks","keys_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/teams","hooks_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/hooks","issue_events_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/issues/events{/number}","events_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/events","assignees_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/assignees{/user}","branches_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/branches{/branch}","tags_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/tags","blobs_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/statuses/{sha}","languages_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/languages","stargazers_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/stargazers","contributors_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/contributors","subscribers_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/subscribers","subscription_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/subscription","commits_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/contents/{+path}","compare_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/merges","archive_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/downloads","issues_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/issues{/number}","pulls_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/pulls{/number}","milestones_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/milestones{/number}","notifications_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/labels{/name}","releases_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/releases{/id}","deployments_url":"https://api.github.com/repos/zestairlike/getting-started-github-apps/deployments","created_at":"2018-12-25T03:11:29Z","updated_at":"2018-12-25T03:11:36Z","pushed_at":"2018-12-25T04:00:13Z","git_url":"git://github.com/zestairlike/getting-started-github-apps.git","ssh_url":"git@github.com:zestairlike/getting-started-github-apps.git","clone_url":"https://github.com/zestairlike/getting-started-github-apps.git","svn_url":"https://github.com/zestairlike/getting-started-github-apps","homepage":"https://lab.github.com/githubtraining/getting-started-with-github-apps","size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zestairlike/getting-started-github-apps/pulls/2"},"html":{"href":"https://github.com/zestairlike/getting-started-github-apps/pull/2"},"issue":{"href":"https://api.github.com/repos/zestairlike/getting-started-github-apps/issues/2"},"comments":{"href":"https://api.github.com/repos/zestairlike/getting-started-github-apps/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/zestairlike/getting-started-github-apps/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/zestairlike/getting-started-github-apps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zestairlike/getting-started-github-apps/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/zestairlike/getting-started-github-apps/statuses/b2b2943a24a9668868d7dc809bf54d018406bcc5"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"zestairlike","id":45736764,"node_id":"MDQ6VXNlcjQ1NzM2NzY0","avatar_url":"https://avatars1.githubusercontent.com/u/45736764?v=4","gravatar_id":"","url":"https://api.github.com/users/zestairlike","html_url":"https://github.com/zestairlike","followers_url":"https://api.github.com/users/zestairlike/followers","following_url":"https://api.github.com/users/zestairlike/following{/other_user}","gists_url":"https://api.github.com/users/zestairlike/gists{/gist_id}","starred_url":"https://api.github.com/users/zestairlike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestairlike/subscriptions","organizations_url":"https://api.github.com/users/zestairlike/orgs","repos_url":"https://api.github.com/users/zestairlike/repos","events_url":"https://api.github.com/users/zestairlike/events{/privacy}","received_events_url":"https://api.github.com/users/zestairlike/received_events","type":"User","site_admin":false},"comments":6,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":400,"deletions":400,"changed_files":1}}
{"actor":{"display_login":"zestairlike"}}