Skip to content

data: Even more tablet definitions #592

data: Even more tablet definitions

data: Even more tablet definitions #592

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