You want a nightly build at 02:15 UTC and also on pushes that touch 'services/**' only. Which 'on:' configuration matches?
Select an answer to reveal the explanation.
Short Explanation and Infographic
schedule uses a list of cron entries (minute hour day month weekday). Combine with push.paths so path filters apply to push events only.
Full explanation below image
Full Explanation
Multiple event triggers are listed under 'on:'. schedule expects an array of mappings with 'cron:' strings in standard five-field UTC cron. push.paths limits which file changes start a push-triggered run; it does not affect the schedule trigger. paths-ignore would do the opposite of the requirement. Top-level 'cron:' without schedule is invalid. workflow_run is for depending on another workflow's completion, not for cron. Note: scheduled workflows run on the default branch's workflow file version.