* ci: run the basePath build proof nightly (#19620)
tests/unit/build-basepath-brand.test.ts needs a second full next build, so
it stays out of PR CI. nightly-basepath-build.yml runs it once a day with
RUN_BUILD_TESTS=1 against the highest release branch, on the hosted runner
with webpack, and opens or updates a tracking issue when it fails.
nightly-basepath-build-workflow.test.ts pins that wiring, and the workflow
joins the scheduled-guard list in check-workflows.test.ts.
Refs #19620
* ci: pick only exact release/vX.Y.Z branches in the basePath nightly
A suffixed branch such as release/v3.9.0-rc1 matched the old case glob and
sorted above the active release. Refs are filtered by an anchored pattern
before sorting, and manual input must match it too. The test runs the
resolve script against a stub git.
Refs #19620