@schedule with branch-aware routing: production can run on a tight cron while staging runs daily and feature branches get no schedule at all.
@schedule parameters:
Behavior
- Patterns are matched using
fnmatchglob syntax (e.g.,release/*matchesrelease/v2) - First matching pattern wins (dict insertion order), so place more specific patterns first
- If no pattern matches the deployed branch, no schedule is created
- Cannot be combined with an explicit
@scheduledecorator on the same flow
prj.publish_event():
prj.{project}.{branch}.{event}) from project config, so triggers are automatically scoped to the same branch.