{"action":"opened","issue":{"url":"https://api.github.com/repos/buildkite/feedback/issues/517","repository_url":"https://api.github.com/repos/buildkite/feedback","labels_url":"https://api.github.com/repos/buildkite/feedback/issues/517/labels{/name}","comments_url":"https://api.github.com/repos/buildkite/feedback/issues/517/comments","events_url":"https://api.github.com/repos/buildkite/feedback/issues/517/events","html_url":"https://github.com/buildkite/feedback/issues/517","id":500590595,"node_id":"MDU6SXNzdWU1MDA1OTA1OTU=","number":517,"title":"How can I let build agent only run a build step on a PR to master branch?","user":{"login":"zhaoyi0113","id":3355579,"node_id":"MDQ6VXNlcjMzNTU1Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/3355579?v=4","gravatar_id":"","url":"https://api.github.com/users/zhaoyi0113","html_url":"https://github.com/zhaoyi0113","followers_url":"https://api.github.com/users/zhaoyi0113/followers","following_url":"https://api.github.com/users/zhaoyi0113/following{/other_user}","gists_url":"https://api.github.com/users/zhaoyi0113/gists{/gist_id}","starred_url":"https://api.github.com/users/zhaoyi0113/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhaoyi0113/subscriptions","organizations_url":"https://api.github.com/users/zhaoyi0113/orgs","repos_url":"https://api.github.com/users/zhaoyi0113/repos","events_url":"https://api.github.com/users/zhaoyi0113/events{/privacy}","received_events_url":"https://api.github.com/users/zhaoyi0113/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-10-01T00:20:27Z","updated_at":"2019-10-01T00:20:27Z","closed_at":null,"author_association":"NONE","body":"I am using `pipeline.yml` to define all build steps and I want one of the build step to be run only when there is a pull request to master branch. How can I add this filter on pipeline?"}}
{"actor":{"display_login":"zhaoyi0113"}}