Cloudflare pages: deleting the branch will also trigger a build

In Cloudflare pages, deleting the branch will also trigger a build. It’s obviously a bug.