From 5a4aea992783c44d5cc45efd95cc8850c8af71fe Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 7 Jul 2024 10:01:41 +0100 Subject: [PATCH] Update import translations workflow Only trigger the workflow if the PR edits the translation YAML files (which should be all PRs from Weblate). --- .github/workflows/import-translations.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/import-translations.yml b/.github/workflows/import-translations.yml index 701974c..61eee62 100644 --- a/.github/workflows/import-translations.yml +++ b/.github/workflows/import-translations.yml @@ -1,6 +1,8 @@ name: Import translations from Weblate -on: [pull_request] +on: + pull_request: + paths: ['translations/*.yaml'] jobs: import: