Fix spell checking only on main and the write lint caches job

(cherry picked from commit 4727bb35)

Closes #3631912

Merge request reports

Loading
Loading