Do not run pipeline for main branch
We currently run a full CI pipeline after every (merge) commit to the main
branch. I propose to stop doing that. It takes a lot of cpu resources, and a full Stackspin instance (16 G memory). It adds very little unique testing, because:
- Code that is merged to main has already been tested on its own branch.
- For anything missed by that (because not all jobs run in MR pipelines, depending on which files changed): we still run a nightly full pipeline of
main
.
Also, these pipelines fail or are cancelled regularly because they are superseded by a later commit before they finish.