Skip to content

data: add a new Keys/KeyCodes entry to the tablet files #164

data: add a new Keys/KeyCodes entry to the tablet files

data: add a new Keys/KeyCodes entry to the tablet files #164

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