We’d like this for the exact same reason as the OP – we have
release_* branches that need nightly runs. Currently, only
trunk gets checked out and run because it is the default branch, but we’d like to see the
release_* branches run as well.
We could do as one author suggested which is check out a branch specifically, but that would require a manual update every time we published a release branch, and we’d like to have something that can dynamically run the schedule job on all branches matching a pattern.
Additionally, this would require duplicating the entire workflow for as many release branches as we wanted to run on leading to a high maintenance cost.