GithubListener icon indicating copy to clipboard operation
GithubListener copied to clipboard

Filter commits from pull requests

Open akme opened this issue 7 years ago • 2 comments

It would be nice to filter out commits that comes with pull request and leave only notification about merge pull request.

akme avatar Apr 27 '18 00:04 akme

Which field of commit array we can use for this filtering? https://developer.github.com/v3/repos/commits/

ad avatar Apr 27 '18 05:04 ad

Guess we can't.. But merge commit is always last in the group, so we can try to do this: if commit.message contains "Merge pull": fetch parents from commit.url filter new commits by parents

akme avatar Apr 27 '18 06:04 akme