Add `on_commit` trigger to workflows config
D
Dev@ojford.com
Adding a
triggers
section to a workflow disables the default build-on-commit webhook-driven behaviour.This means that to build both new commits, and current commit on a cron schedule, with the same build steps, one must specify the same workflow twice: once with triggers: schedule: ...
and once without.CCI-I-627
R
Redyone Forevah
- workflows: test: jobs: - test: filters: only: foo
U
Ulrich Petri
Indeed this is quite annoying. A workaround is to use yaml anchors but this leads to duplicate job names, which then get
-1
-2
appended.