The source project of this merge request has been removed.
ci: do not run job when committing po files
I noticed on the project page that CI was triggered on each commit. It runs every time DL commits new translations. This change limits the job
runner triggered from push events to change occurring in source files except po files and docs.
I tested it in my namespace with a change in po/ja.po
which did not trigger anything: https://gitlab.gnome.org/gbernard/damned-lies/-/pipelines/275898
And a change in vertimus/__init__.py
which triggered pipeline: https://gitlab.gnome.org/gbernard/damned-lies/-/pipelines/275901
As you see, the first is ‘blocked’, the other one is ‘cancelled’.