Skip to content

Run CD jobs automatically only on mainline branches

I propose to run all CD jobs automatically only on mainline branches. For macOS that's already done. The drawback is that changes in an MR that would cause the CD job to fail (e.g. new dependencies that haven't been added to the Craft blueprint) are only noticed after the MR was merged. I think this drawback is acceptable. The jobs can still be run manually if deemed necessary.

The build artifacts of most CD jobs are only useful if built on mainline branches because there they are signed and published. Running them by default on all branches is a waste of resources of both, CI runner time and developer time when waiting for an MR to be merged.

Merge request reports