jekyll / Utterson

CI benchmarking suite for Jekyll
MIT License
13 stars 8 forks source link

Ignore most events #63

Closed pathawks closed 6 years ago

pathawks commented 6 years ago

We need to subscribe to Pull Request events, because Utterson does not check commits in isolation, but the difference between a head commit and a base commit. Unfortunately, the Pull Request webhook also triggers for many actions that we don't care about, such as adding a label to a PR.

With this change, Utterson will silently ignore any event that is not a PR being created or synchronized (new commits). This will hopefully fix the problem of checking the same commit two or three times in a row.

/cc: @ashmaroli