diff --git a/.github/workflows/code_checks.yml b/.github/workflows/code_checks.yml index 63424fe3..e5c5dfa5 100755 --- a/.github/workflows/code_checks.yml +++ b/.github/workflows/code_checks.yml @@ -21,7 +21,7 @@ jobs: run: | echo "🔍 Checking for incorrect absolute '/php/' URLs (should be 'php/' or './php/')..." - MATCHES=$(grep -rE "['"]\/php\/" --include=\*.{js,php,html} ./front | grep -E "\.get|\.post|\.ajax|fetch|url\s*:") || true + MATCHES=$(grep -rE "[\"']/\/php\/" --include=*.{js,php,html} ./front | grep -E "\.get|\.post|\.ajax|fetch|url\s*:") || true if [ -n "$MATCHES" ]; then echo "$MATCHES" @@ -95,4 +95,4 @@ jobs: run: | echo "🐳 Running Docker-based tests..." chmod +x ./run_docker_tests.sh - ./run_docker_tests.sh \ No newline at end of file + ./run_docker_tests.sh