We have just updated to Drone 2.0rc and noticed that some builds are being ignored. The gist of our process is we open a PR to main and the PR build is running just fine. When the PR is merged it should trigger a build with the push to main. However, depending on the commit some builds appear to be ignored.
It appears to be related to a custom tag we put in our commit body that our builds use to bump the semantic version. For example @bump_minor@ or @bump_major@. Specifically it seems to be if any line in the commit message starts with an @ the push to main gets ignored.
these work
just a commit title
build: kick the build
commit title with a body and the tag at the end of the line
build: kick the build
maybe we need more body here? @bump_minor@
these dont
commit title and body is only the bump tag
build: kick the build
@bump_minor@
commit title, multi-line body where tag is at the start of the line
build: kick the build
maybe we need more body here?
@bump_minor@
We saw in the logs that it said webhook ignored after receiving the /hook POST.