Don't run code-related jobs when only docs change
In !4191 (comment 1907417118), which is a docs-only change, the pipeline failed due to visual tests failing.
There's no need to run visual tests (or any tests) when a merge request only changes .md
files. We should tweak our CI config to reduce the jobs run in these circumstances.