I am using this syntax to trigger workflow at the scheduled time only for prod branch.
on:
schedule:
- cron: "11 0 * * SAT"
branches:
- prod
But when I push the code it shows a syntax error:
You have an error in your yaml syntax on line 4
Any inputs? Does the schedule work with "branches" option?