This commit is contained in:
x032205
2025-05-31 01:03:03 -04:00
parent 88abdd9529
commit d0547c354a

View File

@@ -27,7 +27,7 @@ jobs:
- name: Scan backend diff for non-RE2 regex
run: |
echo "Scanning added/modified lines in backend/ for raw regex literals..."
grep '^\+' diff.txt | grep -v '^\+\+\+ ' | sed 's/^\+//' > added_lines.txt
grep '^+' diff.txt | grep -v '^+++' | sed 's/^\+//' > added_lines.txt
echo "--- Content of added_lines.txt ---"
cat added_lines.txt
@@ -70,4 +70,4 @@ jobs:
else
# No lines matched the raw_regex_pattern at all.
echo "✅ No raw regex literals found in added/modified backend lines."
fi
fi