How do I poll a child branch on Git in Jenkins without Webhook?

I tried to use “Poll SCM” feature. I couldn’t get it to work right on a child branch. It kept comparing with the main branch and rebuilding.
I can’t use webhooks due to restrictions.

Checking out Revision ac535d3fd2aa54e9101680dea3e9bfa9089bce7f (refs/remotes/origin/develop)
[poll] Last Built Revision: Revision aa5b903e1f63f2fe029b82404e9b2d5988145d79 (origin/main)