From ccb9bfa4d3d5da48daadd11ce18d6dd5066a0993 Mon Sep 17 00:00:00 2001 From: Cameron Dunn <cameron@sublimesecurity.com> Date: Tue, 26 Sep 2023 15:55:53 -0700 Subject: [PATCH] Remove detection_rules/ prefix (#825) --- .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 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