Adding one more possibility to the mix here: a currently undocumented behavior of our ignore
command is that it won’t run for builds triggered by webhook… but it will run for builds triggered by a push to Github. So if your netlify.toml is:
[build]
ignore = "exit 0"
this will cancel all builds triggered via Github push. But webhook builds will succeed.