Automate with API
Test runs are most useful when they gate deployments. The Agents API gives you publish and promote actions you can chain behind a passing test set.
Gate promotions on test results
A typical CI job publishes the current draft to Sandbox, runs the relevant test set, and only promotes to Pre-release if the set passes.
Use the Deployments endpoints to wire this into your CI pipeline.

