I give up, this is a big hammer but should fix doc only changes MRs from not triggering builds properly. We could technically try only build certain jobs on doc only changes but I couldn't get it to work.
···2121 - ".gitlab-ci/**/*"
2222 when: on_success
2323 # All paths, 1 hours have been wasted trying to combine the above arrays.
2424- - changes: &paths-ci-code-sys-files
2424+ - changes: &paths-all-files
2525 # Code
2626 - "scripts/**/*"
2727 - "src/**/*"
2828+ # Doc
2929+ - "doc/**/*"
2830 # Build sys
2931 - CMakeLists.txt
3032 - "*.cmake"
···3537 - ".gitlab-ci.yml"
3638 - ".gitlab-ci/**/*"
3739 when: on_success
3838-39404041# When to automatically run the CI for build jobs
4142.build-rules:
···4344 # If any files affecting the pipeline are changed, build/test jobs run
4445 # automatically once all dependency jobs have passed
4546 - changes:
4646- *paths-ci-code-sys-files
4747+ *paths-all-files
4748 when: on_success
4849 # Don't build on forked repos.
4950 - if: *is-forked-branch
···6364 # affecting the pipeline were changed
6465 - if: *is-pre-merge
6566 changes:
6666- *paths-ci-code-sys-files
6767+ *paths-all-files
6768 when: on_success
6869 # Allow triggering jobs manually in other cases if any files affecting the
6970 # pipeline were changed: Disabled for now because it causes the pipeline on