{"action":"created","issue":{"url":"https://api.github.com/repos/drone/drone-exec/issues/6","labels_url":"https://api.github.com/repos/drone/drone-exec/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/drone/drone-exec/issues/6/comments","events_url":"https://api.github.com/repos/drone/drone-exec/issues/6/events","html_url":"https://github.com/drone/drone-exec/pull/6","id":120526933,"number":6,"title":"allow secret injection in build when PR if Private and Checksum is good","user":{"login":"jgreat","id":5324639,"avatar_url":"https://avatars.githubusercontent.com/u/5324639?v=3","gravatar_id":"","url":"https://api.github.com/users/jgreat","html_url":"https://github.com/jgreat","followers_url":"https://api.github.com/users/jgreat/followers","following_url":"https://api.github.com/users/jgreat/following{/other_user}","gists_url":"https://api.github.com/users/jgreat/gists{/gist_id}","starred_url":"https://api.github.com/users/jgreat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgreat/subscriptions","organizations_url":"https://api.github.com/users/jgreat/orgs","repos_url":"https://api.github.com/users/jgreat/repos","events_url":"https://api.github.com/users/jgreat/events{/privacy}","received_events_url":"https://api.github.com/users/jgreat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-05T03:57:32Z","updated_at":"2015-12-07T02:33:11Z","closed_at":"2015-12-07T02:33:10Z","pull_request":{"url":"https://api.github.com/repos/drone/drone-exec/pulls/6","html_url":"https://github.com/drone/drone-exec/pull/6","diff_url":"https://github.com/drone/drone-exec/pull/6.diff","patch_url":"https://github.com/drone/drone-exec/pull/6.patch"},"body":"This statement in the build doc leads me to believe that you should be able to do secret injection into the build section if a PR is for a private repo. \r\n\r\n\"Secret variables are not injected into to the build section of the .drone.yml if your repository is public and the build is a pull request.\"\r\n\r\nI've set this so that .drone.yml checksum verification is required."},"comment":{"url":"https://api.github.com/repos/drone/drone-exec/issues/comments/162391522","html_url":"https://github.com/drone/drone-exec/pull/6#issuecomment-162391522","issue_url":"https://api.github.com/repos/drone/drone-exec/issues/6","id":162391522,"user":{"login":"jgreat","id":5324639,"avatar_url":"https://avatars.githubusercontent.com/u/5324639?v=3","gravatar_id":"","url":"https://api.github.com/users/jgreat","html_url":"https://github.com/jgreat","followers_url":"https://api.github.com/users/jgreat/followers","following_url":"https://api.github.com/users/jgreat/following{/other_user}","gists_url":"https://api.github.com/users/jgreat/gists{/gist_id}","starred_url":"https://api.github.com/users/jgreat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgreat/subscriptions","organizations_url":"https://api.github.com/users/jgreat/orgs","repos_url":"https://api.github.com/users/jgreat/repos","events_url":"https://api.github.com/users/jgreat/events{/privacy}","received_events_url":"https://api.github.com/users/jgreat/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T02:33:10Z","updated_at":"2015-12-07T02:33:10Z","body":"I'm going to close this PR since it would provide a false sense of security. "}}