From e0a09f2ea0c03ca2de1a089393a453d68bd06cfb Mon Sep 17 00:00:00 2001 From: Zack Pollard Date: Tue, 11 Mar 2025 11:10:00 +0000 Subject: [PATCH] fix: weblate pre-job not running (#16802) * chore: add debug step to weblate pre-job * fix: weblate enforce lock missing needs for pre-job --- .github/workflows/weblate-lock.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/weblate-lock.yml b/.github/workflows/weblate-lock.yml index 29a30640bd..4189e51919 100644 --- a/.github/workflows/weblate-lock.yml +++ b/.github/workflows/weblate-lock.yml @@ -18,8 +18,15 @@ jobs: filters: | i18n: - 'i18n/!(en)**\.json' + - name: Debug + run: | + echo "Should run: ${{ steps.found_paths.outputs.i18n == 'true' && github.head_ref != 'chore/translations'}}" + echo "Found i18n paths: ${{ steps.found_paths.outputs.i18n }}" + echo "Head ref: ${{ github.head_ref }}" + enforce-lock: name: Check Weblate Lock + needs: [ pre-job ] runs-on: ubuntu-latest if: ${{ needs.pre-job.outputs.should_run == 'true' }} steps: