{"action":"created","comment":{"url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/comments/184818704","pull_request_review_id":116097712,"id":184818704,"diff_hunk":"@@ -48,6 +48,10 @@ jobs:\n \n In this example, the job `main` will be triggered if there are any changes to files under `src/app/` or the `screwdriver.yaml` file (like on `src/app/main.js`, `src/app/package.json`, etc.). The `main` job will **not**, however, be triggered on changes to `README.md`, `test/`, or `src/other/`.\n \n+### Matched source path\n+\n+Screwdriver will expose the matched souce path in an environment variable `SD_SOURCE_PATH`. This can be used to write scripts which depends on the source path that triggered the build.","path":"docs/user-guide/configuration/sourcePaths.md","position":null,"original_position":6,"commit_id":"35dd3ca39fab6d52513d1e266cda7fa386ce0fd7","original_commit_id":"4a6fd5d474a041f707b92b0083cbdb72fea98c13","user":{"login":"tkyi","id":3230529,"avatar_url":"https://avatars3.githubusercontent.com/u/3230529?v=4","gravatar_id":"","url":"https://api.github.com/users/tkyi","html_url":"https://github.com/tkyi","followers_url":"https://api.github.com/users/tkyi/followers","following_url":"https://api.github.com/users/tkyi/following{/other_user}","gists_url":"https://api.github.com/users/tkyi/gists{/gist_id}","starred_url":"https://api.github.com/users/tkyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkyi/subscriptions","organizations_url":"https://api.github.com/users/tkyi/orgs","repos_url":"https://api.github.com/users/tkyi/repos","events_url":"https://api.github.com/users/tkyi/events{/privacy}","received_events_url":"https://api.github.com/users/tkyi/received_events","type":"User","site_admin":false},"body":"Should it return *all* matches vs just the *first*?","created_at":"2018-04-27T22:15:46Z","updated_at":"2018-04-27T22:15:46Z","html_url":"https://github.com/screwdriver-cd/guide/pull/179#discussion_r184818704","pull_request_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/179","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/comments/184818704"},"html":{"href":"https://github.com/screwdriver-cd/guide/pull/179#discussion_r184818704"},"pull_request":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/179"}},"in_reply_to_id":184811512},"pull_request":{"url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/179","id":184707156,"html_url":"https://github.com/screwdriver-cd/guide/pull/179","diff_url":"https://github.com/screwdriver-cd/guide/pull/179.diff","patch_url":"https://github.com/screwdriver-cd/guide/pull/179.patch","issue_url":"https://api.github.com/repos/screwdriver-cd/guide/issues/179","number":179,"state":"open","locked":false,"title":"feat: document SD_SOURCE_PATH environment variable","user":{"login":"jithin1987","id":193126,"avatar_url":"https://avatars2.githubusercontent.com/u/193126?v=4","gravatar_id":"","url":"https://api.github.com/users/jithin1987","html_url":"https://github.com/jithin1987","followers_url":"https://api.github.com/users/jithin1987/followers","following_url":"https://api.github.com/users/jithin1987/following{/other_user}","gists_url":"https://api.github.com/users/jithin1987/gists{/gist_id}","starred_url":"https://api.github.com/users/jithin1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jithin1987/subscriptions","organizations_url":"https://api.github.com/users/jithin1987/orgs","repos_url":"https://api.github.com/users/jithin1987/repos","events_url":"https://api.github.com/users/jithin1987/events{/privacy}","received_events_url":"https://api.github.com/users/jithin1987/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-27T19:25:04Z","updated_at":"2018-04-27T22:15:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f02be5adb7a06fbe5ed73883fc8b536dfabc180","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/179/commits","review_comments_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/179/comments","review_comment_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/screwdriver-cd/guide/issues/179/comments","statuses_url":"https://api.github.com/repos/screwdriver-cd/guide/statuses/35dd3ca39fab6d52513d1e266cda7fa386ce0fd7","head":{"label":"screwdriver-cd:faq","ref":"faq","sha":"35dd3ca39fab6d52513d1e266cda7fa386ce0fd7","user":{"login":"screwdriver-cd","id":19417863,"avatar_url":"https://avatars0.githubusercontent.com/u/19417863?v=4","gravatar_id":"","url":"https://api.github.com/users/screwdriver-cd","html_url":"https://github.com/screwdriver-cd","followers_url":"https://api.github.com/users/screwdriver-cd/followers","following_url":"https://api.github.com/users/screwdriver-cd/following{/other_user}","gists_url":"https://api.github.com/users/screwdriver-cd/gists{/gist_id}","starred_url":"https://api.github.com/users/screwdriver-cd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screwdriver-cd/subscriptions","organizations_url":"https://api.github.com/users/screwdriver-cd/orgs","repos_url":"https://api.github.com/users/screwdriver-cd/repos","events_url":"https://api.github.com/users/screwdriver-cd/events{/privacy}","received_events_url":"https://api.github.com/users/screwdriver-cd/received_events","type":"Organization","site_admin":false},"repo":{"id":61775855,"name":"guide","full_name":"screwdriver-cd/guide","owner":{"login":"screwdriver-cd","id":19417863,"avatar_url":"https://avatars0.githubusercontent.com/u/19417863?v=4","gravatar_id":"","url":"https://api.github.com/users/screwdriver-cd","html_url":"https://github.com/screwdriver-cd","followers_url":"https://api.github.com/users/screwdriver-cd/followers","following_url":"https://api.github.com/users/screwdriver-cd/following{/other_user}","gists_url":"https://api.github.com/users/screwdriver-cd/gists{/gist_id}","starred_url":"https://api.github.com/users/screwdriver-cd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screwdriver-cd/subscriptions","organizations_url":"https://api.github.com/users/screwdriver-cd/orgs","repos_url":"https://api.github.com/users/screwdriver-cd/repos","events_url":"https://api.github.com/users/screwdriver-cd/events{/privacy}","received_events_url":"https://api.github.com/users/screwdriver-cd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/screwdriver-cd/guide","description":"Screwdriver.cd Documentation","fork":false,"url":"https://api.github.com/repos/screwdriver-cd/guide","forks_url":"https://api.github.com/repos/screwdriver-cd/guide/forks","keys_url":"https://api.github.com/repos/screwdriver-cd/guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/screwdriver-cd/guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/screwdriver-cd/guide/teams","hooks_url":"https://api.github.com/repos/screwdriver-cd/guide/hooks","issue_events_url":"https://api.github.com/repos/screwdriver-cd/guide/issues/events{/number}","events_url":"https://api.github.com/repos/screwdriver-cd/guide/events","assignees_url":"https://api.github.com/repos/screwdriver-cd/guide/assignees{/user}","branches_url":"https://api.github.com/repos/screwdriver-cd/guide/branches{/branch}","tags_url":"https://api.github.com/repos/screwdriver-cd/guide/tags","blobs_url":"https://api.github.com/repos/screwdriver-cd/guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/screwdriver-cd/guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/screwdriver-cd/guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/screwdriver-cd/guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/screwdriver-cd/guide/statuses/{sha}","languages_url":"https://api.github.com/repos/screwdriver-cd/guide/languages","stargazers_url":"https://api.github.com/repos/screwdriver-cd/guide/stargazers","contributors_url":"https://api.github.com/repos/screwdriver-cd/guide/contributors","subscribers_url":"https://api.github.com/repos/screwdriver-cd/guide/subscribers","subscription_url":"https://api.github.com/repos/screwdriver-cd/guide/subscription","commits_url":"https://api.github.com/repos/screwdriver-cd/guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/screwdriver-cd/guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/screwdriver-cd/guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/screwdriver-cd/guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/screwdriver-cd/guide/contents/{+path}","compare_url":"https://api.github.com/repos/screwdriver-cd/guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/screwdriver-cd/guide/merges","archive_url":"https://api.github.com/repos/screwdriver-cd/guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/screwdriver-cd/guide/downloads","issues_url":"https://api.github.com/repos/screwdriver-cd/guide/issues{/number}","pulls_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls{/number}","milestones_url":"https://api.github.com/repos/screwdriver-cd/guide/milestones{/number}","notifications_url":"https://api.github.com/repos/screwdriver-cd/guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/screwdriver-cd/guide/labels{/name}","releases_url":"https://api.github.com/repos/screwdriver-cd/guide/releases{/id}","deployments_url":"https://api.github.com/repos/screwdriver-cd/guide/deployments","created_at":"2016-06-23T05:18:23Z","updated_at":"2018-04-27T19:31:44Z","pushed_at":"2018-04-27T21:56:06Z","git_url":"git://github.com/screwdriver-cd/guide.git","ssh_url":"git@github.com:screwdriver-cd/guide.git","clone_url":"https://github.com/screwdriver-cd/guide.git","svn_url":"https://github.com/screwdriver-cd/guide","homepage":"http://docs.screwdriver.cd","size":8951,"stargazers_count":77,"watchers_count":77,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":33,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":33,"open_issues":3,"watchers":77,"default_branch":"master"}},"base":{"label":"screwdriver-cd:master","ref":"master","sha":"ec0ccb1b3bf10a5d3d096a9b31f3e3638a4c6886","user":{"login":"screwdriver-cd","id":19417863,"avatar_url":"https://avatars0.githubusercontent.com/u/19417863?v=4","gravatar_id":"","url":"https://api.github.com/users/screwdriver-cd","html_url":"https://github.com/screwdriver-cd","followers_url":"https://api.github.com/users/screwdriver-cd/followers","following_url":"https://api.github.com/users/screwdriver-cd/following{/other_user}","gists_url":"https://api.github.com/users/screwdriver-cd/gists{/gist_id}","starred_url":"https://api.github.com/users/screwdriver-cd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screwdriver-cd/subscriptions","organizations_url":"https://api.github.com/users/screwdriver-cd/orgs","repos_url":"https://api.github.com/users/screwdriver-cd/repos","events_url":"https://api.github.com/users/screwdriver-cd/events{/privacy}","received_events_url":"https://api.github.com/users/screwdriver-cd/received_events","type":"Organization","site_admin":false},"repo":{"id":61775855,"name":"guide","full_name":"screwdriver-cd/guide","owner":{"login":"screwdriver-cd","id":19417863,"avatar_url":"https://avatars0.githubusercontent.com/u/19417863?v=4","gravatar_id":"","url":"https://api.github.com/users/screwdriver-cd","html_url":"https://github.com/screwdriver-cd","followers_url":"https://api.github.com/users/screwdriver-cd/followers","following_url":"https://api.github.com/users/screwdriver-cd/following{/other_user}","gists_url":"https://api.github.com/users/screwdriver-cd/gists{/gist_id}","starred_url":"https://api.github.com/users/screwdriver-cd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/screwdriver-cd/subscriptions","organizations_url":"https://api.github.com/users/screwdriver-cd/orgs","repos_url":"https://api.github.com/users/screwdriver-cd/repos","events_url":"https://api.github.com/users/screwdriver-cd/events{/privacy}","received_events_url":"https://api.github.com/users/screwdriver-cd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/screwdriver-cd/guide","description":"Screwdriver.cd Documentation","fork":false,"url":"https://api.github.com/repos/screwdriver-cd/guide","forks_url":"https://api.github.com/repos/screwdriver-cd/guide/forks","keys_url":"https://api.github.com/repos/screwdriver-cd/guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/screwdriver-cd/guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/screwdriver-cd/guide/teams","hooks_url":"https://api.github.com/repos/screwdriver-cd/guide/hooks","issue_events_url":"https://api.github.com/repos/screwdriver-cd/guide/issues/events{/number}","events_url":"https://api.github.com/repos/screwdriver-cd/guide/events","assignees_url":"https://api.github.com/repos/screwdriver-cd/guide/assignees{/user}","branches_url":"https://api.github.com/repos/screwdriver-cd/guide/branches{/branch}","tags_url":"https://api.github.com/repos/screwdriver-cd/guide/tags","blobs_url":"https://api.github.com/repos/screwdriver-cd/guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/screwdriver-cd/guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/screwdriver-cd/guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/screwdriver-cd/guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/screwdriver-cd/guide/statuses/{sha}","languages_url":"https://api.github.com/repos/screwdriver-cd/guide/languages","stargazers_url":"https://api.github.com/repos/screwdriver-cd/guide/stargazers","contributors_url":"https://api.github.com/repos/screwdriver-cd/guide/contributors","subscribers_url":"https://api.github.com/repos/screwdriver-cd/guide/subscribers","subscription_url":"https://api.github.com/repos/screwdriver-cd/guide/subscription","commits_url":"https://api.github.com/repos/screwdriver-cd/guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/screwdriver-cd/guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/screwdriver-cd/guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/screwdriver-cd/guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/screwdriver-cd/guide/contents/{+path}","compare_url":"https://api.github.com/repos/screwdriver-cd/guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/screwdriver-cd/guide/merges","archive_url":"https://api.github.com/repos/screwdriver-cd/guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/screwdriver-cd/guide/downloads","issues_url":"https://api.github.com/repos/screwdriver-cd/guide/issues{/number}","pulls_url":"https://api.github.com/repos/screwdriver-cd/guide/pulls{/number}","milestones_url":"https://api.github.com/repos/screwdriver-cd/guide/milestones{/number}","notifications_url":"https://api.github.com/repos/screwdriver-cd/guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/screwdriver-cd/guide/labels{/name}","releases_url":"https://api.github.com/repos/screwdriver-cd/guide/releases{/id}","deployments_url":"https://api.github.com/repos/screwdriver-cd/guide/deployments","created_at":"2016-06-23T05:18:23Z","updated_at":"2018-04-27T19:31:44Z","pushed_at":"2018-04-27T21:56:06Z","git_url":"git://github.com/screwdriver-cd/guide.git","ssh_url":"git@github.com:screwdriver-cd/guide.git","clone_url":"https://github.com/screwdriver-cd/guide.git","svn_url":"https://github.com/screwdriver-cd/guide","homepage":"http://docs.screwdriver.cd","size":8951,"stargazers_count":77,"watchers_count":77,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":33,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":33,"open_issues":3,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/179"},"html":{"href":"https://github.com/screwdriver-cd/guide/pull/179"},"issue":{"href":"https://api.github.com/repos/screwdriver-cd/guide/issues/179"},"comments":{"href":"https://api.github.com/repos/screwdriver-cd/guide/issues/179/comments"},"review_comments":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/179/comments"},"review_comment":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/screwdriver-cd/guide/pulls/179/commits"},"statuses":{"href":"https://api.github.com/repos/screwdriver-cd/guide/statuses/35dd3ca39fab6d52513d1e266cda7fa386ce0fd7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"tkyi"}}