Cloudflare workers + auto deployments of staging branches
Using github actions to create the wrangler.toml domain name would let us use the default commit sha or branch name as the subdomain.
Inside the workers-deploy.yml you could build the domain name using the github action vars:
echo "[env.production]\nname=\"${GITHUB_REF}.example.com\"" > ~/.wrangler/config/domain.toml
Untested, I might be missing something here