diff --git a/.github/workflows/update-test-rules.yml b/.github/workflows/update-test-rules.yml index 9e67a0863ca..1fa24a4adb3 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' $file || true) + la_count=$(grep -c 'beta.linkanalysis' source/$file || true) if [[ "$la_count" != '0' ]]; then continue fi