Skip to content

data: Add "Wacom One pen tablet" #153

data: Add "Wacom One pen tablet"

data: Add "Wacom One pen tablet" #153

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