Update file does not trigger webhook

I have a development requirement to customize the interface of webhook, and some functions need to be written into the gitlab project again through the gitlab API, but this will trigger webhook again. What method can I use to upload files without triggering webhook