I would like to run a workflow if a push/pull_request events is trigger OR when a schedule event is trigger...
Here my broken (syntax issue) .github/workflows/docker.yml:
name: Docker
on: [push, pull_request]
schedule:
# min hours day(month) month day(week)
- cron: '0 0 */5 * *'
...
Unfortunately this syntax is wrong, here the error:
Invalid workflow file
You have an error in your yaml syntax on line 3