How to avoid triggering a pipeline on tag action?

I have a pipeline triggered on any commit to master branch on a gitlab repo.
Is there a way to avoid its triggering just on a tag action (tag creation, deletion, etc)?

Hello Enrico and welcome to the Codefresh community.

The simplest way would be to edit the Webhook in GitLab and uncheck the Tag Push events.