From 177d765372166fb08e4c6acf4020d7e5e9261f4e Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 16 Feb 2015 14:58:24 +0100 Subject: [PATCH] Run translation jobs only if translation files change Conditionalize the manual translation jobs on changes to the *.po and *.pot translation files. Change-Id: I2aeb12241557ef9c3dbfc469b412e78fbca6a97a --- zuul/layout.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 726f6e8973..ec117d0998 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -721,6 +721,10 @@ jobs: - name: ^gate-.*-tox-checklang$ branch: master voting: false + # Only run job if at least one po or pot file was changed + files: + - '^.*\.po$' + - '^.*\.pot$' - name: ^gate-.*-tox-checklinks$ branch: master voting: false