diff --git a/.github/workflows/update-test-rules.yml b/.github/workflows/update-test-rules.yml index 7a6507a2537..9e67a0863ca 100644 --- a/.github/workflows/update-test-rules.yml +++ b/.github/workflows/update-test-rules.yml @@ -123,7 +123,7 @@ jobs: # If multiple PRs modify the same file, only one can be tested. This is solveable, but not something we see often. for file in $files_changed; do # Skip any LA rules. We'll ignore these downstream anyway, but best to keep the branch clean. - la_count=$(grep -c 'beta.linkanalysis' detection-rules/$file || true) + la_count=$(grep -c 'beta.linkanalysis' $file || true) if [[ "$la_count" != '0' ]]; then continue fi