Trigger new workflow for branch when the workflow has the "only" stanza

So my basic setup is that I have a workflow that is for building my docker images and push them to ECR.
All of the jobs in the workflow are configured to run only if the branch name if my “production” branch.

I also want to enable to other developers in my company to trigger the workflow from the CLI or some script that I will write that will trigger the workflow for some other branch in order to building the images for this specific branch.
The issue that I think I might face is that triggering the workflow with other branch won’t actually do anything since no job will run because of the only branch filtering.

How would you advise me to processed?