From 87ff06de675c957c0a6cbc8cb075423045eee05d Mon Sep 17 00:00:00 2001 From: Cameron Dunn Date: Mon, 2 Oct 2023 09:26:17 -0700 Subject: [PATCH] Prefix file path with source/ (#833) --- .github/workflows/update-test-rules.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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