Skip to content

Drop the superfluous Buttons entry in the tablet files #168

Drop the superfluous Buttons entry in the tablet files

Drop the superfluous Buttons entry in the tablet files #168

name: "Check for sysinfo in data files"
on: [ pull_request ]
jobs:
checksysinfo:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: tj-actions/changed-files@v34
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" $file || (echo "Missing reference to sysinfo.DEADBEEF.gz in $file" && exit 1)
fi
done