GitLab CI: check PO files that we did not import from Transifex yet, only run PO checks when relevant
Goal: spot and report problems there early, instead of letting the RM discover them when it's too late to fix them.
Disclaimer: this is meant to be a temporary workaround. Once we have trusted GitLab CI runners, instead we should have a job that imports these updated PO files, commits, and creates a merge request. Then, developers could merge that merge request as-is if, and only if, it passes the lint-po CI job.
Additionally, only run check-po-msgfmt
and lint-po
when relevant: the latter is very slow.
This MR is based on !242 (merged).
Edited by intrigeri