From f1c7311af194ca1ec0872a13bbd0e67e7a2f3346 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 5 Jan 2024 15:15:30 +1000 Subject: [PATCH] github: fix the sysinfo check workflow The path provided by the tj-actions/changed-files is without the original path, so we need to prefix it with the directory we gave to that action. --- .github/workflows/check-for-sysinfo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-for-sysinfo.yml b/.github/workflows/check-for-sysinfo.yml index bdd53566..4a3d741a 100644 --- a/.github/workflows/check-for-sysinfo.yml +++ b/.github/workflows/check-for-sysinfo.yml @@ -20,6 +20,6 @@ jobs: 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) + grep -q "sysinfo" data/$file || (echo "Missing reference to sysinfo.DEADBEEF.gz in $file" && exit 1) fi done