Prevent infinite build loop

I’d like drone to automatically update file on every push to master.
By updating, I mean: edit, git commit, git push.

The problem is that drone enters into an infnite loop because git push triggers another build etc…

Any idea how I could prevent the infinite loop?

When you commit the change, include [CI SKIP] in your commit message which will prevent an infinite build loop. We do something similar in one of our pipeline, which you can see here.

Cool. It works.
Is there a way to prevent drone from running when we change a README file in github?