Debian Codegraph @

.github/workflows/check-for-sysinfo.yml

raw symbols SCIP
1 name: "Check for sysinfo in data files"
2
3 on: [ pull_request ]
4
5 permissions:
6 contents: read
7
8 jobs:
9 checksysinfo:
10 runs-on: ubuntu-24.04
11 steps:
12 - uses: actions/checkout@v4
13 with:
14 fetch-depth: 0
15 - uses: tj-actions/changed-files@v46
16 id: added-files
17 with:
18 path: data
19 - name: Check for sysinfo in all added files
20 run: |
21 for file in ${{ steps.added-files.outputs.added_files }}; do
22 if [[ "$file" == *.tablet ]]; then
23 grep -q "sysinfo" data/$file || (echo "Missing reference to sysinfo.DEADBEEF.gz in $file" && exit 1)
24 fi
25 done