Duplocate synchronize events sent to github app when accepting " Suggested change"

When I commit a suggested comment e.g.,

then two synchronize events are sent to my github app within a second of each other

The body of each event is exactly the same.

My github app then performs the same action twice, which is not desirable.

Is this a bug with the webhooks? it seems like one

Is there a way to uniquely identify the events other than hashing the content into a “has this been seen befoore” key?