Skip to content

test: do not allow empty Layout= lines #570

test: do not allow empty Layout= lines

test: do not allow empty Layout= lines #570

name: "Check for sysinfo in data files"
on: [ pull_request ]
permissions:
contents: read
jobs:
checksysinfo:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: tj-actions/changed-files@v41
id: added-files
with:
path: data
- name: Check for sysinfo in all added files
run: |
for file in ${{ steps.added-files.outputs.added_files }}; do
if [[ "$file" == *.tablet ]]; then
grep -q "sysinfo" data/$file || (echo "Missing reference to sysinfo.DEADBEEF.gz in $file" && exit 1)
fi
done