Skip to content

Merge pull request #5593 from WoltLab/fileutil-extensionAllowsPhpExec… #6928

Merge pull request #5593 from WoltLab/fileutil-extensionAllowsPhpExec…

Merge pull request #5593 from WoltLab/fileutil-extensionAllowsPhpExec… #6928

Workflow file for this run

name: Templates
on:
push:
branches:
- "5.2"
- "5.3"
- "5.4"
- "5.5"
- master
pull_request:
jobs:
sync:
name: Check for differing synced templates.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo apt-get install -y jq diffutils
- name: Check for differences
run: |
for template in $(jq -r '.templates[] + ".tpl"' < syncTemplates.json); do
defaultDirectory="$(jq -r '.directories[0]' < syncTemplates.json)"
for directory in $(jq -r '.directories[]' < syncTemplates.json); do
diff -u $defaultDirectory/$template $directory/$template
done
done