diff --git a/.github/workflows/regression-test.yaml b/.github/workflows/regression-test.yaml index 4f36810338..10cab4f54f 100644 --- a/.github/workflows/regression-test.yaml +++ b/.github/workflows/regression-test.yaml @@ -58,15 +58,5 @@ jobs: - name: Run code formatting check run: | pwd - cd /utils/scripts/actions-pipeline/code-format/ - pwd - chmod +x format_modified.sh - if [ -n "$(git rev-parse --show-toplevel 2>/dev/null)" ]; then - if ! ./format_modified.sh -g -ca; then - echo "Code format check failed. Please fix the formatting issues by running the following script: /utils/scripts/format_modified.sh" - exit 1 - fi - else - echo "Not in a Git repository. Skipping code formatting check." - fi + cd /utils/scripts/