We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
changed-translation-files
1 parent 6fadff7 commit 96e1d42Copy full SHA for 96e1d42
.github/workflows/integration-tests.yml
@@ -198,10 +198,14 @@ jobs:
198
# sudo rm -rf .phpunit
199
# [ -d .phpunit.bak ] && mv .phpunit.bak .phpunit
200
201
- - uses: marceloprado/has-changed-path@v1.0.1
+ - name: Check for changes in translation files
202
id: changed-translation-files
203
- with:
204
- paths: src/**/Resources/translations/*.xlf
+ run: |
+ if git diff --quiet HEAD~1 HEAD -- 'src/**/Resources/translations/*.xlf'; then
205
+ echo "{changed}={true}" >> $GITHUB_OUTPUT
206
+ else
207
+ echo "{changed}={false}" >> $GITHUB_OUTPUT
208
+ fi
209
210
- name: Check Translation Status
211
if: steps.changed-translation-files.outputs.changed == 'true'
0 commit comments