{"action":"created","issue":{"url":"https://api.github.com/repos/pullapprove/support/issues/14","labels_url":"https://api.github.com/repos/pullapprove/support/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/pullapprove/support/issues/14/comments","events_url":"https://api.github.com/repos/pullapprove/support/issues/14/events","html_url":"https://github.com/pullapprove/support/issues/14","id":124400002,"number":14,"title":"Reset approval status after closing and re-opening PR","user":{"login":"davegaeddert","id":649496,"avatar_url":"https://avatars.githubusercontent.com/u/649496?v=3","gravatar_id":"","url":"https://api.github.com/users/davegaeddert","html_url":"https://github.com/davegaeddert","followers_url":"https://api.github.com/users/davegaeddert/followers","following_url":"https://api.github.com/users/davegaeddert/following{/other_user}","gists_url":"https://api.github.com/users/davegaeddert/gists{/gist_id}","starred_url":"https://api.github.com/users/davegaeddert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davegaeddert/subscriptions","organizations_url":"https://api.github.com/users/davegaeddert/orgs","repos_url":"https://api.github.com/users/davegaeddert/repos","events_url":"https://api.github.com/users/davegaeddert/events{/privacy}","received_events_url":"https://api.github.com/users/davegaeddert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pullapprove/support/labels/idea","name":"idea","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-30T21:07:32Z","updated_at":"2016-01-01T05:10:49Z","closed_at":null,"body":"This would be a setting for .pullapprove.yml. Maybe `reset_on_closed` or `reset_on_reopened`?\r\n\r\n@vaidik thanks for this one!"},"comment":{"url":"https://api.github.com/repos/pullapprove/support/issues/comments/168283235","html_url":"https://github.com/pullapprove/support/issues/14#issuecomment-168283235","issue_url":"https://api.github.com/repos/pullapprove/support/issues/14","id":168283235,"user":{"login":"davegaeddert","id":649496,"avatar_url":"https://avatars.githubusercontent.com/u/649496?v=3","gravatar_id":"","url":"https://api.github.com/users/davegaeddert","html_url":"https://github.com/davegaeddert","followers_url":"https://api.github.com/users/davegaeddert/followers","following_url":"https://api.github.com/users/davegaeddert/following{/other_user}","gists_url":"https://api.github.com/users/davegaeddert/gists{/gist_id}","starred_url":"https://api.github.com/users/davegaeddert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davegaeddert/subscriptions","organizations_url":"https://api.github.com/users/davegaeddert/orgs","repos_url":"https://api.github.com/users/davegaeddert/repos","events_url":"https://api.github.com/users/davegaeddert/events{/privacy}","received_events_url":"https://api.github.com/users/davegaeddert/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T05:10:49Z","updated_at":"2016-01-01T05:10:49Z","body":"Yeah, I hear you on the diff changes. I've actually had issue #2 sitting there for a while, just waiting for the day it was relevant. It seems like it applies to the `reset_on_push` setting as much as anything -- since the push is when the diff may or may not have changed.\r\n\r\nI like the idea of having `reset_on_reopened` as an available option. One scenario for our team in particular is sometimes a PR will get closed and put on hold for a while, but we leave the branch knowing that it may come back in a few weeks. A few weeks later, that code hasn't actually changed but the PR is re-opened and before somebody merges it in we like to look it over one more time and make sure there aren't any un-testable conflicts that would have come up since."}}