Skip to content

High performance self-hosted photo and video management solution.

fix: weblate pre-job not running (#16802)

Zack Pollarde0a09f2ea0c0
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: